net/mlx5e: Add qos capability check
authorHuy Nguyen <huyn@mellanox.com>
Sun, 27 Nov 2016 15:02:03 +0000 (17:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 20:09:34 +0000 (15:09 -0500)
commit80653f73c53de8f5874e03d0d3bdd1943c2a33cf
tree59c1c580923f47d20e23b6633e7a1c8256957262
parent4490001029012539937ff02778fe6180613fa949
net/mlx5e: Add qos capability check

Make sure firmware supports qos before exposing the DCB API.

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c