net/hinic: fail initialization for not supported device
[dpdk.git] / drivers / net / hinic / base / hinic_pmd_cmd.h
index 55d4292..09918a7 100644 (file)
@@ -5,10 +5,7 @@
 #ifndef _HINIC_PORT_CMD_H_
 #define _HINIC_PORT_CMD_H_
 
-enum hinic_eq_type {
-       HINIC_AEQ,
-       HINIC_CEQ
-};
+#define HINIC_AEQ      0
 
 enum hinic_resp_aeq_num {
        HINIC_AEQ0 = 0,
@@ -85,6 +82,8 @@ enum hinic_port_cmd {
        HINIC_PORT_CMD_GET_JUMBO_FRAME_SIZE     = 0x4a,
        HINIC_PORT_CMD_SET_JUMBO_FRAME_SIZE,
 
+       HINIC_PORT_CMD_GET_MGMT_VERSION         = 0x58,
+
        HINIC_PORT_CMD_GET_PORT_TYPE            = 0x5b,
 
        HINIC_PORT_CMD_GET_VPORT_ENABLE         = 0x5c,
@@ -116,6 +115,12 @@ enum hinic_port_cmd {
 
        HINIC_PORT_CMD_GET_PORT_INFO            = 0xaa,
 
+       HINIC_PORT_CMD_UP_TC_ADD_FLOW           = 0xaf,
+       HINIC_PORT_CMD_UP_TC_DEL_FLOW           = 0xb0,
+       HINIC_PORT_CMD_UP_TC_GET_FLOW           = 0xb1,
+       HINIC_PORT_CMD_UP_TC_FLUSH_TCAM         = 0xb2,
+       HINIC_PORT_CMD_UP_TC_CTRL_TCAM_BLOCK    = 0xb3,
+
        HINIC_PORT_CMD_SET_IPSU_MAC             = 0xcb,
        HINIC_PORT_CMD_GET_IPSU_MAC             = 0xcc,