From: Intel Date: Mon, 3 Jun 2013 00:00:00 +0000 (+0000) Subject: examples/dpdk_qat: minor change X-Git-Tag: spdx-start~11190 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=15b5251cb3ce9961ac8250d8f8625cfe8aa5f00b;p=dpdk.git examples/dpdk_qat: minor change Signed-off-by: Intel --- diff --git a/examples/dpdk_qat/main.c b/examples/dpdk_qat/main.c index ae8438be60..998b759308 100644 --- a/examples/dpdk_qat/main.c +++ b/examples/dpdk_qat/main.c @@ -318,7 +318,8 @@ static inline uint8_t get_output_port(uint8_t input_port) { RTE_BUILD_BUG_ON((RTE_MAX_ETHPORTS & 1) != 0); - return (uint8_t)(input_port ^ 1); + /* Simple scheme to map consecutive ports. */ + return (uint8_t)(input_port ^ 1); } /* main processing loop */