net/bnxt: fix vlan spoof configuration
PATCH 1/1 net/bnxt: fix vlan spoof configuration
We are not programming the vlan_spoof setting currently owing to an unnecessary check. This patch fixes that.
Fixes 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof")
Signed-off-by Ajit Khaparde <[email protected]>
--- drivers/net/bnxt/rte_pmd_bnxt.c | 3 --- 1 file changed, 3 deletions(-)
drivers/net/bnxt/rte_pmd_bnxt.c +0 -3
@@ -322,9 +322,6 @@ int rte_pmd_bnxt_set_vf_vlan_anti_spoof(uint16_t port, uint16_t vf, uint8_t on)if (vf >= dev_info.max_vfs)return -EINVAL ; -if (on == bp->pf.vf_info[vf].vlan_spoof_en) -return 0 ; - rc =bnxt_hwrm_func_cfg_vf_set_vlan_anti_spoof (bp, vf, on);if (!rc) { bp->pf.vf_info[vf].vlan_spoof_en = on;
Signature · 1 line
2.13.5 (Apple Git-94)
Ferruh Yigit
AppliedQuoted 6 lines · Ajit Khaparde
We are not programming the
vlan_spoofsetting currently owing to an unnecessary check. This patch fixes that.Fixes 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof")Signed-off-by Ajit Khaparde <[email protected]>
Applied to dpdk-next-net/master, thanks.