[dpdk-dev] [PATCH] examples/performance-thread: fix size of destination port ids in l3fwd-thread

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Apr 27 17:25:04 CEST 2016


2016-04-20 16:45, Tomasz Kulasek:
> This patch uses similar approach for fix, like in commit 8353a36a9b4b
> ("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.
> 
> Also fixes wrong logic in get_dst_port() on lpm path causing unpredictable
> return value when ipv4/ipv6 lookup success, introduced in the same patch.

The word "Also" means that you should write 2 patches :)


More information about the dev mailing list