summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/port.h
diff options
context:
space:
mode:
authorHuy Nguyen2016-11-27 16:02:06 +0100
committerDavid S. Miller2016-11-28 21:09:35 +0100
commit341c5ee2fb78420ffc441df36f93226be8069b0a (patch)
treec029ed20d44eb928b785aaf128681193bfd0d5ad /include/linux/mlx5/port.h
parentnet/mlx5e: Read ETS settings directly from firmware (diff)
downloadkernel-qcow2-linux-341c5ee2fb78420ffc441df36f93226be8069b0a.tar.gz
kernel-qcow2-linux-341c5ee2fb78420ffc441df36f93226be8069b0a.tar.xz
kernel-qcow2-linux-341c5ee2fb78420ffc441df36f93226be8069b0a.zip
net/mlx5: Add DCBX firmware commands support
Add set/query commands for DCBX_PARAM register Signed-off-by: Huy Nguyen <huyn@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/port.h b/include/linux/mlx5/port.h
index bdee439f8cf3..e527732fb31b 100644
--- a/include/linux/mlx5/port.h
+++ b/include/linux/mlx5/port.h
@@ -162,4 +162,6 @@ void mlx5_query_port_fcs(struct mlx5_core_dev *mdev, bool *supported,
int mlx5_query_module_eeprom(struct mlx5_core_dev *dev,
u16 offset, u16 size, u8 *data);
+int mlx5_query_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *out);
+int mlx5_set_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *in);
#endif /* __MLX5_PORT_H__ */