]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
commit1ff8276fb61e2f446c9b435191a306396d195c8d
treefd5c22dbf5f52a5b0549e865c7714d061d620eff
parent2ee083994e12d34f6267c39c85aee1e901fe1314
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 <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