net/mlx5: support keeping CRC on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Tue, 12 Oct 2021 12:45:53 +0000 (15:45 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Tue, 12 Oct 2021 13:29:39 +0000 (15:29 +0200)
commitc8834a3663b7ff3269a1b4e6a2772999dd485760
treef124c391f93e88e66da706409df9829b38fa3741
parent58a95badbd138950300f1fc2614cc83c255fc444
net/mlx5: support keeping CRC on Windows

Support of the keep-CRC offloading by checking
the relevant FW capability (scatter_fcs) for NIC support.

Supported offload:

DEV_RX_OFFLOAD_KEEP_CRC

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Tested-by: Idan Hackmon <idanhac@nvidia.com>
doc/guides/rel_notes/release_21_11.rst
drivers/net/mlx5/windows/mlx5_os.c