Re: [dpdk-dev] [PATCH 1/3] net/ice/base: check the number of recipe when in chain

2020-04-09 Thread Lu, Nannan
Tested-by: Lu, Nannan -Original Message- From: Zhao1, Wei Sent: Friday, April 10, 2020 8:42 AM To: dev@dpdk.org Cc: Zhang, Qi Z ; Lu, Nannan ; Peng, Yuan ; Zhao1, Wei Subject: [PATCH 1/3] net/ice/base: check the number of recipe when in chain when we add some long switch rule, we need

[dpdk-dev] [PATCH 1/3] net/ice/base: check the number of recipe when in chain

2020-04-09 Thread Wei Zhao
when we add some long switch rule, we need check the number of final recipe number, if it is large than ICE_MAX_CHAIN_RECIPE, we should refuse this rule. For example: "flow create 0 ingress pattern eth / ipv6 src is CDCD:910A::5498:8475::3900:1536 dst is CDCD:910A::5498:8475::3900: