openwrt/target/linux/bmips/files/drivers/net/ethernet
Sieng Piaw Liew 330cbcc09c bmips: 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.

Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
2023-03-04 19:28:16 +01:00
..
broadcom bmips: switch to napi_build_skb() to reuse skbuff_heads 2023-03-04 19:28:16 +01:00