]> 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>
Fri, 8 Jul 2016 02:28:33 +0000 (19:28 -0700)
commit8d68e4de3e81e4051eb406629b91982cf3126a24
tree6917c1a7a2c916fd2b536a27cd13679f740ac1c4
parent357d86b8b76cd9c3e86a91c84ad2fdc479fc9491
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>
Orabug: 23718192
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c