Skip to content
Commit d87c59f2 authored by Sieng-Piaw Liew's avatar Sieng-Piaw Liew Committed by David S. Miller
Browse files

net: atl1c: switch to napi_consume_skb()



Switch to napi_consume_skb() to take advantage of bulk free, and skb
reuse through skb cache in conjunction with napi_build_skb().

When parameter 'budget' = 0, indicating non-NAPI context,
dev_consume_skb_any() is called internally.

Signed-off-by: default avatarSieng-Piaw Liew <liew.s.piaw@gmail.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b49a9485
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment