net/ixgbe: fix tunnel filter fail problem
PATCH 1/1 net/ixgbe: fix tunnel filter fail problem
Add a mode type check for tunnel mode, if fdir is in this mode, it do not need to do Sanity check for x550.
--- drivers/net/ixgbe/ixgbe_fdir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ixgbe/ixgbe_fdir.c +2 -1
@@ -1277,7 +1277,8 @@ ixgbe_fdir_filter_program(struct rte_eth_dev *dev, IXGBE_ATR_FLOW_TYPE_IPV6) && (info->mask.src_port_mask != 0 || info->mask.dst_port_mask != 0) && - rule->mode != RTE_FDIR_MODE_PERFECT_MAC_VLAN) { + (rule->mode != RTE_FDIR_MODE_PERFECT_MAC_VLAN && + rule->mode != RTE_FDIR_MODE_PERFECT_TUNNEL)) {PMD_DRV_LOG (ERR ,"By this device," " IPv4 is not supported without" " L4 protocol and ports masked!" );
Signature · 1 line
2.7.5
Hi Wei,
Quoted 11 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Wei Zhao
Sent: Friday, November 17, 2017 1:36 PM
To: [email protected]
Cc: Zhao1, Wei <[email protected]>
Subject: [dpdk-dev] [PATCH] net/ixgbe: fix tunnel filter fail problemAdd a mode type check for tunnel mode, if fdir is in this mode, it do not need to do Sanity check for x550.
Fixes dc0c16105d2d2 ("ixgbe: fix X550 flow director check")
The patch is good, but seems the fixes tag is not right. This fix should be for some patch newer than this one.
Quoted 2 lines
Signed-off-by Wei Zhao <[email protected]>
PATCH v2 1/1 net/ixgbe: fix tunnel filter fail problem
In reply to Wei ZhaoAdd a mode type check for tunnel mode, if fdir is in this mode, it do not need to do Sanity check for x550.
---
v2:
-change fix code version hash code.
--- drivers/net/ixgbe/ixgbe_fdir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ixgbe/ixgbe_fdir.c +2 -1
@@ -1277,7 +1277,8 @@ ixgbe_fdir_filter_program(struct rte_eth_dev *dev, IXGBE_ATR_FLOW_TYPE_IPV6) && (info->mask.src_port_mask != 0 || info->mask.dst_port_mask != 0) && - rule->mode != RTE_FDIR_MODE_PERFECT_MAC_VLAN) { + (rule->mode != RTE_FDIR_MODE_PERFECT_MAC_VLAN && + rule->mode != RTE_FDIR_MODE_PERFECT_TUNNEL)) {PMD_DRV_LOG (ERR ,"By this device," " IPv4 is not supported without" " L4 protocol and ports masked!" );
Signature · 1 line
2.9.3
Hi,
Quoted 8 lines
-----Original Message-----
From: Zhao1, Wei
Sent: Monday, January 8, 2018 11:36 AM
To: [email protected]
Cc: Lu, Wenzhuo <[email protected]>; Zhao1, Wei <[email protected]>
Subject: [PATCH v2] net/ixgbe: fix tunnel filter fail problem
Quoted 6 lines
Add a mode type check for tunnel mode, if fdir is in this mode, it do not need to do Sanity check for x550.
Fixes a2ba854ec616b ("net/ixgbe: fix MAC VLAN filter fail problem")Signed-off-by Wei Zhao <[email protected]>
Zhang, Helin
AppliedQuoted 18 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Lu, Wenzhuo
Sent: Monday, January 8, 2018 1:09 PM
To: Zhao1, Wei; [email protected]
Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix tunnel filter fail problemHi,
Quoted 8 lines
-----Original Message-----
From: Zhao1, Wei
Sent: Monday, January 8, 2018 11:36 AM
To: [email protected]
Cc: Lu, Wenzhuo <[email protected]>; Zhao1, Wei <[email protected]>
Subject: [PATCH v2] net/ixgbe: fix tunnel filter fail problem
Quoted 7 lines
Quoted 6 lines
Add a mode type check for tunnel mode, if fdir is in this mode, it do not need to do Sanity check for x550.
Fixes a2ba854ec616b ("net/ixgbe: fix MAC VLAN filter fail problem")Signed-off-by Wei Zhao <[email protected]>Acked-by Wenzhuo Lu <[email protected]>
Applied to dpdk-next-net-intel, thanks!
/Helin