OSDN Git Service

octeontx2-af: add proper return codes for AF mailbox handlers
authorNaveen Mamindlapalli <naveenm@marvell.com>
Tue, 17 Aug 2021 04:44:44 +0000 (10:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2021 09:06:32 +0000 (10:06 +0100)
commit7278c359e52cbaa0ef819d15d0f2c27de9cc527b
treec1fecc90ef558dccb50bd2dfa9561e6596876c63
parent9cfc580956888fbb3e74944f32a59ef347469be1
octeontx2-af: add proper return codes for AF mailbox handlers

Add appropriate error codes to be used when returning from AF
mailbox handlers due to some error condition.

Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c