net/mlx4_en: Add DCB PFC support through CEE netlink commands
This patch adds support for reading and updating priority flow control (PFC) attributes in the driver via netlink. Signed-off-by: Rana Shahout <ranas@mellanox.com> Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
51dca8a1cf
commit
af7d518526
@@ -292,6 +292,7 @@ static int _mlx4_dev_port(struct mlx4_dev *dev, int port,
|
||||
dev->caps.pkey_table_len[port] = port_cap->max_pkeys;
|
||||
dev->caps.port_width_cap[port] = port_cap->max_port_width;
|
||||
dev->caps.eth_mtu_cap[port] = port_cap->eth_mtu;
|
||||
dev->caps.max_tc_eth = port_cap->max_tc_eth;
|
||||
dev->caps.def_mac[port] = port_cap->def_mac;
|
||||
dev->caps.supported_type[port] = port_cap->supported_port_types;
|
||||
dev->caps.suggested_type[port] = port_cap->suggested_type;
|
||||
|
Reference in New Issue
Block a user