diff options
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2022-06-23 12:49:28 +0800 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2023-03-04 19:28:16 +0100 |
commit | 330cbcc09c4d142279b958e6d0e4b764dacd686c (patch) | |
tree | d2415c27d450451687ba181b940a08fcb9a918eb /tools/quilt | |
parent | a332b8cc9cb1536684d1a33291bb9db6b22cff99 (diff) | |
download | upstream-330cbcc09c4d142279b958e6d0e4b764dacd686c.tar.gz upstream-330cbcc09c4d142279b958e6d0e4b764dacd686c.tar.bz2 upstream-330cbcc09c4d142279b958e6d0e4b764dacd686c.zip |
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>
Diffstat (limited to 'tools/quilt')
0 files changed, 0 insertions, 0 deletions