Re: [dpdk-dev] [PATCH v1 2/5] net/ice: refactor flow pattern parser

2021-01-06 Thread Yan, Zhirun
> -Original Message- > From: Cao, Yahui > Sent: Friday, December 25, 2020 1:22 PM > To: Yan, Zhirun ; dev@dpdk.org; Zhang, Qi Z > ; Wang, Xiao W ; Guo, > Junfeng > Cc: Su, Simei ; Xu, Ting ; Zhang, > Yuying > Subject: RE: [PATCH v1 2/5] net/ice: refactor flow pattern parser > > > >

Re: [dpdk-dev] [PATCH v1 2/5] net/ice: refactor flow pattern parser

2020-12-24 Thread Cao, Yahui
> -Original Message- > From: Yan, Zhirun > Sent: Monday, December 21, 2020 2:52 PM > To: dev@dpdk.org; Zhang, Qi Z ; Cao, Yahui > ; Wang, Xiao W ; > Guo, Junfeng > Cc: Su, Simei ; Xu, Ting ; Zhang, > Yuying ; Yan, Zhirun > > Subject: [PATCH v1 2/5] net/ice: refactor flow pattern par

[dpdk-dev] [PATCH v1 2/5] net/ice: refactor flow pattern parser

2020-12-20 Thread Zhirun Yan
Distinguish inner/outer input set. And avoid too many nested conditionals in each type's parser. input_set_f is used for outer fields, input_set_l is used for inner or non-tunnel fields. Signed-off-by: Zhirun Yan --- drivers/net/ice/ice_fdir_filter.c | 467 +++--- 1 file