]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: move skb_mark_napi_id() into core networking stack
authorEric Dumazet <edumazet@google.com>
Wed, 18 Nov 2015 14:30:59 +0000 (06:30 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 15:13:31 +0000 (07:13 -0800)
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Suresh Reddy <suresh.reddy@avagotech.com>
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Orabug: 22725582
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/emulex/benet/be_main.c

index 834fd425317b87a7a612586789b3243a51daa3d9..8588debdb772668fd0bfe0afdf5afa61f6678548 100644 (file)
@@ -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);