aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-04-08 16:34:28 +0200
committerDamjan Marion <dmarion@me.com>2021-04-13 12:37:31 +0000
commitca1812dbe714fc8e4de13f88df2d3b830d95a2c9 (patch)
treee68e2942ebebecc3f4e240f0c123bf71d6f204ab /src/plugins/avf/avf.h
parent7a016e87e473d28f87d4c0998d0682ead8642cf9 (diff)
avf: avoid ring wrap in the tx path
Type: improvement Change-Id: I91ecf0bff2ddd43ab5cf0f03ed2882882154557b Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r--src/plugins/avf/avf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 6538ff9e41d..f7ea407c698 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -149,7 +149,7 @@ typedef volatile struct
STATIC_ASSERT_SIZEOF (avf_rx_desc_t, 32);
-typedef volatile struct
+typedef struct
{
union
{
@@ -188,6 +188,9 @@ typedef struct
u32 *bufs;
u16 n_enqueued;
u16 *rs_slots;
+
+ avf_tx_desc_t *tmp_descs;
+ u32 *tmp_bufs;
} avf_txq_t;
typedef struct