DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [dpdk-dev v1] net/ice: fix flow rule checking
@ 2021-01-19  8:07 Jeff Guo
  2021-01-19 13:14 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Guo @ 2021-01-19  8:07 UTC (permalink / raw)
  To: qi.z.zhang, qiming.yang; +Cc: dev, jia.guo

Add empty item into the pattern mapping list when checking the ptype is
supported or not, since we do support the NUll pattern for rte flow in
ice pmd.

Fixes: 68b6240ee9f0 ("net/ice: refactor packet type parsing")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
---
 drivers/net/ice/ice_generic_flow.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ice/ice_generic_flow.c b/drivers/net/ice/ice_generic_flow.c
index 454650f6ac..c4496dbbe1 100644
--- a/drivers/net/ice/ice_generic_flow.c
+++ b/drivers/net/ice/ice_generic_flow.c
@@ -2151,6 +2151,7 @@ static struct ice_ptype_match ice_ptype_map[] = {
 	{pattern_eth_ipv4_nvgre_eth_ipv4,		ICE_MAC_IPV4_TUN_IPV4_PAY},
 	{pattern_eth_ipv4_nvgre_eth_ipv4_udp,		ICE_MAC_IPV4_TUN_IPV4_UDP_PAY},
 	{pattern_eth_ipv4_nvgre_eth_ipv4_tcp,		ICE_MAC_IPV4_TUN_IPV4_TCP},
+	{pattern_empty,					0},
 };
 
 static bool
-- 
2.20.1


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

* Re: [dpdk-dev] [dpdk-dev v1] net/ice: fix flow rule checking
  2021-01-19  8:07 [dpdk-dev] [dpdk-dev v1] net/ice: fix flow rule checking Jeff Guo
@ 2021-01-19 13:14 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2021-01-19 13:14 UTC (permalink / raw)
  To: Guo, Jia, Yang, Qiming; +Cc: dev



> -----Original Message-----
> From: Guo, Jia <jia.guo@intel.com>
> Sent: Tuesday, January 19, 2021 4:08 PM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, Qiming <qiming.yang@intel.com>
> Cc: dev@dpdk.org; Guo, Jia <jia.guo@intel.com>
> Subject: [dpdk-dev v1] net/ice: fix flow rule checking
> 
> Add empty item into the pattern mapping list when checking the ptype is
> supported or not, since we do support the NUll pattern for rte flow in ice pmd.
> 
> Fixes: 68b6240ee9f0 ("net/ice: refactor packet type parsing")
> 
> Signed-off-by: Jeff Guo <jia.guo@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


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

end of thread, other threads:[~2021-01-19 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19  8:07 [dpdk-dev] [dpdk-dev v1] net/ice: fix flow rule checking Jeff Guo
2021-01-19 13:14 ` Zhang, Qi Z

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