[dpdk-dev] [PATCH] testpmd: Simplify logic in error branch
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Jun 19 01:06:59 CEST 2014
> Simplifiy the logic in the error checking branch. Rather than having a
> single error branch which checked both RX and TX conditions and made
> extensive use of the ? operator, move the error checking explicitly into
> the RX and TX individual branches.
>
> The original code caused compilation issues when attempting compilation
> with clang on BSD, due to type mismatches. This change fixes the issues
> while making the code easier to read and maintain overall.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
Applied for version 1.7.0.
Thanks
--
Thomas
More information about the dev
mailing list