diff options
| author | Rana Shahout <ranas@mellanox.com> | 2016-06-21 05:43:59 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-23 15:18:50 -0400 |
| commit | af7d5185263133f859dd4f35d45594deef9db854 (patch) | |
| tree | 4edcdca6cdf632e01097d13e72646b116ee375b9 /include/linux/mlx4 | |
| parent | 51dca8a1cfd917e1b53b118ddd3fbe5eb1b6a9a8 (diff) | |
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>
Diffstat (limited to 'include/linux/mlx4')
| -rw-r--r-- | include/linux/mlx4/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 80dec87a94f8..4dbc1450bbe0 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
| @@ -535,6 +535,7 @@ struct mlx4_caps { | |||
| 535 | int max_rq_desc_sz; | 535 | int max_rq_desc_sz; |
| 536 | int max_qp_init_rdma; | 536 | int max_qp_init_rdma; |
| 537 | int max_qp_dest_rdma; | 537 | int max_qp_dest_rdma; |
| 538 | int max_tc_eth; | ||
| 538 | u32 *qp0_qkey; | 539 | u32 *qp0_qkey; |
| 539 | u32 *qp0_proxy; | 540 | u32 *qp0_proxy; |
| 540 | u32 *qp1_proxy; | 541 | u32 *qp1_proxy; |
| @@ -1494,6 +1495,7 @@ int mlx4_mr_rereg_mem_write(struct mlx4_dev *dev, struct mlx4_mr *mr, | |||
| 1494 | 1495 | ||
| 1495 | int mlx4_get_module_info(struct mlx4_dev *dev, u8 port, | 1496 | int mlx4_get_module_info(struct mlx4_dev *dev, u8 port, |
| 1496 | u16 offset, u16 size, u8 *data); | 1497 | u16 offset, u16 size, u8 *data); |
| 1498 | int mlx4_max_tc(struct mlx4_dev *dev); | ||
| 1497 | 1499 | ||
| 1498 | /* Returns true if running in low memory profile (kdump kernel) */ | 1500 | /* Returns true if running in low memory profile (kdump kernel) */ |
| 1499 | static inline bool mlx4_low_memory_profile(void) | 1501 | static inline bool mlx4_low_memory_profile(void) |
