aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
diff options
context:
space:
mode:
authorHariprasad Kelam <hkelam@marvell.com>2023-12-08 12:26:09 +0530
committerDavid S. Miller <davem@davemloft.net>2023-12-11 10:06:04 +0000
commitdbda436824ded8ef6a05bb82cd9baa8d42377a49 (patch)
treecc4955f7ac03a94cde380678eb82b282d0deee41 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
parent284f717622417cb267e344a9174f8e5698d1e3c1 (diff)
octeontx2-pf: Fix promisc mcam entry action
Current implementation is such that, promisc mcam entry action is set as multicast even when there are no trusted VFs. multicast action causes the hardware to copy packet data, which reduces the performance. This patch fixes this issue by setting the promisc mcam entry action to unicast instead of multicast when there are no trusted VFs. The same change is made for the 'allmulti' mcam entry action. Fixes: ffd2f89ad05c ("octeontx2-pf: Enable promisc/allmulti match MCAM entries.") Signed-off-by: Hariprasad Kelam <hkelam@marvell.com> Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions