Merge branch 'enetc-unlock-xdp_redirect-for-xdp-non-linear-buffers'
authorJakub Kicinski <kuba@kernel.org>
Fri, 6 Jan 2023 05:38:33 +0000 (21:38 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Jan 2023 05:38:33 +0000 (21:38 -0800)
commitafd50da912865732c28afebd3ff075558694a55c
treecc44f4e48cf1c4a8bf90250a19fc8f184420ae66
parent4aea86b4033f92f01547e6d4388d4451ae9b0980
parentc7030d14c78e634b94616a08f4961d767f645834
Merge branch 'enetc-unlock-xdp_redirect-for-xdp-non-linear-buffers'

Lorenzo Bianconi says:

====================
enetc: unlock XDP_REDIRECT for XDP non-linear buffers

Unlock XDP_REDIRECT for S/G XDP buffer and rely on XDP stack to properly
take care of the frames.
Rely on XDP_FLAGS_HAS_FRAGS flag to check if it really necessary to access
non-linear part of the xdp_buff/xdp_frame.
====================

Link: https://lore.kernel.org/r/cover.1672840490.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>