Skip to content
Commit e175e381 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Ruiqiang Hao
Browse files

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: default avatarHariprasad Kelam <hkelam@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/115564


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 5755c382
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment