RE: [PATCH v3] net/ice: fix pattern check logic in FDIR

2022-02-10 Thread Zhang, Qi Z
> -Original Message- > From: Guo, Junfeng > Sent: Tuesday, February 8, 2022 3:09 PM > To: Zhang, Qi Z ; Wu, Jingjing > ; Xing, Beilei > Cc: dev@dpdk.org; sta...@dpdk.org; Guo, Junfeng > Subject: [PATCH v3] net/ice: fix pattern check logic in FDIR > > Mask

[PATCH v3] net/ice: fix pattern check logic in FDIR

2022-02-07 Thread Junfeng Guo
Mask for IPv4/UDP/TCP/SCTP addr/port are not supported in current code. Thus we need to check each pattern mask. Only zero-mask and full-mask are allowed to pass the pattern parse, otherwise will return failure. Fixes: 54be6102ef97 ("net/ice: fix pattern check for FDIR parser") Cc: sta...@dpdk.org