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)
commitc47ff7baff6eff031cd23b8fb3256724025bc55a
treed4545f6d75ccbad989a71962c034dd3f1b180ad8
parent41d07074154c67a587b12d2b8a8cec3707e51eb7
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]