]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Modify install flow error codes
authorSubbaraya Sundeep <sbhatta@marvell.com>
Tue, 17 Aug 2021 04:44:43 +0000 (10:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2021 09:06:32 +0000 (10:06 +0100)
commitb2b1e8238b5e0bc24fd2712adfda1fee1405604e
treeeeeed08c282bcb9b9d13369dc336eed4711b9612
parentbf2b431c23f44aa16d302e6f60105d6451de79eb
octeontx2-af: Modify install flow error codes

When installing a flow using npc_install_flow
mailbox there are number of reasons to reject
the request like caller is not permitted,
invalid channel specified in request, flow
not supported in extraction profile and so on.
Hence define new error codes for npc flows and use
them instead of generic error codes.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@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_npc_fs.c