summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/port.h
diff options
context:
space:
mode:
authorTariq Toukan2016-02-22 17:17:28 +0100
committerDavid S. Miller2016-02-24 19:50:21 +0100
commitd8880795dabf2381ed1e98348f6d9c7ea6fab950 (patch)
tree4c4608577de189c3a2ee99f1024e3b6c443b3598 /include/linux/mlx5/port.h
parentnet/mlx5e: Support DCBNL IEEE PFC (diff)
downloadkernel-qcow2-linux-d8880795dabf2381ed1e98348f6d9c7ea6fab950.tar.gz
kernel-qcow2-linux-d8880795dabf2381ed1e98348f6d9c7ea6fab950.tar.xz
kernel-qcow2-linux-d8880795dabf2381ed1e98348f6d9c7ea6fab950.zip
net/mlx5e: Implement DCBNL IEEE max rate
Add support for DCBNL IEEE get/set max rate. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/port.h')
-rw-r--r--include/linux/mlx5/port.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mlx5/port.h b/include/linux/mlx5/port.h
index 0c67e699d017..595c7b2d9bfa 100644
--- a/include/linux/mlx5/port.h
+++ b/include/linux/mlx5/port.h
@@ -75,5 +75,11 @@ int mlx5_max_tc(struct mlx5_core_dev *mdev);
int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc);
int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group);
int mlx5_set_port_tc_bw_alloc(struct mlx5_core_dev *mdev, u8 *tc_bw);
+int mlx5_modify_port_ets_rate_limit(struct mlx5_core_dev *mdev,
+ u8 *max_bw_value,
+ u8 *max_bw_unit);
+int mlx5_query_port_ets_rate_limit(struct mlx5_core_dev *mdev,
+ u8 *max_bw_value,
+ u8 *max_bw_unit);
#endif /* __MLX5_PORT_H__ */