net/mlx5: Set ODP capabilities for DC transport to max
authorMichael Guralnik <michaelgur@mellanox.com>
Mon, 19 Aug 2019 12:08:13 +0000 (15:08 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Wed, 28 Aug 2019 07:04:51 +0000 (10:04 +0300)
commit00679b631eddaa0aa0ceba719fcb1f60c65da5a3
treefec513a0107068a3ac4f143bf2f7de00bf77aef9
parentbb487d29ce005416ed355dea213bbc39c03dabe7
net/mlx5: Set ODP capabilities for DC transport to max

In mlx5_core initialization, query max ODP capabilities for DC transport
from FW and set as current capabilities.

Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/mlx5_ifc.h