New upstream version 17.11-rc3
[deb_dpdk.git] / drivers / net / thunderx / nicvf_struct.h
index 4ee6c3b..0f8208e 100644 (file)
@@ -46,7 +46,7 @@ struct nicvf_rbdr {
        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;
@@ -56,7 +56,7 @@ struct nicvf_rbdr {
 
 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;
@@ -87,7 +87,7 @@ struct nicvf_rxq {
        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;
@@ -100,7 +100,7 @@ struct nicvf_rxq {
        uint16_t queue_id;
        uint16_t precharge_cnt;
        uint8_t rx_drop_en;
-       uint8_t  port_id;
+       uint16_t port_id;
        uint8_t  rbptr_offset;
 } __rte_cache_aligned;