aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
diff options
context:
space:
mode:
authorSieng Piaw Liew <liew.s.piaw@gmail.com>2022-06-15 12:17:24 +0800
committerChristian Marangi <ansuelsmth@gmail.com>2022-07-04 17:14:39 +0200
commit265f402fbdd8444835b43954bf27a83bc9369b91 (patch)
tree11b25b6dab349ff7f6236690f73ea0459a16cd54 /package/network/utils
parent6d423ffbd17f5b00432f8f7a9fc7ea18d437d902 (diff)
downloadupstream-265f402fbdd8444835b43954bf27a83bc9369b91.tar.gz
upstream-265f402fbdd8444835b43954bf27a83bc9369b91.tar.bz2
upstream-265f402fbdd8444835b43954bf27a83bc9369b91.zip
ath79: ag71xx: reuse skbuff_head with napi skb api
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> [ fixed commit title ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'package/network/utils')
0 files changed, 0 insertions, 0 deletions