OpenCloudOS-Kernel/drivers/net/ethernet/atheros
Sieng-Piaw Liew 67d7ebdeb2 net: ag71xx: switch to napi_build_skb() to reuse skbuff_heads
napi_build_skb() reuses NAPI skbuff_head cache in order to save some
cycles on freeing/allocating skbuff_heads on every new Rx or completed
Tx.
Use napi_consume_skb() to feed the cache with skbuff_heads of completed
Tx, so it's never empty. The budget parameter is added to indicate NAPI
context, as a value of zero can be passed in the case of netpoll.

Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-08 14:23:25 +01:00
..
alx alx: acquire mutex for alx_reinit in alx_change_mtu 2022-03-11 22:53:14 -08:00
atl1c net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
atl1e net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
atlx net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
Kconfig net: selftest: fix build issue if INET is disabled 2021-04-28 14:06:45 -07:00
Makefile net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
ag71xx.c net: ag71xx: switch to napi_build_skb() to reuse skbuff_heads 2022-07-08 14:23:25 +01:00