[PATCH v2 0/3] rte_ether_unformat_addr changes
Stephen Hemminger
stephen at networkplumber.org
Mon Oct 2 20:37:27 CEST 2023
This patchset makes rte_ether_unformat_addr allow other formats
for MAC address. Need to remove some inputs from existing
cmdline_etheraddr test, and add a new test in test suite
to cover this. There is some overlap between the two tests
but that is fine.
Stephen Hemminger (3):
test: remove some strings from cmdline_etheraddr tests
rte_ether_unformat: accept more inputs
test: add tests for rte_ether routines
app/test/meson.build | 1 +
app/test/test_cmdline_etheraddr.c | 11 +-
app/test/test_net_ether.c | 169 ++++++++++++++++++++++++++++++
lib/net/rte_ether.c | 87 +++++++++++----
lib/net/rte_ether.h | 9 +-
5 files changed, 248 insertions(+), 29 deletions(-)
create mode 100644 app/test/test_net_ether.c
--
2.39.2
More information about the dev
mailing list