net/i40e: fix to ensure vector mode is not used
PATCH 1/1 net/i40e: fix to ensure vector mode is not used
In rx vector mode, the QinQ VLAN tag is not stripped. When hw_vlan_extend is set for QinQ ensure that rx vector mode is not selected.
--- drivers/net/i40e/i40e_rxtx_vec_common.h | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/i40e/i40e_rxtx_vec_common.h +4 -0
@@ -234,6 +234,10 @@ i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)if (rxmode->header_split ==1 )return -1 ; +/* no QinQ support */ +if (rxmode->hw_vlan_extend ==1 ) +return -1 ; +return 0 ;#else RTE_SET_USED (dev);
Signature · 1 line
2.11.0
Hi Bernard:
Quoted 9 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not used
Quoted 6 lines
In rx vector mode, the QinQ VLAN tag is not stripped.
Whenhw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.Fixes ca74903b75cf ("net/i40e: extract non-x86 specific code from vectordriver")
Why fixes? I didn't see above commit change rx callback function if hw_vlan_extend == 1
Quoted 25 lines
Signed-off-by Bernard Iremonger <[email protected]>--- drivers/net/i40e/i40e_rxtx_vec_common.h | 4 ++++ 1 file changed, 4 insertions(+)drivers/net/i40e/i40e_rxtx_vec_common.h +4
-0@@ -234,6 +234,10 @@ i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev) if (rxmode->header_split == 1) return -1; +/* no QinQ support */ +if (rxmode->hw_vlan_extend ==1 ) +return -1 ; +return 0 ;#else
RTE_SET_USED(dev);
--
2.11.0
Hi Qi,
Quoted 27 lines
-----Original Message-----
From: Zhang, Qi Z
Sent: Wednesday, April 12, 2017 12:43 PM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Bernard:
Quoted 2 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of BernardIremonger
Quoted 12 lines
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, the QinQ VLAN tag is not stripped.
Whenhw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.
Quoted 6 lines
Quoted 3 lines
Fixes ca74903b75cf ("net/i40e: extract non-x86 specific code fromvector
driver")Why fixes? I didn't see above commit change rx callback function if
hw_vlan_extend== 1
Some of the QinQ functionality was introduced in 17.02, this functionality also has the same issue. So I added a fixes line.
Quoted 17 lines
Quoted 12 lines
Signed-off-by Bernard Iremonger <[email protected]>--- drivers/net/i40e/i40e_rxtx_vec_common.h | 4 ++++ 1 file changed, 4 insertions(+)drivers/net/i40e/i40e_rxtx_vec_common.h +0
-0@@ -234,6 +234,10 @@Quoted 1 line
i40e_rx_vec_dev_conf_condition_check_default(struct
rte_eth_dev*dev)
Quoted 3 lines
drivers/net/i40e/i40e_rxtx_vec_common.h +0
-0if (rxmode->header_split ==1 )return -1 ;
Quoted 9 lines
Quoted 9 lines
drivers/net/i40e/i40e_rxtx_vec_common.h +4
-1+/* no QinQ support */ +if (rxmode->hw_vlan_extend ==1 ) +return -1 ; +return 0 ;#else RTE_SET_USED (dev); --2.11.0
Regards,
Bernard.
Quoted 43 lines
-----Original Message-----
From: Iremonger, Bernard
Sent: Wednesday, April 12, 2017 8:30 PM
To: Zhang, Qi Z <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Qi,
Quoted 31 lines
-----Original Message-----
From: Zhang, Qi Z
Sent: Wednesday, April 12, 2017 12:43 PM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Bernard:
Quoted 2 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of BernardIremonger
Quoted 15 lines
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, the QinQ VLAN tag is not stripped. When
hw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.Fixes ca74903b75cf ("net/i40e: extract non-x86 specific code fromvector
driver")
Quoted 6 lines
Quoted 2 lines
Why fixes? I didn't see above commit change rx callback function if
hw_vlan_extend== 1Some of the QinQ functionality was introduced in 17.02, this functionality also has the same issue.
So I added a fixes line.
If you think this patch is a fix, you need to find the commit that introduce this issue The commit ca74903b75cf is not the root cause of the issue, it just move the code from I40e_rxtx_vec.c to i40e_rxtx_vec_common.h
Regards
Qi
Hi Qi,
<snip>
Quoted 39 lines
Quoted 12 lines
Quoted 12 lines
-----Original Message-----
From: Zhang, Qi Z
Sent: Wednesday, April 12, 2017 12:43 PM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Bernard:
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of BernardIremonger
Quoted 4 lines
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>;Iremonger,
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, the QinQ VLAN tag is not stripped. When
hw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.Fixes ca74903b75cf ("net/i40e: extract non-x86 specific code fromvector
driver")Quoted 6 lines
Quoted 2 lines
Why fixes? I didn't see above commit change rx callback function if
hw_vlan_extend== 1Some of the QinQ functionality was introduced in 17.02, this functionality also has the same issue.
So I added a fixes line.
Quoted 7 lines
If you think this patch is a fix, you need to find the commit that introduce this issue The commit
ca74903b75cfis not the root cause of the issue, it just move the code fromI40e_rxtx_vec.ctoi40e_rxtx_vec_common.hRegards
Qi
This is a fix to the i40e_rx_vec_dev_conf_condition_check_default() function.
The issue is caused because there is no check on the hw_vlan_extend flag at present.
This is the correct fixline for that function.ca74903b75 (Jianbo Liu 2016-10-14 09:30:00 +0530 221) i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)
I will send a v2 as I should have added the "Cc: [email protected]" line.
Regards,
Bernard.
Quoted 52 lines · Bernard
Hi Qi,
<snip>
Quoted 39 lines
Quoted 12 lines
Quoted 12 lines
-----Original Message-----
From: Zhang, Qi Z
Sent: Wednesday, April 12, 2017 12:43 PM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Bernard:
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of BernardIremonger
Quoted 4 lines
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>;Iremonger,
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, the QinQ VLAN tag is not stripped. When
hw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.Fixes ca74903b75cf ("net/i40e: extract non-x86 specific code fromvector
driver")Quoted 6 lines
Quoted 2 lines
Why fixes? I didn't see above commit change rx callback function if
hw_vlan_extend== 1Some of the QinQ functionality was introduced in 17.02, this functionality also has the same issue.
So I added a fixes line.Quoted 7 lines
If you think this patch is a fix, you need to find the commit that introduce this issue The commit
ca74903b75cfis not the root cause of the issue, it just move the code fromI40e_rxtx_vec.ctoi40e_rxtx_vec_common.hRegards
Qi
Quoted 6 lines
This is a fix to the
i40e_rx_vec_dev_conf_condition_check_default()function.
The issue is caused because there is no check on thehw_vlan_extendflag at present.
This is the correct fixline for that function.ca74903b75(Jianbo Liu 2016-10-14 09:30:00 +0530 221)i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)I will send a v2 as I should have added the "Cc: [email protected]" line.
Hi Bernard,
I agree with Qi, the commit you are using is just moves function to a common header, you are not fixing that.
Perhaps fixline can be the commit that adds QinQ support, because it forgets adding hw_vlan_extend check?
byw, since this common function used by other vector drivers, neon and altivec, will this something effect them, is there any case "hw_vlan_extend == 1" but other vector drivers can be used?
Thanks,
ferruh
Quoted 6 lines
Regards,
Bernard.
Hi Bernard:
Quoted 63 lines
-----Original Message-----
From: Yigit, Ferruh
Sent: Wednesday, April 12, 2017 10:08 PM
To: Iremonger, Bernard <[email protected]>; Zhang, Qi Z <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedQuoted 53 lines · Bernard
Hi Qi,
<snip>
Quoted 47 lines
Quoted 12 lines
Quoted 12 lines
-----Original Message-----
From: Zhang, Qi Z
Sent: Wednesday, April 12, 2017 12:43 PM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Bernard:
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of BernardIremonger
Quoted 4 lines
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>;Iremonger,
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, the QinQ VLAN tag is not stripped. When
hw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.Fixes ca74903b75cf ("net/i40e: extract non-x86 specific code fromvector
driver")Quoted 6 lines
Quoted 2 lines
Why fixes? I didn't see above commit change rx callback function if
hw_vlan_extend== 1Some of the QinQ functionality was introduced in 17.02, this functionality also has the same issue.
So I added a fixes line.If you think this patch is a fix, you need to find the commit that introduce this issue The commit
ca74903b75cfis not the root cause of the issue, it just move the code fromI40e_rxtx_vec.ctoi40e_rxtx_vec_common.hRegards
Qi
Quoted 9 lines
Quoted 1 line
This is a fix to the
i40e_rx_vec_dev_conf_condition_check_default()function.
Quoted 1 line
The issue is caused because there is no check on the
hw_vlan_extendflagat present.
Quoted 2 lines
This is the correct fixline for that function.
ca74903b75(Jianbo Liu 2016-10-14 09:30:00 +0530 221)
i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)Quoted 2 lines
I will send a v2 as I should have added the "Cc: [email protected]" line.
I think it should be
This is the first commit after which that QinQ is allowed with vPMD.
Quoted 6 lines
Hi Bernard,
I agree with Qi, the commit you are using is just moves function to a common header, you are not fixing that.
Quoted 6 lines
Perhaps fixline can be the commit that adds QinQ support, because it forgets adding
hw_vlan_extendcheck?byw, since this common function used by other vector drivers, neon and altivec, will this something effect them, is there any case "
hw_vlan_extend== 1" but other vector drivers can be used?
As I see, neon and altivec follow x86's implementation, they do not support QinQ neither.
Quoted 10 lines
Thanks,
ferruhQuoted 6 lines
Regards,
Bernard.
Hi Ferruh,
Quoted 76 lines
-----Original Message-----
From: Yigit, Ferruh
Sent: Wednesday, April 12, 2017 3:08 PM
To: Iremonger, Bernard <[email protected]>; Zhang, Qi Z <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedQuoted 10 lines · Bernard
Hi Qi,
<snip>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
-----Original Message-----
From: Zhang, Qi Z
Sent: Wednesday, April 12, 2017 12:43 PM
To: Iremonger, Bernard <[email protected]>;Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>;
Iremonger,
Quoted 38 lines
Quoted 38 lines
Quoted 6 lines
Quoted 6 lines
Bernard <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Bernard:
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of BernardIremonger
Quoted 4 lines
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>;Iremonger,
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, the QinQ VLAN tag is not stripped. When
hw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.Fixes ca74903b75cf ("net/i40e: extract non-x86 specific code fromvector
driver")Quoted 6 lines
Quoted 2 lines
Why fixes? I didn't see above commit change rx callback function if
hw_vlan_extend== 1Some of the QinQ functionality was introduced in 17.02, this functionality also has the same issue.
So I added a fixes line.If you think this patch is a fix, you need to find the commit that introduce this issue The commit
ca74903b75cfis not the root cause of the issue, it just move the code fromI40e_rxtx_vec.ctoi40e_rxtx_vec_common.hQuoted 4 lines
Quoted 3 lines
Regards
QiThis is a fix to the
i40e_rx_vec_dev_conf_condition_check_default()function.
Quoted 1 line
The issue is caused because there is no check on the
hw_vlan_extendflagat present.
Quoted 2 lines
This is the correct fixline for that function.
ca74903b75(Jianbo Liu 2016-10-14 09:30:00 +0530 221)
i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)Quoted 2 lines
I will send a v2 as I should have added the "Cc: [email protected]" line.
Quoted 7 lines
Hi Bernard,
I agree with Qi, the commit you are using is just moves function to a common header, you are not fixing that.
Perhaps fixline can be the commit that adds QinQ support, because it forgets adding
hw_vlan_extendcheck?
Ok, I will use that commit line.
Quoted 4 lines
byw, since this common function used by other vector drivers, neon and altivec, will this something effect them, is there any case "
hw_vlan_extend== 1" but other vector drivers can be used?
The hw_vlan_extend is defined in struct rte_eth_rxmode{} in rte_ethedev.h so it can be used by other vector drivers. hw_vlan_extend was handled in this function previously before the following patch
net/i40e: remove option to disable offload flags
commit : 2d7a4ce0806dfdc5b27b280eaf87eeec4848a19f
Quoted 4 lines
Thanks,
ferruh
Regards,
Bernard.
Hi Qi,
<snip>
Quoted 56 lines
Quoted 46 lines
Quoted 46 lines
Quoted 46 lines
Quoted 14 lines
Quoted 14 lines
-----Original Message-----
From: Zhang, Qi Z
Sent: Wednesday, April 12, 2017 12:43 PM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedHi Bernard:
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of BernardIremonger
Quoted 4 lines
Sent: Tuesday, April 11, 2017 11:01 PM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>;Iremonger,
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Bernard <[email protected]>
Subject: [dpdk-dev] [PATCH] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, the QinQ VLAN tag is not stripped. When
hw_vlan_extendis set for QinQ ensure that rx vector mode is not selected.Fixes ca74903b75cf ("net/i40e: extract non-x86 specific codefrom vector
driver")Quoted 6 lines
Quoted 2 lines
Why fixes? I didn't see above commit change rx callback function if
hw_vlan_extend== 1Some of the QinQ functionality was introduced in 17.02, this functionality also has the same issue.
So I added a fixes line.If you think this patch is a fix, you need to find the commit that introduce this issue The commit
ca74903b75cfis not the root cause of the issue, it just move the code fromI40e_rxtx_vec.ctoi40e_rxtx_vec_common.hQuoted 6 lines
Quoted 4 lines
Quoted 3 lines
Regards
QiThis is a fix to the
i40e_rx_vec_dev_conf_condition_check_default()function.
Quoted 1 line
The issue is caused because there is no check on the
hw_vlan_extendflag
Quoted 3 lines
at present.
Quoted 2 lines
This is the correct fixline for that function.
ca74903b75(Jianbo Liu 2016-10-14 09:30:00 +0530 221)
Quoted 8 lines
Quoted 1 line
i40e_rx_vec_dev_conf_condition_check_default(struct
rte_eth_dev*dev)
Quoted 2 lines
Quoted 2 lines
I will send a v2 as I should have added the "Cc: [email protected]" line.
I think it should be
Fixes 8e109464c02292 ("i40e: allow vector Rx and Tx usage") This is the firstcommit after which that QinQ is allowed with vPMD.
Or should it be the following commit, when it is used for QinQ?
Quoted 9 lines
Quoted 9 lines
Hi Bernard,
I agree with Qi, the commit you are using is just moves function to a common header, you are not fixing that.
Perhaps fixline can be the commit that adds QinQ support, because it forgets adding
hw_vlan_extendcheck?
Quoted 17 lines
Quoted 3 lines
byw, since this common function used by other vector drivers, neon and altivec, will this something effect them, is there any case "
hw_vlan_extend== 1" but other vector drivers can be used?As I see, neon and altivec follow x86's implementation, they do not support QinQ neither.
Quoted 10 lines
Thanks,
ferruhQuoted 6 lines
Regards,
Bernard.
Regards,
Bernard.
PATCH v2 1/1 net/i40e: fix to ensure vector mode is not used
In reply to Bernard IremongerIn rx vector mode, the QinQ VLAN tag is not stripped. When hw_vlan_extend is set for QinQ ensure that rx vector mode is not selected.
---
Changes in v2:
Rebased to latest dpdk-next-net
Updated Fixes line.
Added Cc: line
drivers/net/i40e/i40e_rxtx_vec_common.h | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/i40e/i40e_rxtx_vec_common.h +4 -0
@@ -234,6 +234,10 @@ i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)if (rxmode->header_split ==1 )return -1 ; +/* no QinQ support */ +if (rxmode->hw_vlan_extend ==1 ) +return -1 ; +return 0 ;#else RTE_SET_USED (dev);
Signature · 1 line
2.11.0
PATCH v3 1/1 net/i40e: fix to ensure vector mode is not used
In rx vector mode, QinQ is not supported.
When hw_vlan_extend is set for QinQ ensure that
rx vector mode is not selected.
---
Changes in v3:
Rebased to latest dpdk-next-net
Revised commit message.
Changes in v2:
Rebased to latest dpdk-next-net
Updated Fixes line.
Added Cc: line
drivers/net/i40e/i40e_rxtx_vec_common.h | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/i40e/i40e_rxtx_vec_common.h +4 -0
@@ -234,6 +234,10 @@ i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)if (rxmode->header_split ==1 )return -1 ; +/* no QinQ support */ +if (rxmode->hw_vlan_extend ==1 ) +return -1 ; +return 0 ;#else RTE_SET_USED (dev);
Signature · 1 line
2.11.0
Quoted 23 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Thursday, April 13, 2017 10:53 AM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH v3] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, QinQ is not supported.
Whenhw_vlan_extendis set for QinQ ensure that
rx vector mode is not selected.Fixes 5b2d37858d32 ("net/i40e: fix single VLAN tag to be outer VLAN tag")Signed-off-by Bernard Iremonger <[email protected]>---
Changes in v3:
Rebased to latest dpdk-next-net
Revised commit message.
Quoted 8 lines
Changes in v2:
Rebased to latest dpdk-next-net
Updated Fixes line.
Added Cc: linedrivers/net/i40e/i40e_rxtx_vec_common.h | 4 ++++ 1 file changed, 4 insertions(+)
Ferruh Yigit
AppliedQuoted 14 lines · Konstantin
Quoted 14 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Thursday, April 13, 2017 10:53 AM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH v3] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, QinQ is not supported.
Whenhw_vlan_extendis set for QinQ ensure that
rx vector mode is not selected.
Quoted 6 lines
Quoted 4 lines
Fixes 5b2d37858d32 ("net/i40e: fix single VLAN tag to be outer VLAN tag")Signed-off-by Bernard Iremonger <[email protected]>
Applied to dpdk-next-net/master, thanks.
Quoted 15 lines · Ferruh Yigit
Quoted 14 lines · Konstantin
Quoted 14 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Thursday, April 13, 2017 10:53 AM
To: [email protected]
Cc: Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Zhang, Qi <[email protected]>; Iremonger, Bernard <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH v3] net/i40e: fix to ensure vector mode is not usedIn rx vector mode, QinQ is not supported.
Whenhw_vlan_extendis set for QinQ ensure that
rx vector mode is not selected.
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Fixes 5b2d37858d32 ("net/i40e: fix single VLAN tag to be outer VLAN tag")Signed-off-by Bernard Iremonger <[email protected]>Applied to dpdk-next-net/master, thanks.
Updated Fixes line to: