net/mlx5: QPTS and QPDPM register firmware command support
[linux-2.6-block.git] / include / linux / mlx5 / driver.h
index ed5be52282eacd3f7f22c2c0f976c90b9d523de8..a886b51511abbf146c4c76309aa313e4bbf77dda 100644 (file)
@@ -107,8 +107,10 @@ enum {
 };
 
 enum {
+       MLX5_REG_QPTS            = 0x4002,
        MLX5_REG_QETCR           = 0x4005,
        MLX5_REG_QTCT            = 0x400a,
+       MLX5_REG_QPDPM           = 0x4013,
        MLX5_REG_QCAM            = 0x4019,
        MLX5_REG_DCBX_PARAM      = 0x4020,
        MLX5_REG_DCBX_APP        = 0x4021,
@@ -142,6 +144,11 @@ enum {
        MLX5_REG_MCAM            = 0x907f,
 };
 
+enum mlx5_qpts_trust_state {
+       MLX5_QPTS_TRUST_PCP  = 1,
+       MLX5_QPTS_TRUST_DSCP = 2,
+};
+
 enum mlx5_dcbx_oper_mode {
        MLX5E_DCBX_PARAM_VER_OPER_HOST  = 0x0,
        MLX5E_DCBX_PARAM_VER_OPER_AUTO  = 0x3,