[v3,0/4] rte_ether_unformat_addr related changes

Message ID 20231003202909.391330-1-stephen@networkplumber.org (mailing list archive)
Headers
Series rte_ether_unformat_addr related changes |

Message

Stephen Hemminger Oct. 3, 2023, 8:29 p.m. UTC
  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