aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSieng Piaw Liew <liew.s.piaw@gmail.com>2022-06-23 11:49:23 +0800
committerÁlvaro Fernández Rojas <noltari@gmail.com>2023-03-04 19:28:16 +0100
commita332b8cc9cb1536684d1a33291bb9db6b22cff99 (patch)
tree0e38f6c40e1c0591ec8995318c4e8f64b045a259 /tools
parent71ef4ec47c18ad98122c6259843dc3d9b009be08 (diff)
downloadupstream-a332b8cc9cb1536684d1a33291bb9db6b22cff99.tar.gz
upstream-a332b8cc9cb1536684d1a33291bb9db6b22cff99.tar.bz2
upstream-a332b8cc9cb1536684d1a33291bb9db6b22cff99.zip
bmips: check NAPI context when refilling rx SKB
Check if we're in NAPI context when refilling rx. Normally we're almost always running in NAPI context. Dispatch to napi_alloc_frag() directly instead of relying on netdev_alloc_frag() which does the same but with the overhead of local_bh_disable/enable. Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com> [improve code format] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions