summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHarman Kalra <hkalra@marvell.com>2026-07-02 10:26:16 +0530
committerPaolo Abeni <pabeni@redhat.com>2026-07-09 12:00:04 +0200
commitfabb881df322da25442f98d23f5fa371e3c78ec4 (patch)
tree4e9eb98796be0e9a3e3cb9f272811f926b4c797e /include
parent24c4c88259464d38b35c3fbaecb68675de64137d (diff)
octeontx2-af: fix VF bringup affecting PF promiscuous state
Mbox handling of nix_set_rx_mode for a VF with promiscuous and all_multi flags set to false causes deletion of the PF's promiscuous and allmulti MCAM rules. This occurs because the APIs that enable/disable these rules operate only on the PF, even when the mbox request is made via a VF interface. Guard both rvu_npc_enable_allmulti_entry() and rvu_npc_enable_promisc_entry() disable paths with an is_vf() check so that a VF bringing up or tearing down its interface cannot inadvertently clear the PF's MCAM rules. Fixes: 967db3529eca ("octeontx2-af: add support for multicast/promisc packet replication feature") Signed-off-by: Harman Kalra <hkalra@marvell.com> Signed-off-by: Nitin Shetty J <nshettyj@marvell.com> Link: https://patch.msgid.link/20260702045616.3002773-2-nshettyj@marvell.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions