summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMonendra Singh Kushwaha <kmonendra@marvell.com>2024-09-13 16:10:37 +0530
committerMonendra Singh Kushwaha <kmonendra@marvell.com>2024-09-18 15:07:00 +0530
commit0950830ee9fff7ce62145cab64ed76605487e647 (patch)
treed40874f1027992792800346832798cca84bad4c2 /src/plugins
parent70d2a08e7efa0ecb255f2174e6a57b6511016059 (diff)
octeon: fix compilation on octeon9
Type: fix Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com> Change-Id: I9ffa78122dcd6b98cad9902e43ba8432fcd572b1
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dev_octeon/tx_node.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/dev_octeon/tx_node.c b/src/plugins/dev_octeon/tx_node.c
index 6d239836a20..f42f18d989b 100644
--- a/src/plugins/dev_octeon/tx_node.c
+++ b/src/plugins/dev_octeon/tx_node.c
@@ -300,7 +300,8 @@ oct_tx_enq16 (vlib_main_t *vm, oct_tx_ctx_t *ctx, vnet_dev_tx_queue_t *txq,
{
u8 dwords_per_line[16], *dpl = dwords_per_line;
u64 __attribute__ ((unused)) lmt_arg, ioaddr, n_lines;
- u32 n_left, or_flags_16 = 0, n = 0;
+ u32 __attribute__ ((unused)) or_flags_16 = 0;
+ u32 n_left, n = 0;
const u32 not_simple_flags =
VLIB_BUFFER_NEXT_PRESENT | VNET_BUFFER_F_OFFLOAD;
lmt_line_t *l = ctx->lmt_lines;