common/mlx5: read checksum capability from DevX
authorTal Shnaiderman <talshn@nvidia.com>
Wed, 21 Apr 2021 16:34:40 +0000 (19:34 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 28 Apr 2021 09:16:46 +0000 (11:16 +0200)
commit11e61a9467b9180e872c63466b884ad7f84d3574
tree51253d8f7367f3c6f24527d781d531055d854088
parent5c12485ad41bd3811905cf43ead44778ed9c1ecf
common/mlx5: read checksum capability from DevX

mlx5 in Windows needs the hca capability csum_cap
to query the NIC for checksum offloading support.

Added the capability as part of the capabilities
queried by the PMD using DevX.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Tested-by: Odi Assli <odia@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h