]> 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)
commitf33596d8d50afb2ef9746752d95a34d5a6595e9d
treeeeeed08c282bcb9b9d13369dc336eed4711b9612
parenta8276e87aa4e36bf7b95aa3b0a1df3af12ea73b5
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