Commit 96b9a68d authored by Ratheesh Kannoth's avatar Ratheesh Kannoth Committed by Paolo Abeni
Browse files

octeontx2-pf: Fix error codes



Some of error codes were wrong. Fix the same.

Fixes: 51afe902 ("octeontx2-pf: NIX TX overwrites SQ_CTX_HW_S[SQ_INT]")
Signed-off-by: default avatarRatheesh Kannoth <rkannoth@marvell.com>
Reviewed-by: default avatarWojciech Drewek <wojciech.drewek@intel.com>
Link: https://lore.kernel.org/r/20231027021953.1819959-1-rkannoth@marvell.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 1726483b
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -318,23 +318,23 @@ enum nix_snd_status_e {
	NIX_SND_STATUS_EXT_ERR = 0x6,
	NIX_SND_STATUS_JUMP_FAULT = 0x7,
	NIX_SND_STATUS_JUMP_POISON = 0x8,
	NIX_SND_STATUS_CRC_ERR = 0x9,
	NIX_SND_STATUS_IMM_ERR = 0x10,
	NIX_SND_STATUS_SG_ERR = 0x11,
	NIX_SND_STATUS_MEM_ERR = 0x12,
	NIX_SND_STATUS_INVALID_SUBDC = 0x13,
	NIX_SND_STATUS_SUBDC_ORDER_ERR = 0x14,
	NIX_SND_STATUS_DATA_FAULT = 0x15,
	NIX_SND_STATUS_DATA_POISON = 0x16,
	NIX_SND_STATUS_NPC_DROP_ACTION = 0x17,
	NIX_SND_STATUS_LOCK_VIOL = 0x18,
	NIX_SND_STATUS_NPC_UCAST_CHAN_ERR = 0x19,
	NIX_SND_STATUS_NPC_MCAST_CHAN_ERR = 0x20,
	NIX_SND_STATUS_NPC_MCAST_ABORT = 0x21,
	NIX_SND_STATUS_NPC_VTAG_PTR_ERR = 0x22,
	NIX_SND_STATUS_NPC_VTAG_SIZE_ERR = 0x23,
	NIX_SND_STATUS_SEND_MEM_FAULT = 0x24,
	NIX_SND_STATUS_SEND_STATS_ERR = 0x25,
	NIX_SND_STATUS_CRC_ERR = 0x10,
	NIX_SND_STATUS_IMM_ERR = 0x11,
	NIX_SND_STATUS_SG_ERR = 0x12,
	NIX_SND_STATUS_MEM_ERR = 0x13,
	NIX_SND_STATUS_INVALID_SUBDC = 0x14,
	NIX_SND_STATUS_SUBDC_ORDER_ERR = 0x15,
	NIX_SND_STATUS_DATA_FAULT = 0x16,
	NIX_SND_STATUS_DATA_POISON = 0x17,
	NIX_SND_STATUS_NPC_DROP_ACTION = 0x20,
	NIX_SND_STATUS_LOCK_VIOL = 0x21,
	NIX_SND_STATUS_NPC_UCAST_CHAN_ERR = 0x22,
	NIX_SND_STATUS_NPC_MCAST_CHAN_ERR = 0x23,
	NIX_SND_STATUS_NPC_MCAST_ABORT = 0x24,
	NIX_SND_STATUS_NPC_VTAG_PTR_ERR = 0x25,
	NIX_SND_STATUS_NPC_VTAG_SIZE_ERR = 0x26,
	NIX_SND_STATUS_SEND_MEM_FAULT = 0x27,
	NIX_SND_STATUS_SEND_STATS_ERR = 0x28,
	NIX_SND_STATUS_MAX,
};