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 :)