git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice/base: update flag bits
[dpdk.git]
/
drivers
/
common
/
cpt
/
cpt_hw_types.h
diff --git
a/drivers/common/cpt/cpt_hw_types.h
b/drivers/common/cpt/cpt_hw_types.h
index
cff59c7
..
4c2893b
100644
(file)
--- a/
drivers/common/cpt/cpt_hw_types.h
+++ b/
drivers/common/cpt/cpt_hw_types.h
@@
-30,10
+30,17
@@
typedef union {
uint64_t u64;
struct {
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;
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;
} s;
} vq_cmd_word0_t;