]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Broadcast packet replication support
authorSunil Goutham <sgoutham@marvell.com>
Mon, 22 Oct 2018 17:55:54 +0000 (23:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 03:15:38 +0000 (20:15 -0700)
commit99656924a4189dadafb9fe2746679af0c89cde58
tree93b14617bbde564420f8d247335d0c126650690c
parent360d37c6399e2a146057f1a1ed774a729cc664aa
octeontx2-af: Broadcast packet replication support

Allocate memory for mcast/bcast/mirror replication entry
contexts, replication buffers (used by HW) and config HW
with corresponding memory bases. Added support for installing
MCEs via NIX AQ mbox.

For now support is restricted to broadcast pkt replication,
hence MCE table size and number of replication buffers
allocated are less. Each CGX LMAC mapped RVU PF is assigned
a MCE table of size 'num VFs of that PF + PF'.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c