git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/l3fwd: fix size of destination port ids
[dpdk.git]
/
examples
/
l3fwd
/
l3fwd_em_sse.h
diff --git
a/examples/l3fwd/l3fwd_em_sse.h
b/examples/l3fwd/l3fwd_em_sse.h
index
e2fe932
..
c0a9725
100644
(file)
--- a/
examples/l3fwd/l3fwd_em_sse.h
+++ b/
examples/l3fwd/l3fwd_em_sse.h
@@
-102,7
+102,7
@@
l3fwd_em_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
uint8_t portid, struct lcore_conf *qconf)
{
int32_t j;
- uint
32
_t dst_port[MAX_PKT_BURST];
+ uint
16
_t dst_port[MAX_PKT_BURST];
for (j = 0; j < nb_rx; j++)
dst_port[j] = em_get_dst_port(qconf, pkts_burst[j], portid);