diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2023-06-08 19:42:33 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-10 10:11:49 +0300 |
commit | f1363154c47468725611f264fc2e50833800dc3b (patch) | |
tree | 2e5dbb87c63886a595c8f42544322c8b9340812c /drivers/net/ethernet/sfc/ef100_sriov.h | |
parent | 69819d3bc4086dd5a268600d1cbd65c39eda1672 (diff) | |
download | linux-f1363154c47468725611f264fc2e50833800dc3b.tar.xz |
sfc: MAE functions to create/update/delete encap headers
Besides the raw header data, also pass the tunnel type, so that the
hardware knows it needs to update the IP Total Length and UDP Length
fields (and corresponding checksums) for each packet.
Also, populate the ENCAP_HEADER_ID field in efx_mae_alloc_action_set()
with the fw_id returned from efx_mae_allocate_encap_md().
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef100_sriov.h')
0 files changed, 0 insertions, 0 deletions