diff options
| author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2025-09-25 18:00:09 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-26 13:51:45 -0700 |
| commit | 30c3055f9c0d84a67b8fd723bdec9b1b52b3c695 (patch) | |
| tree | 86e6ae35da4fc0f86f5b55b1e45751f654c19b61 /rust/helpers/helpers.c | |
| parent | 6b9c129c2f93df545248e26434720928f249ff2e (diff) | |
xsk: wrap generic metadata handling onto separate function
xsk_build_skb() has gone wild with its size and one of the things we can
do about it is to pull out a branch that takes care of metadata handling
and make it a separate function.
While at it, let us add metadata SW support for devices supporting
IFF_TX_SKB_NO_LINEAR flag, that happen to have separate logic for
building skb in xsk's generic xmit path.
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250925160009.2474816-4-maciej.fijalkowski@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
