]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
octeontx2-af: Do not fixup all VF action entries
authorSubbaraya Sundeep <sbhatta@marvell.com>
Fri, 21 Jan 2022 06:34:39 +0000 (12:04 +0530)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 3 Feb 2022 09:28:52 +0000 (10:28 +0100)
commit484d810e709ea755ef972c9837e27cbaa225cbd3
tree4d3374982c8937ffe1f022f579df8946f0650fed
parentb8c113fe74320d73c3ac0b97598044dcde317d73
octeontx2-af: Do not fixup all VF action entries

BugLink: https://bugs.launchpad.net/bugs/1959879
[ Upstream commit d225c449ab2be25273a3674f476c6c0b57c50254 ]

AF modifies all the rules destined for VF to use
the action same as default RSS action. This fixup
was needed because AF only installs default rules with
RSS action. But the action in rules installed by a PF
for its VFs should not be changed by this fixup.
This is because action can be drop or direct to
queue as specified by user(ntuple filters).
This patch fixes that problem.

Fixes: 967db3529eca ("octeontx2-af: add support for multicast/promisc packet")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c