]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Enable DCB ETS ops only when supported by the firmware
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 7 Apr 2013 03:44:07 +0000 (03:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 20:55:46 +0000 (16:55 -0400)
commit72ad416b6792f0aa305590096cb9514a467a63ef
tree4e3bbd87a657d525eca9601b2bae91aabb49b87a
parent2ffc9b9dec95ea1c2a2d17bf7afcd48bfe345050
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>
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
include/linux/mlx4/device.h