Re: [PATCH v3] app/testpmd: fix hex string parser input length

2021-11-24 Thread Ferruh Yigit
On 11/24/2021 12:33 PM, Gregory Etelson wrote: Current hex string parser assumes input has even characters number. The parser fails input string with odd length. The patch parses hex strings with even and odd length. Parse result of an input with odd length will match result of even length input

[PATCH v3] app/testpmd: fix hex string parser input length

2021-11-24 Thread Gregory Etelson
Current hex string parser assumes input has even characters number. The parser fails input string with odd length. The patch parses hex strings with even and odd length. Parse result of an input with odd length will match result of even length input, that has `0` as MSB, following by the original