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:

committed by
Madan Koyyalamudi

parent
941a26facc
commit
ddee734acb
@@ -363,6 +363,7 @@ static void hdd_ipa_set_wake_up_idle(bool wake_up_idle)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef QCA_CONFIG_SMP
|
||||||
/**
|
/**
|
||||||
* hdd_ipa_send_to_nw_stack() - Check if IPA supports NAPI
|
* hdd_ipa_send_to_nw_stack() - Check if IPA supports NAPI
|
||||||
* polling during RX
|
* polling during RX
|
||||||
@@ -384,6 +385,15 @@ static int hdd_ipa_send_to_nw_stack(qdf_nbuf_t skb)
|
|||||||
result = netif_rx_ni(skb);
|
result = netif_rx_ni(skb);
|
||||||
return result;
|
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
|
#ifdef QCA_CONFIG_SMP
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user