OSDN Git Service

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)
commit9cfc580956888fbb3e74944f32a59ef347469be1
treeeeeed08c282bcb9b9d13369dc336eed4711b9612
parent354e1f9d8863d6ef8138a7c61cc169598e17c5d1
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