From: Eric Dumazet Date: Wed, 18 Nov 2015 14:30:59 +0000 (-0800) Subject: net: move skb_mark_napi_id() into core networking stack X-Git-Tag: v4.1.12-92~189^2~425 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1ff8276fb61e2f446c9b435191a306396d195c8d;p=users%2Fjedix%2Flinux-maple.git net: move skb_mark_napi_id() into core networking stack We would like to automatically provide busy polling support to all NAPI drivers, without them having to implement anything. skb_mark_napi_id() can be called from napi_gro_receive() and napi_get_frags(). Few drivers are still calling skb_mark_napi_id() because they use netif_receive_skb(). They should eventually call napi_gro_receive() instead. I will leave this to drivers maintainers. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Suresh Reddy Signed-off-by: Suresh Reddy Orabug: 22725582 Signed-off-by: Manjunath Govindashetty --- diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 834fd425317b8..8588debdb7726 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -2184,7 +2184,6 @@ static void be_rx_compl_process_gro(struct be_rx_obj *rxo, skb_set_hash(skb, rxcp->rss_hash, PKT_HASH_TYPE_L3); skb->csum_level = rxcp->tunneled; - skb_mark_napi_id(skb, napi); if (rxcp->vlanf) __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag);