diff options
author | Larysa Zaremba <larysa.zaremba@intel.com> | 2023-12-05 22:08:30 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-13 16:16:40 -0800 |
commit | 9244384e811ecff6b05290ccf82a2540feaa7214 (patch) | |
tree | baa3ce0d56b0ae07d928355314516c7a81d86698 /drivers/net/ethernet/intel/ice/ice_txrx.c | |
parent | 733763285acfe8dffd6e39ad2ed3d1222b32a901 (diff) |
ice: make RX hash reading code more reusable
Previously, we only needed RX hash in skb path,
hence all related code was written with skb in mind.
But with the addition of XDP hints via kfuncs to the ice driver,
the same logic will be needed in .xmo_() callbacks.
Separate generic process of reading RX hash from a descriptor
into a separate function.
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com>
Link: https://lore.kernel.org/r/20231205210847.28460-2-larysa.zaremba@intel.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_txrx.c')
0 files changed, 0 insertions, 0 deletions