Re: [dpdk-dev] [PATCH] net/i40e: fix flow double mark action error check

2019-07-25 Thread Zhang, Qi Z
> -Original Message- > From: Ergin, Mesut A > Sent: Friday, July 26, 2019 5:51 AM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; Van Haaren, Harry ; Ergin, > Mesut A > Subject: [PATCH] net/i40e: fix flow double mark action error check > > This commit fixes an issue with the erro

[dpdk-dev] [PATCH] net/i40e: fix flow double mark action error check

2019-07-25 Thread Mesut Ali Ergin
This commit fixes an issue with the error checking in flow MARK action. Previously, (ANY + MARK) would fail, as the (mark_spec == 0) condition would cause an early error return, however really it is (mark_spec != 0) that should cause the early error return. Flipping the binary comparison corrects