[dpdk-dev] [PATCH v5 6/8] cmdline: use new ethernet address parser
Stephen Hemminger
stephen at networkplumber.org
Tue Jul 16 18:17:04 CEST 2019
On Tue, 16 Jul 2019 01:17:56 +0000
"Li, WenjieX A" <wenjiex.a.li at intel.com> wrote:
> Hi Stephen,
>
>
>
> This DPDK patch makes cmdline_autotest failed. List the details as below.
>
> Could you please help to resolve it?
>
> Thank you!
> Test Setup
> Steps to reproduce
> List the steps to reproduce the issue.
> ./x86_64-native-linuxapp-gcc/app/test -n 1 -c 0xff
> testpmd> cmdline_autotest
> Show the output from the previous commands.
> Testind parsing ethernet addresses...
> Error: parsing 01:23:45:67:89:A succeeded!
> Test Failed
> Expected Result
> Explain what is the expected result in text or as an example output:
> Testind parsing ethernet addresses...
> Testind parsing port lists...
> Testind parsing numbers...
> Testing parsing IP addresses...
> Testing parsing strings...
> Testing circular buffer...
> Testing library functions...
> Test OK
>
>
>
> BR,
>
> Wenjie
>
There are two possible solutions. Make the ether_unformat_addr function
more complex and more restrictive. The new version corresponds to the FreeBSD
behavior.
The other possibility is just remove the test case.
I am leaning towards the latter as the least work.
More information about the dev
mailing list