octeon: fix compilation on octeon9 80/41580/1
authorMonendra Singh Kushwaha <[email protected]>
Fri, 13 Sep 2024 10:40:37 +0000 (16:10 +0530)
committerMonendra Singh Kushwaha <[email protected]>
Wed, 18 Sep 2024 09:37:00 +0000 (15:07 +0530)
Type: fix

Signed-off-by: Monendra Singh Kushwaha <[email protected]>
Change-Id: I9ffa78122dcd6b98cad9902e43ba8432fcd572b1

src/plugins/dev_octeon/tx_node.c

index 6d23983..f42f18d 100644 (file)
@@ -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;