]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e015938c2f3c611859f3f327e551a0a7faab5db
treec1fecc90ef558dccb50bd2dfa9561e6596876c63
parentf33596d8d50afb2ef9746752d95a34d5a6595e9d
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