Ver Fonte

dataipa: Added logic to handle APPS_LAN_COAL_CONS packet w/o EOT

Modified the condition to handle IPA_CLIENT_APPS_LAN_COAL_CONS packets
without the EOT flag. By adding this condition we handled the condition
where coalescing is enabled and a fragment packet is being processed.

Change-Id: I0c6c5866c894da8eefb09d78278da3271b840c3d
Abhishek Raghuvanshi há 2 anos atrás
pai
commit
3e8f443925
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

+ 2 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

@@ -5099,7 +5099,8 @@ static struct sk_buff *handle_skb_completion(
 
 	/* Check added for handling LAN consumer packet without EOT flag */
 	if (notify->evt_id == GSI_CHAN_EVT_EOT ||
-		sys->ep->client == IPA_CLIENT_APPS_LAN_CONS) {
+		sys->ep->client == IPA_CLIENT_APPS_LAN_CONS ||
+		sys->ep->client == IPA_CLIENT_APPS_LAN_COAL_CONS) {
 		/* go over the list backward to save computations on updating length */
 		list_for_each_entry_safe_reverse(rx_pkt, tmp, head, link) {
 			rx_skb = rx_pkt->data.skb;