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)
commit63be91c89dd435fa5e88e7bae5390bfea5d54743
treec6b0f8b69aa998733b1f14bfff0baacae720a64d
parenta958dd59f9cef9fa7b38258a559a162a09b3ae00
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