[dpdk-dev] [PATCH] examples/packet_ordering: fix return value of parse_portmask

2020-06-05 Thread Sarosh Arif
Giving invalid or zero portmask as command line option to packet_ordering application will have an unexpected response. The reason behind this is that parse_portmask's return value is stored in a variable called portmask.The data type of portmask is unsigned int, hence returning -1 in case of zer

Re: [dpdk-dev] [PATCH] examples/packet_ordering: fix return value of parse_portmask

2020-07-30 Thread Thomas Monjalon
05/06/2020 15:41, Sarosh Arif: > Giving invalid or zero portmask as command line option to > packet_ordering application will have an unexpected response. > The reason behind this is that parse_portmask's return value is > stored in a variable called portmask.The data type of portmask > is unsign