common/sfc_efx/base: support custom EvQ to IRQ mapping
[dpdk.git] / drivers / common / cpt / cpt_hw_types.h
index e2b127d..a1f969e 100644 (file)
@@ -31,7 +31,10 @@ typedef union {
        uint64_t u64;
        struct {
 #if RTE_BYTE_ORDER == RTE_BIG_ENDIAN
-               uint16_t opcode;
+               struct {
+                       uint8_t minor;
+                       uint8_t major;
+               } opcode;
                uint16_t param1;
                uint16_t param2;
                uint16_t dlen;
@@ -39,7 +42,10 @@ typedef union {
                uint16_t dlen;
                uint16_t param2;
                uint16_t param1;
-               uint16_t opcode;
+               struct {
+                       uint8_t major;
+                       uint8_t minor;
+               } opcode;
 #endif
        } s;
 } vq_cmd_word0_t;