[dpdk-dev] [PATCH v2 0/7] ether: improvements and optimizations

Stephen Hemminger stephen at networkplumber.org
Thu May 16 20:04:20 CEST 2019


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

-- 
2.20.1



More information about the dev mailing list