numam-dpdk/examples/performance-thread/l3fwd-thread
Tomasz Kulasek c714211398 examples/performance-thread: fix size of destination port ids
After extending IPv4 next hop in lpm library, size of dst_port array was
changed from 16 to 32 bits in l3fwd-thread example, without modification
of the rest of path written for 16 bit value.

This patch uses similar approach for fix, like in commit 8353a36a9b
("examples/l3fwd: fix size of destination port ids"), restoring 16 bit size
for destination port ids and doing necessary conversion from 32 to 16 bit
after lpm_lookupx4.

Fixes: dc81ebbaca ("lpm: extend IPv4 next hop field")

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
2016-06-08 22:38:52 +02:00
..
main.c examples/performance-thread: fix size of destination port ids 2016-06-08 22:38:52 +02:00
Makefile examples/performance-thread: add l3fwd-thread app 2015-12-11 02:15:36 +01:00
test.sh examples/performance-thread: add l3fwd-thread app 2015-12-11 02:15:36 +01:00