[dpdk-dev] [PATCH] testpmd: Simplify logic in error branch

2014-06-19 Thread Thomas Monjalon
> 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 i

[dpdk-dev] [PATCH] testpmd: Simplify logic in error branch

2014-06-17 Thread Bruce Richardson
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 a