examples/dpdk_qat: minor change
authorIntel <intel.com>
Mon, 3 Jun 2013 00:00:00 +0000 (00:00 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Sep 2013 12:16:09 +0000 (14:16 +0200)
Signed-off-by: Intel
examples/dpdk_qat/main.c

index ae8438b..998b759 100644 (file)
@@ -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 */