X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fcpt%2Fcpt_hw_types.h;h=a1f969eb149349f5f0c5d07ee0031686e4b9868b;hb=aa6dc1017cd3fa7b722ca877558e871f82eb1f02;hp=e2b127de41f1f693cd387d98b06372ac0e0a92f1;hpb=17ac2a72191b6d6cb47fa066737879ee1a267110;p=dpdk.git diff --git a/drivers/common/cpt/cpt_hw_types.h b/drivers/common/cpt/cpt_hw_types.h index e2b127de41..a1f969eb14 100644 --- a/drivers/common/cpt/cpt_hw_types.h +++ b/drivers/common/cpt/cpt_hw_types.h @@ -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;