* [dpdk-dev] [PATCH] net/ixgbe: fix ipv6 flow create limitation for x550
@ 2017-07-18 11:37 Qi Zhang
2017-07-18 14:45 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Qi Zhang @ 2017-07-18 11:37 UTC (permalink / raw)
To: wenzhuo.lu; +Cc: dev, Qi Zhang
The x550 family does not support ipv6-other flow as well as
ipv4-other flow, so add this limitation.
Fixes: 7d629cacedee ("net/ixgbe: enable IPv6 for consistent API")
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
drivers/net/ixgbe/ixgbe_fdir.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_fdir.c b/drivers/net/ixgbe/ixgbe_fdir.c
index c773701..eb2d558 100644
--- a/drivers/net/ixgbe/ixgbe_fdir.c
+++ b/drivers/net/ixgbe/ixgbe_fdir.c
@@ -1272,7 +1272,9 @@ ixgbe_fdir_filter_program(struct rte_eth_dev *dev,
hw->mac.type == ixgbe_mac_X550EM_x ||
hw->mac.type == ixgbe_mac_X550EM_a) &&
(rule->ixgbe_fdir.formatted.flow_type ==
- IXGBE_ATR_FLOW_TYPE_IPV4) &&
+ IXGBE_ATR_FLOW_TYPE_IPV4 ||
+ rule->ixgbe_fdir.formatted.flow_type ==
+ IXGBE_ATR_FLOW_TYPE_IPV6) &&
(info->mask.src_port_mask != 0 ||
info->mask.dst_port_mask != 0)) {
PMD_DRV_LOG(ERR, "By this device,"
--
2.9.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/ixgbe: fix ipv6 flow create limitation for x550
2017-07-18 11:37 [dpdk-dev] [PATCH] net/ixgbe: fix ipv6 flow create limitation for x550 Qi Zhang
@ 2017-07-18 14:45 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-07-18 14:45 UTC (permalink / raw)
To: Qi Zhang, wenzhuo.lu; +Cc: dev
On 7/18/2017 12:37 PM, Qi Zhang wrote:
> The x550 family does not support ipv6-other flow as well as
> ipv4-other flow, so add this limitation.
>
> Fixes: 7d629cacedee ("net/ixgbe: enable IPv6 for consistent API")
>
> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-18 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 11:37 [dpdk-dev] [PATCH] net/ixgbe: fix ipv6 flow create limitation for x550 Qi Zhang
2017-07-18 14:45 ` 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).