]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Alloc and config NPC MCAM entry at a time
authorSunil Goutham <sgoutham@marvell.com>
Mon, 19 Nov 2018 10:47:31 +0000 (16:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:56:08 +0000 (17:56 -0800)
commite16f8b63419e51f508ec48bbad39ca28c54537db
treec6b0f8b69aa998733b1f14bfff0baacae720a64d
parentedc518a52b2092f172e014506f6bfd1711c5c502
octeontx2-af: Alloc and config NPC MCAM entry at a time

A new mailbox message is added to support allocating a MCAM entry
along with a counter and configuring it in one go. This reduces
the amount of mailbox communication involved in installing a new
MCAM rule.

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.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c