net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality
[linux-2.6-block.git] / drivers / net / ethernet / mellanox / mlx5 / core / cmd.c
index 2f22cd2de2b09d8c5b4924e72c051f6ed08bb512..75ff58dc1ff5f9d9af725f7e5e3285e338b1be8c 100644 (file)
@@ -75,25 +75,6 @@ enum {
        MLX5_CMD_DELIVERY_STAT_CMD_DESCR_ERR            = 0x10,
 };
 
-enum {
-       MLX5_CMD_STAT_OK                        = 0x0,
-       MLX5_CMD_STAT_INT_ERR                   = 0x1,
-       MLX5_CMD_STAT_BAD_OP_ERR                = 0x2,
-       MLX5_CMD_STAT_BAD_PARAM_ERR             = 0x3,
-       MLX5_CMD_STAT_BAD_SYS_STATE_ERR         = 0x4,
-       MLX5_CMD_STAT_BAD_RES_ERR               = 0x5,
-       MLX5_CMD_STAT_RES_BUSY                  = 0x6,
-       MLX5_CMD_STAT_LIM_ERR                   = 0x8,
-       MLX5_CMD_STAT_BAD_RES_STATE_ERR         = 0x9,
-       MLX5_CMD_STAT_IX_ERR                    = 0xa,
-       MLX5_CMD_STAT_NO_RES_ERR                = 0xf,
-       MLX5_CMD_STAT_BAD_INP_LEN_ERR           = 0x50,
-       MLX5_CMD_STAT_BAD_OUTP_LEN_ERR          = 0x51,
-       MLX5_CMD_STAT_BAD_QP_STATE_ERR          = 0x10,
-       MLX5_CMD_STAT_BAD_PKT_ERR               = 0x30,
-       MLX5_CMD_STAT_BAD_SIZE_OUTS_CQES_ERR    = 0x40,
-};
-
 static struct mlx5_cmd_work_ent *alloc_cmd(struct mlx5_cmd *cmd,
                                           struct mlx5_cmd_msg *in,
                                           struct mlx5_cmd_msg *out,