summaryrefslogtreecommitdiffstats
path: root/src/plugins/dev_iavf/iavf.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-11-06 00:05:57 +0000
committerDave Wallace <dwallacelf@gmail.com>2023-11-09 19:56:35 +0000
commit67f03ba71dd050c41c3b98896e9a2446c2e8c48c (patch)
tree2588019b5e3214481e9619a594f76a12f5f96ad0 /src/plugins/dev_iavf/iavf.h
parent14bfd3d8b81f91caacd572ad426638e5375d2eb3 (diff)
iavf: interrupt mode support
Type: improvement Change-Id: Ie5fcaa706ab0995e0021cf1ee74b95c5a3b30283 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dev_iavf/iavf.h')
-rw-r--r--src/plugins/dev_iavf/iavf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/dev_iavf/iavf.h b/src/plugins/dev_iavf/iavf.h
index 958a8dcf808..47e86e14f43 100644
--- a/src/plugins/dev_iavf/iavf.h
+++ b/src/plugins/dev_iavf/iavf.h
@@ -32,7 +32,6 @@ typedef struct
u16 atq_next_slot;
u16 arq_next_slot;
virtchnl_pf_event_t *events;
-
} iavf_device_t;
typedef struct
@@ -47,12 +46,14 @@ typedef struct
u8 admin_up : 1;
u8 flow_offload : 1;
iavf_flow_lookup_entry_t *flow_lookup_entries;
+ u64 intr_mode_per_rxq_bitmap;
u32 vf_cap_flags;
u16 vsi_id;
u16 rss_key_size;
u16 rss_lut_size;
u16 num_qp;
u16 max_vectors;
+ u16 n_rx_vectors;
} iavf_port_t;
typedef struct
@@ -151,7 +152,7 @@ iavf_reg_read (iavf_device_t *ad, u32 addr)
static inline void
iavf_reg_flush (iavf_device_t *ad)
{
- iavf_reg_read (ad, VFGEN_RSTAT);
+ iavf_reg_read (ad, IAVF_VFGEN_RSTAT);
asm volatile("" ::: "memory");
}