* [dpdk-dev] [PATCH] net/ixgbe: fix NIC 82599ES type check error
@ 2017-07-19 3:33 Wei Zhao
2017-07-19 9:12 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Wei Zhao @ 2017-07-19 3:33 UTC (permalink / raw)
To: dev; +Cc: Wei Zhao
This NIC type check is specific for 82599ES.
Fixes: 16f534e508d ("net/ixgbe: add support 82599ES SCTP packet drop action")
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
drivers/net/ixgbe/ixgbe_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c
index 8e9be8f..04540af 100644
--- a/drivers/net/ixgbe/ixgbe_flow.c
+++ b/drivers/net/ixgbe/ixgbe_flow.c
@@ -2538,7 +2538,7 @@ ixgbe_parse_fdir_filter(struct rte_eth_dev *dev,
step_next:
- if (hw->mac.type != ixgbe_mac_82599EB &&
+ if (hw->mac.type == ixgbe_mac_82599EB &&
rule->fdirflags == IXGBE_FDIRCMD_DROP &&
(rule->mask.src_port_mask != 0 ||
rule->mask.dst_port_mask != 0))
--
2.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/ixgbe: fix NIC 82599ES type check error
2017-07-19 3:33 [dpdk-dev] [PATCH] net/ixgbe: fix NIC 82599ES type check error Wei Zhao
@ 2017-07-19 9:12 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-07-19 9:12 UTC (permalink / raw)
To: Wei Zhao, dev
On 7/19/2017 4:33 AM, Wei Zhao wrote:
> This NIC type check is specific for 82599ES.
>
> Fixes: 16f534e508d ("net/ixgbe: add support 82599ES SCTP packet drop action")
>
> Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Squashed into relevant commit in next-net, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-19 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-19 3:33 [dpdk-dev] [PATCH] net/ixgbe: fix NIC 82599ES type check error Wei Zhao
2017-07-19 9:12 ` 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).