diff options
author | Eric Dumazet <edumazet@google.com> | 2015-11-18 14:30:59 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-18 21:17:41 (GMT) |
commit | 93f93a4404159ecf7e9148f5ad0718ec702ac4cb (patch) | |
tree | 870897137213237587fb35c3f238d9d06e164de3 /drivers/net/ethernet/sfc/rx.c | |
parent | 868fdb06063d92f4373be4974d1b651a32bb9442 (diff) | |
download | linux-93f93a4404159ecf7e9148f5ad0718ec702ac4cb.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/sfc/rx.c')
-rw-r--r-- | drivers/net/ethernet/sfc/rx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/rx.c b/drivers/net/ethernet/sfc/rx.c index 809ea461..8956995 100644 --- a/drivers/net/ethernet/sfc/rx.c +++ b/drivers/net/ethernet/sfc/rx.c @@ -463,7 +463,6 @@ efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, skb_record_rx_queue(skb, channel->rx_queue.core_index); - skb_mark_napi_id(skb, &channel->napi_str); gro_result = napi_gro_frags(napi); if (gro_result != GRO_DROP) channel->irq_mod_score += 2; |