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
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
index baf3c7b..8099838 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
@@ -5099,7 +5099,8 @@
/* 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;