]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Add required FW steering functionality
authorAlex Vesker <valex@mellanox.com>
Tue, 20 Aug 2019 06:41:25 +0000 (09:41 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 3 Sep 2019 19:54:22 +0000 (12:54 -0700)
commit98a40df44345a454935ad4e9fed5e57196ac17ae
treed4545f6d75ccbad989a71962c034dd3f1b180ad8
parente49297b3a5b0c8b85098121ea23997059d3a25af
net/mlx5: DR, Add required FW steering functionality

SW steering is capable of doing many steering functionalities
but there are still some functionalities which are not exposed
to upper layers and therefore performed by the FW.

This is the support for recalculating checksum using a hairpin QP.
The recalculation is required after a modify TTL action which skips
the needed CS calculation in HW.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_fw.c [new file with mode: 0644]