net/ice/base: update flag bits
[dpdk.git] / drivers / common / cpt / cpt_hw_types.h
index cff59c7..4c2893b 100644 (file)
 typedef union {
        uint64_t u64;
        struct {
+#if RTE_BYTE_ORDER == RTE_BIG_ENDIAN
                uint16_t opcode;
                uint16_t param1;
                uint16_t param2;
                uint16_t dlen;
+#else
+               uint16_t dlen;
+               uint16_t param2;
+               uint16_t param1;
+               uint16_t opcode;
+#endif
        } s;
 } vq_cmd_word0_t;