diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2013-04-07 03:44:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-07 16:55:46 -0400 |
commit | 540b3a39eea0056d305f17dda47eb185c4d56ddc (patch) | |
tree | 4e3bbd87a657d525eca9601b2bae91aabb49b87a /drivers/net/ethernet/mellanox/mlx4/fw.c | |
parent | 4d531aa8ab44983561857098592f860c8b3f5ec4 (diff) | |
download | lwn-540b3a39eea0056d305f17dda47eb185c4d56ddc.tar.gz lwn-540b3a39eea0056d305f17dda47eb185c4d56ddc.zip |
net/mlx4_en: Enable DCB ETS ops only when supported by the firmware
Enable the DCB ETS ops only when supported by the firmware. For older firmware/cards
which don't support ETS, advertize only PFC DCB ops.
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/fw.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/fw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/fw.c b/drivers/net/ethernet/mellanox/mlx4/fw.c index 876439748cdf..ab470d991ade 100644 --- a/drivers/net/ethernet/mellanox/mlx4/fw.c +++ b/drivers/net/ethernet/mellanox/mlx4/fw.c @@ -109,6 +109,7 @@ static void dump_dev_cap_flags(struct mlx4_dev *dev, u64 flags) [41] = "Unicast VEP steering support", [42] = "Multicast VEP steering support", [48] = "Counters support", + [53] = "Port ETS Scheduler support", [55] = "Port link type sensing support", [59] = "Port management change event support", [61] = "64 byte EQE support", |