octeontx2-pf: Check for DMAC extraction support before setting DMAC based hardware filter for a VF
commit bb9af399891833acb69817fda336309326dd71f3 from git@git.assembla.com:cavium/WindRiver.linux.git As of today, while setting a MAC address of a PF's VF (e.g. ip link set <pf-netdev> vf 0 mac <mac-address>), it blindly tries to install a DMAC based hardware filter. But it is possible that the hardware parser profile does not support DMAC extraction. This patch fixes the same and tries to add the DMAC filter only if hardware parsing profile supports DMAC extraction. Fixes: f0c2982a ("octeontx2-pf: Add support for SR-IOV management functions") Signed-off-by:Suman Ghosh <sumang@marvell.com> Change-Id: I174c110ecee7dbe054c2651553b99925d3888c03 Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/123288 Tested-by:
sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Tested-by:
sa_ip-toolkits-Jenkins <sa_ip-toolkits-jenkins@marvell.com> Reviewed-by:
Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Loading
Please register or sign in to comment