]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit540b3a39eea0056d305f17dda47eb185c4d56ddc
tree4e3bbd87a657d525eca9601b2bae91aabb49b87a
parent4d531aa8ab44983561857098592f860c8b3f5ec4
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