* [dpdk-dev] [PATCH] net/bnxt: fix vlan spoof configuration
@ 2017-10-31 14:45 Ajit Khaparde
2017-10-31 17:59 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Ajit Khaparde @ 2017-10-31 14:45 UTC (permalink / raw)
To: dev; +Cc: ferruh.yigit
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 <ajit.khaparde@broadcom.com>
---
drivers/net/bnxt/rte_pmd_bnxt.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/bnxt/rte_pmd_bnxt.c b/drivers/net/bnxt/rte_pmd_bnxt.c
index 8b67ad7ff..a31340742 100644
--- a/drivers/net/bnxt/rte_pmd_bnxt.c
+++ b/drivers/net/bnxt/rte_pmd_bnxt.c
@@ -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;
--
2.13.5 (Apple Git-94)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/bnxt: fix vlan spoof configuration
2017-10-31 14:45 [dpdk-dev] [PATCH] net/bnxt: fix vlan spoof configuration Ajit Khaparde
@ 2017-10-31 17:59 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-10-31 17:59 UTC (permalink / raw)
To: Ajit Khaparde, dev
On 10/31/2017 7:45 AM, Ajit Khaparde wrote:
> 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 <ajit.khaparde@broadcom.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-31 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 14:45 [dpdk-dev] [PATCH] net/bnxt: fix vlan spoof configuration Ajit Khaparde
2017-10-31 17:59 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).