octeontx2-pf: Fix promisc mcam entry action
commit 39d1146c84c1c7433056a3e0ed17ece7ac92d1f2 from git@git.assembla.com:cavium/WindRiver.linux.git 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: 967db352 ("octeontx2-af: add support for multicast/promisc packet replication feature") Change-Id: I241b8d70613dcd5bfa2dc7c4dce363820af744df Signed-off-by:Hariprasad Kelam <hkelam@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/115564 Tested-by:
sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by:
Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
parent
3044afb4
Please register or sign in to comment