qcacld-3.0: Fix tcp drop for out of order

When NAPI enabled for Non-SMP platform, the 32th pkt is
send to tcp stack by netif_receive_skb, the first 31 pkts
are still in backlog queue, out of order issue will happen

Change-Id: Ieef5250fef9fcabb86e0e65673529c7db89a96c1
CRs-Fixed: 2997452
This commit is contained in:
chunquan
2021-08-09 14:36:05 +08:00
committed by Madan Koyyalamudi
parent 941a26facc
commit ddee734acb

View File

@@ -363,6 +363,7 @@ static void hdd_ipa_set_wake_up_idle(bool wake_up_idle)
}
#endif
#ifdef QCA_CONFIG_SMP
/**
* hdd_ipa_send_to_nw_stack() - Check if IPA supports NAPI
* polling during RX
@@ -384,6 +385,15 @@ static int hdd_ipa_send_to_nw_stack(qdf_nbuf_t skb)
result = netif_rx_ni(skb);
return result;
}
#else
static int hdd_ipa_send_to_nw_stack(qdf_nbuf_t skb)
{
int result;
result = netif_rx_ni(skb);
return result;
}
#endif
#ifdef QCA_CONFIG_SMP