> -----Original Message-----
> From: Kaiwen Deng <[email protected]>
> Sent: Friday, November 24, 2023 3:01 PM
> To: [email protected]
> Cc: [email protected]; Yang, Qiming <[email protected]>; Zhou, YidingX
> <[email protected]>; Deng, KaiwenX <[email protected]>; Zhang,
> Yuying <[email protected]>; Xing, Beilei <[email protected]>; Wu,
> Jingjing <[email protected]>
> Subject: [PATCH] net/i40e: remove redundant judgment in fdir parse
>
> if (eth_spec && eth_mask &&
> next_type == RTE_FLOW_ITEM_TYPE_END) {
> ...
> if (next_type == RTE_FLOW_ITEM_TYPE_VLAN || ...) {
> ...
> }
> ...
> }
>
> Clearly, that condition in the inner "if" is always "false".
>
> This commit will remove the redundant judgment.
>
> Fixes: 7d83c152a207 ("net/i40e: parse flow director filter")
> Cc: [email protected]
>
> Signed-off-by: Kaiwen Deng <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi