DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: fix outer VLAN bitmask for input set
@ 2016-09-12  9:27 Beilei Xing
  2016-09-12  9:31 ` Wu, Jingjing
  0 siblings, 1 reply; 2+ messages in thread
From: Beilei Xing @ 2016-09-12  9:27 UTC (permalink / raw)
  To: jingjing.wu; +Cc: dev, Beilei Xing

This patch changes bitmask of outer VLAN tag in L2 header to
support RSS and flow director for QinQ.

Fixes: 4072d503aaa5 ("i40e: fix VLAN bitmasks for input set")

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
 drivers/net/i40e/i40e_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 59ff6dc..be4b530 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -202,7 +202,7 @@
 /* Source MAC address */
 #define I40E_REG_INSET_L2_SMAC                   0x1C00000000000000ULL
 /* Outer (S-Tag) VLAN tag in the outer L2 header */
-#define I40E_REG_INSET_L2_OUTER_VLAN             0x0200000000000000ULL
+#define I40E_REG_INSET_L2_OUTER_VLAN             0x0000000004000000ULL
 /* Inner (C-Tag) or single VLAN tag in the outer L2 header */
 #define I40E_REG_INSET_L2_INNER_VLAN             0x0080000000000000ULL
 /* Single VLAN tag in the inner L2 header */
-- 
2.5.0

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

* Re: [dpdk-dev] [PATCH] net/i40e: fix outer VLAN bitmask for input set
  2016-09-12  9:27 [dpdk-dev] [PATCH] net/i40e: fix outer VLAN bitmask for input set Beilei Xing
@ 2016-09-12  9:31 ` Wu, Jingjing
  0 siblings, 0 replies; 2+ messages in thread
From: Wu, Jingjing @ 2016-09-12  9:31 UTC (permalink / raw)
  To: Xing, Beilei; +Cc: dev



> -----Original Message-----
> From: Xing, Beilei
> Sent: Monday, September 12, 2016 5:27 PM
> To: Wu, Jingjing
> Cc: dev@dpdk.org; Xing, Beilei
> Subject: [PATCH] net/i40e: fix outer VLAN bitmask for input set
> 
> This patch changes bitmask of outer VLAN tag in L2 header to support RSS
> and flow director for QinQ.
> 
> Fixes: 4072d503aaa5 ("i40e: fix VLAN bitmasks for input set")
>
HI, Beilei

I think this fix is based on " net/i40e: fix parsing QinQ packets type issue"
 http://dpdk.org/dev/patchwork/patch/15267/. 

Could you merge them to a one patch.
 

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

end of thread, other threads:[~2016-09-12  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-12  9:27 [dpdk-dev] [PATCH] net/i40e: fix outer VLAN bitmask for input set Beilei Xing
2016-09-12  9:31 ` Wu, Jingjing

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).