net/mlx5: query tunneling support on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Tue, 12 Oct 2021 12:45:47 +0000 (15:45 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Tue, 12 Oct 2021 13:29:36 +0000 (15:29 +0200)
commit6a86ee2e6de11dfa2204978e33876951a9d53080
tree04a03440337b045d740472d649d53ceaa639e5b9
parentcf9b3c1bbc9340c6ede10bd85521f89e6acf7310
net/mlx5: query tunneling support on Windows

Query tunneling supported on the NIC.

Save the offloads values in a config parameter.
This is needed for the following TSO support:

DEV_TX_OFFLOAD_VXLAN_TNL_TSO
DEV_TX_OFFLOAD_GRE_TNL_TSO
DEV_TX_OFFLOAD_GENEVE_TNL_TSO

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