[PATCH v3 0/4] rte_ether_unformat_addr related changes
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 3 22:29:05 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.
v4 - fix spelling errors
don't allow leading zeros in Cisco 3 part format
incorporate tap patch to use unformat addr
David Christensen (1):
net/tap: use rte_ether_unformat_address
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 | 8 +-
app/test/test_net_ether.c | 165 ++++++++++++++++++++++++++++++
drivers/net/tap/rte_eth_tap.c | 25 +----
lib/net/rte_ether.c | 85 +++++++++++----
lib/net/rte_ether.h | 10 +-
6 files changed, 243 insertions(+), 51 deletions(-)
create mode 100644 app/test/test_net_ether.c
--
2.39.2
More information about the dev
mailing list