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
raw/ioat: support limiting queues for idxd PCI device
[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
e2b127d
..
a1f969e
100644
(file)
--- 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
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;
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 dlen;
uint16_t param2;
uint16_t param1;
- uint16_t opcode;
+ struct {
+ uint8_t major;
+ uint8_t minor;
+ } opcode;
#endif
} s;
} vq_cmd_word0_t;
#endif
} s;
} vq_cmd_word0_t;