]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net/mlx5e: Check for qos capability in dcbnl_initialize
authorHuy Nguyen <huyn@mellanox.com>
Thu, 13 Jul 2017 18:45:11 +0000 (13:45 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 30 Aug 2017 18:20:42 +0000 (21:20 +0300)
commit33c52b6718d2a6cb414440c98560818910d896dc
tree460979e6104120a046515b4c06147ceffdccb214
parent183db481279437590f75a8a0479d512e5dd597de
net/mlx5e: Check for qos capability in dcbnl_initialize

qos capability is the master capability bit that determines
if the DCBX is supported for the PCI function. If this bit is off,
driver cannot run any dcbx code.

Fixes: e207b7e99176 ("net/mlx5e: ConnectX-4 firmware support for DCBX")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c