Skip to content

Commit 96b9a68

Browse files
rkannoth1Paolo Abeni
authored andcommitted
octeontx2-pf: Fix error codes
Some of error codes were wrong. Fix the same. Fixes: 51afe90 ("octeontx2-pf: NIX TX overwrites SQ_CTX_HW_S[SQ_INT]") Signed-off-by: Ratheesh Kannoth <[email protected]> Reviewed-by: Wojciech Drewek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
1 parent 1726483 commit 96b9a68

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

drivers/net/ethernet/marvell/octeontx2/nic/otx2_struct.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -318,23 +318,23 @@ enum nix_snd_status_e {
318318
NIX_SND_STATUS_EXT_ERR = 0x6,
319319
NIX_SND_STATUS_JUMP_FAULT = 0x7,
320320
NIX_SND_STATUS_JUMP_POISON = 0x8,
321-
NIX_SND_STATUS_CRC_ERR = 0x9,
322-
NIX_SND_STATUS_IMM_ERR = 0x10,
323-
NIX_SND_STATUS_SG_ERR = 0x11,
324-
NIX_SND_STATUS_MEM_ERR = 0x12,
325-
NIX_SND_STATUS_INVALID_SUBDC = 0x13,
326-
NIX_SND_STATUS_SUBDC_ORDER_ERR = 0x14,
327-
NIX_SND_STATUS_DATA_FAULT = 0x15,
328-
NIX_SND_STATUS_DATA_POISON = 0x16,
329-
NIX_SND_STATUS_NPC_DROP_ACTION = 0x17,
330-
NIX_SND_STATUS_LOCK_VIOL = 0x18,
331-
NIX_SND_STATUS_NPC_UCAST_CHAN_ERR = 0x19,
332-
NIX_SND_STATUS_NPC_MCAST_CHAN_ERR = 0x20,
333-
NIX_SND_STATUS_NPC_MCAST_ABORT = 0x21,
334-
NIX_SND_STATUS_NPC_VTAG_PTR_ERR = 0x22,
335-
NIX_SND_STATUS_NPC_VTAG_SIZE_ERR = 0x23,
336-
NIX_SND_STATUS_SEND_MEM_FAULT = 0x24,
337-
NIX_SND_STATUS_SEND_STATS_ERR = 0x25,
321+
NIX_SND_STATUS_CRC_ERR = 0x10,
322+
NIX_SND_STATUS_IMM_ERR = 0x11,
323+
NIX_SND_STATUS_SG_ERR = 0x12,
324+
NIX_SND_STATUS_MEM_ERR = 0x13,
325+
NIX_SND_STATUS_INVALID_SUBDC = 0x14,
326+
NIX_SND_STATUS_SUBDC_ORDER_ERR = 0x15,
327+
NIX_SND_STATUS_DATA_FAULT = 0x16,
328+
NIX_SND_STATUS_DATA_POISON = 0x17,
329+
NIX_SND_STATUS_NPC_DROP_ACTION = 0x20,
330+
NIX_SND_STATUS_LOCK_VIOL = 0x21,
331+
NIX_SND_STATUS_NPC_UCAST_CHAN_ERR = 0x22,
332+
NIX_SND_STATUS_NPC_MCAST_CHAN_ERR = 0x23,
333+
NIX_SND_STATUS_NPC_MCAST_ABORT = 0x24,
334+
NIX_SND_STATUS_NPC_VTAG_PTR_ERR = 0x25,
335+
NIX_SND_STATUS_NPC_VTAG_SIZE_ERR = 0x26,
336+
NIX_SND_STATUS_SEND_MEM_FAULT = 0x27,
337+
NIX_SND_STATUS_SEND_STATS_ERR = 0x28,
338338
NIX_SND_STATUS_MAX,
339339
};
340340

0 commit comments

Comments
 (0)