git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dca67e
)
examples/dpdk_qat: minor change
author
Intel
<intel.com>
Mon, 3 Jun 2013 00:00:00 +0000
(
00:00
+0000)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/examples/dpdk_qat/main.c
b/examples/dpdk_qat/main.c
index
ae8438b
..
998b759
100644
(file)
--- 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 */