DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/nfp: fix Vlan offload flags check
@ 2017-01-12 13:04 Olivier Matz
  2017-01-13 11:36 ` Alejandro Lucero
  2017-01-13 12:03 ` Ferruh Yigit
  0 siblings, 2 replies; 9+ messages in thread
From: Olivier Matz @ 2017-01-12 13:04 UTC (permalink / raw)
  To: dev, alejandro.lucero

Fix typo when checking that no Vlan offload flags are passed at port
initialization.

By the way, also fix a typo in the log.

Fixes: d4a27a3b092a ("nfp: add basic features")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
 drivers/net/nfp/nfp_net.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index 65ba09f..ed3c9b8 100644
--- a/drivers/net/nfp/nfp_net.c
+++ b/drivers/net/nfp/nfp_net.c
@@ -2174,8 +2174,8 @@ nfp_net_vlan_offload_set(struct rte_eth_dev *dev, int mask)
 	new_ctrl = 0;
 
 	if ((mask & ETH_VLAN_FILTER_OFFLOAD) ||
-	    (mask & ETH_VLAN_FILTER_OFFLOAD))
-		RTE_LOG(INFO, PMD, "Not support for ETH_VLAN_FILTER_OFFLOAD or"
+	    (mask & ETH_VLAN_FILTER_EXTEND))
+		RTE_LOG(INFO, PMD, "No support for ETH_VLAN_FILTER_OFFLOAD or"
 			" ETH_VLAN_FILTER_EXTEND");
 
 	/* Enable vlan strip if it is not configured yet */
-- 
2.8.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-01-13 15:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 13:04 [dpdk-dev] [PATCH] net/nfp: fix Vlan offload flags check Olivier Matz
2017-01-13 11:36 ` Alejandro Lucero
2017-01-13 12:03 ` Ferruh Yigit
2017-01-13 12:48   ` Olivier Matz
2017-01-13 13:17     ` Ferruh Yigit
2017-01-13 14:48       ` Olivier Matz
2017-01-13 14:57         ` Alejandro Lucero
2017-01-13 15:16           ` [dpdk-dev] [PATCH] net/nfp: fix VLAN " Ferruh Yigit
2017-01-13 15:18             ` 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).