patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] net/nfp: fix VLAN offload flags check
       [not found] <CAD+H993rSwxCyKQBF=PQdp_SCe-tyx72yprNXYJO=qtTNjk9JA@mail.gmail.com>
@ 2017-01-13 15:16 ` Ferruh Yigit
  2017-01-13 15:18   ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Ferruh Yigit @ 2017-01-13 15:16 UTC (permalink / raw)
  To: dev; +Cc: stable, Alejandro Lucero, Ferruh Yigit, Olivier Matz

From: Olivier Matz <olivier.matz@6wind.com>

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>
Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com>
---
 drivers/net/nfp/nfp_net.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index 31e72e2..ab2d331 100644
--- a/drivers/net/nfp/nfp_net.c
+++ b/drivers/net/nfp/nfp_net.c
@@ -2174,9 +2174,9 @@ 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"
-			" ETH_VLAN_FILTER_EXTEND");
+	    (mask & ETH_VLAN_EXTEND_OFFLOAD))
+		RTE_LOG(INFO, PMD, "No support for ETH_VLAN_FILTER_OFFLOAD or"
+			" ETH_VLAN_EXTEND_OFFLOAD");
 
 	/* Enable vlan strip if it is not configured yet */
 	if ((mask & ETH_VLAN_STRIP_OFFLOAD) &&
-- 
2.9.3

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

* Re: [dpdk-stable] [PATCH] net/nfp: fix VLAN offload flags check
  2017-01-13 15:16 ` [dpdk-stable] [PATCH] net/nfp: fix VLAN offload flags check Ferruh Yigit
@ 2017-01-13 15:18   ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-01-13 15:18 UTC (permalink / raw)
  To: dev; +Cc: stable, Alejandro Lucero, Olivier Matz

On 1/13/2017 3:16 PM, Ferruh Yigit wrote:
> From: Olivier Matz <olivier.matz@6wind.com>
> 
> 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>
> Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com>

Applied to dpdk-next-net/master, thanks.

(I forget about stable tree, that is why need to re-send latest patch)

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAD+H993rSwxCyKQBF=PQdp_SCe-tyx72yprNXYJO=qtTNjk9JA@mail.gmail.com>
2017-01-13 15:16 ` [dpdk-stable] [PATCH] net/nfp: fix VLAN offload flags check 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).