
Starting Kernel 4.19 IPA LAN RX supports NAPI polling mechanism. Netdevs that hook into IPA need to call netif_receive_skb() or similar to deliver the packet to network stack instead of using netif_rx_ni(). IPA driver exports ipa_get_lan_rx_napi(void) API for this purpose. If this API call returns true use netif_receive_skb() or fallback on legacy api. Add the changes under a feature flag IPA_LAN_RX_NAPI_SUPPORT which is enabled under a linux kernel version check for 4.19 and above. Change-Id: I449404e86e934fd6113cb71e494575e67602f678 CRs-Fixed: 2588500
18 KiB
18 KiB