]> www.infradead.org Git - users/hch/misc.git/commit
eth: mlx4: don't try to complete XDP frames in netpoll
authorJakub Kicinski <kuba@kernel.org>
Thu, 13 Feb 2025 01:06:33 +0000 (17:06 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 18 Feb 2025 23:32:20 +0000 (15:32 -0800)
commit8fdeafd66edaf420ea0063a1f13442fe3470fe70
tree913501df5a8ac69842ec8a9cb277440189649c7d
parent8533b14b3d65ee666ba31254787c1bdaee56d95a
eth: mlx4: don't try to complete XDP frames in netpoll

mlx4 doesn't support ndo_xdp_xmit / XDP_REDIRECT and wasn't
using page pool until now, so it could run XDP completions
in netpoll (NAPI budget == 0) just fine. Page pool has calling
context requirements, make sure we don't try to call it from
what is potentially HW IRQ context.

Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250213010635.1354034-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx4/en_tx.c