diff options
| author | Sieng 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 |
| commit | a332b8cc9cb1536684d1a33291bb9db6b22cff99 (patch) | |
| tree | 0e38f6c40e1c0591ec8995318c4e8f64b045a259 /package/kernel | |
| parent | 71ef4ec47c18ad98122c6259843dc3d9b009be08 (diff) | |
| download | upstream-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 'package/kernel')
0 files changed, 0 insertions, 0 deletions
