Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 17.11-rc3
[deb_dpdk.git]
/
drivers
/
net
/
thunderx
/
nicvf_struct.h
diff --git
a/drivers/net/thunderx/nicvf_struct.h
b/drivers/net/thunderx/nicvf_struct.h
index
4ee6c3b
..
0f8208e
100644
(file)
--- a/
drivers/net/thunderx/nicvf_struct.h
+++ b/
drivers/net/thunderx/nicvf_struct.h
@@
-46,7
+46,7
@@
struct nicvf_rbdr {
uintptr_t rbdr_status;
uintptr_t rbdr_door;
struct rbdr_entry_t *desc;
uintptr_t rbdr_status;
uintptr_t rbdr_door;
struct rbdr_entry_t *desc;
- nicvf_
phys
_addr_t phys;
+ nicvf_
iova
_addr_t phys;
uint32_t buffsz;
uint32_t tail;
uint32_t next_tail;
uint32_t buffsz;
uint32_t tail;
uint32_t next_tail;
@@
-56,7
+56,7
@@
struct nicvf_rbdr {
struct nicvf_txq {
union sq_entry_t *desc;
struct nicvf_txq {
union sq_entry_t *desc;
- nicvf_
phys
_addr_t phys;
+ nicvf_
iova
_addr_t phys;
struct rte_mbuf **txbuffs;
uintptr_t sq_head;
uintptr_t sq_door;
struct rte_mbuf **txbuffs;
uintptr_t sq_head;
uintptr_t sq_door;
@@
-87,7
+87,7
@@
struct nicvf_rxq {
uintptr_t cq_status;
uintptr_t cq_door;
union mbuf_initializer mbuf_initializer;
uintptr_t cq_status;
uintptr_t cq_door;
union mbuf_initializer mbuf_initializer;
- nicvf_
phys
_addr_t phys;
+ nicvf_
iova
_addr_t phys;
union cq_entry_t *desc;
struct nicvf_rbdr *shared_rbdr;
struct nicvf *nic;
union cq_entry_t *desc;
struct nicvf_rbdr *shared_rbdr;
struct nicvf *nic;
@@
-100,7
+100,7
@@
struct nicvf_rxq {
uint16_t queue_id;
uint16_t precharge_cnt;
uint8_t rx_drop_en;
uint16_t queue_id;
uint16_t precharge_cnt;
uint8_t rx_drop_en;
- uint
8_t
port_id;
+ uint
16_t
port_id;
uint8_t rbptr_offset;
} __rte_cache_aligned;
uint8_t rbptr_offset;
} __rte_cache_aligned;