diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2020-09-30 21:38:27 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-30 15:07:19 -0700 |
commit | e154b5b70368a84a19505a0be9b0096c66562b56 (patch) | |
tree | a6534c59ef190552520d5f86f32045fd3ec0bd19 /lib/mpi/mpiutil.c | |
parent | 03e7e72ceddaa643795bb36b7dcdde262eba94b0 (diff) |
octeontx2-af: Fix enable/disable of default NPC entries
Packet replication feature present in Octeontx2
is a hardware linked list of PF and its VF
interfaces so that broadcast packets are sent
to all interfaces present in the list. It is
driver job to add and delete a PF/VF interface
to/from the list when the interface is brought
up and down. This patch fixes the
npc_enadis_default_entries function to handle
broadcast replication properly if packet replication
feature is present.
Fixes: 40df309e4166 ("octeontx2-af: Support to enable/disable default MCAM entries")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions