mbox

[v2,0/7] ether: improvements and optimizations

Message ID 20190516180427.17270-1-stephen@networkplumber.org (mailing list archive)
Headers

Message

Stephen Hemminger May 16, 2019, 6:04 p.m. UTC
  This is a collection of patches around the ethernet address
manipulation routines in librte_net/rte_ether.

This does not include the prefixing of the ether_address
which is still under review.

v2 incorporates feedback and Bruce's alignement patch

Bruce Richardson (1):
  ether: mark ethernet addresses as being 2-byte aligned

Stephen Hemminger (6):
  ether: do not mark ethernet address and header as packed
  ether: deinline non-critical functions
  ether: add eth_unformat_addr
  ethdev: use eth_unformat_addr
  ether: use bitops to speedup comparison
  cmdline: use ether_unformat_addr

 lib/Makefile                                 |  3 +-
 lib/librte_cmdline/Makefile                  |  3 +-
 lib/librte_cmdline/cmdline_parse_etheraddr.c | 69 ++----------------
 lib/librte_cmdline/meson.build               |  3 +
 lib/librte_ethdev/Makefile                   |  2 +-
 lib/librte_ethdev/meson.build                |  2 +-
 lib/librte_ethdev/rte_class_eth.c            |  9 +--
 lib/librte_net/Makefile                      |  1 +
 lib/librte_net/rte_ether.c                   | 76 ++++++++++++++++++++
 lib/librte_net/rte_ether.h                   | 70 +++++++++---------
 lib/librte_net/rte_net_version.map           |  8 +++
 11 files changed, 134 insertions(+), 112 deletions(-)
 create mode 100644 lib/librte_net/rte_ether.c