summaryrefslogtreecommitdiff
path: root/fs/splice.c
diff options
context:
space:
mode:
authorWei Fang <wei.fang@nxp.com>2023-07-25 10:41:48 +0300
committerJakub Kicinski <kuba@kernel.org>2023-07-27 07:12:12 +0300
commit15cec633fc7bfe4cd69aa012c3b35b31acfc86f2 (patch)
tree1cc038408e6650e4beb5d5252e60df7051dcc4e8 /fs/splice.c
parent2e3c5df2ee89d01c4dc6c30b4366375d3cf942bd (diff)
downloadlinux-15cec633fc7bfe4cd69aa012c3b35b31acfc86f2.tar.xz
net: fec: tx processing does not call XDP APIs if budget is 0
According to the clarification [1] in the latest napi.rst, the tx processing cannot call any XDP (or page pool) APIs if the "budget" is 0. Because NAPI is called with the budget of 0 (such as netpoll) indicates we may be in an IRQ context, however, we cannot use the page pool from IRQ context. [1] https://lore.kernel.org/all/20230720161323.2025379-1-kuba@kernel.org/ Fixes: 20f797399035 ("net: fec: recycle pages for transmitted XDP frames") Signed-off-by: Wei Fang <wei.fang@nxp.com> Suggested-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230725074148.2936402-1-wei.fang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions