4dccdc789b
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@intel.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com> |
||
---|---|---|
.. | ||
cmdline.c | ||
config.c | ||
csumonly.c | ||
flowgen.c | ||
icmpecho.c | ||
ieee1588fwd.c | ||
iofwd.c | ||
macfwd-retry.c | ||
macfwd.c | ||
macswap.c | ||
Makefile | ||
mempool_anon.c | ||
mempool_osdep.h | ||
parameters.c | ||
rxonly.c | ||
testpmd.c | ||
testpmd.h | ||
txonly.c |