mbox series

[v9,00/11] ether: improvements and optimizations

Message ID 20190708182614.1677-1-stephen@networkplumber.org (mailing list archive)
Headers
Series ether: improvements and optimizations |

Message

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

v9
   add missing librte_net for new octoeonx2
v8
   set rte_errno in rte_eth_unformat_addr
   drop ether_address alignment patch. Bruce can handle deprecation
   and sending the patches later
v7
   use rte_ether_unformat_addr in more drivers
v6
   add librte_net to axgbe and memif Makefile
v5
   reword commit messages to workaround check-log complaints
v4
   fix meson build
   reword commit messages
   add bonding and tespmd patches
v3 
   rebase to use rte_ether prefix
   drop aligning ethernet headers for now.

Stephen Hemminger (11):
  net/ether: deinline non-critical functions
  net/ether: add function to convert string to ethernet address
  ethdev: use new ethernet parsing function
  net/ether: use bitops to speedup comparison
  cmdline: use new ethernet address parser
  net/bonding: use new ethernet address parser
  app/testpmd: use new ethernet address parser
  net/virtio: use new ether addr parsing
  net/failsafe: use common ether address parsing routine
  net/vdev_netvsc: use common ethernet address parsing
  net/memif: use common ethernet address parsing routine

 app/test-pmd/cmdline_flow.c                   |  5 +-
 app/test-pmd/config.c                         | 10 +--
 app/test-pmd/parameters.c                     | 15 +---
 drivers/net/axgbe/Makefile                    |  2 +-
 drivers/net/bonding/Makefile                  |  2 +-
 drivers/net/bonding/meson.build               |  2 +-
 drivers/net/bonding/rte_eth_bond_args.c       |  6 +-
 drivers/net/failsafe/failsafe_args.c          |  8 +-
 drivers/net/memif/Makefile                    |  2 +-
 drivers/net/memif/rte_eth_memif.c             |  7 +-
 drivers/net/octeontx2/Makefile                |  2 +-
 drivers/net/vdev_netvsc/vdev_netvsc.c         | 10 +--
 .../net/virtio/virtio_user/virtio_user_dev.c  | 10 +--
 lib/Makefile                                  |  3 +-
 lib/librte_cmdline/Makefile                   |  3 +-
 lib/librte_cmdline/cmdline_parse_etheraddr.c  | 71 ++---------------
 lib/librte_cmdline/meson.build                |  6 +-
 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/meson.build                    |  2 +-
 lib/librte_net/rte_ether.c                    | 78 +++++++++++++++++++
 lib/librte_net/rte_ether.h                    | 54 ++++++-------
 lib/librte_net/rte_net_version.map            |  8 ++
 lib/meson.build                               |  2 +-
 26 files changed, 151 insertions(+), 171 deletions(-)
 create mode 100644 lib/librte_net/rte_ether.c
  

Comments

Ferruh Yigit July 8, 2019, 7:13 p.m. UTC | #1
On 7/8/2019 7:26 PM, Stephen Hemminger wrote:
> This is a collection of patches around the ethernet address
> manipulation routines in librte_net/rte_ether.
> 
> v9
>    add missing librte_net for new octoeonx2
> v8
>    set rte_errno in rte_eth_unformat_addr
>    drop ether_address alignment patch. Bruce can handle deprecation
>    and sending the patches later
> v7
>    use rte_ether_unformat_addr in more drivers
> v6
>    add librte_net to axgbe and memif Makefile
> v5
>    reword commit messages to workaround check-log complaints
> v4
>    fix meson build
>    reword commit messages
>    add bonding and tespmd patches
> v3 
>    rebase to use rte_ether prefix
>    drop aligning ethernet headers for now.
> 
> Stephen Hemminger (11):
>   net/ether: deinline non-critical functions
>   net/ether: add function to convert string to ethernet address
>   ethdev: use new ethernet parsing function
>   net/ether: use bitops to speedup comparison
>   cmdline: use new ethernet address parser
>   net/bonding: use new ethernet address parser
>   app/testpmd: use new ethernet address parser
>   net/virtio: use new ether addr parsing
>   net/failsafe: use common ether address parsing routine
>   net/vdev_netvsc: use common ethernet address parsing
>   net/memif: use common ethernet address parsing routine

For series,
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Series applied to dpdk-next-net/master, thanks.
  
Bruce Richardson July 9, 2019, 3:01 p.m. UTC | #2
On Mon, Jul 08, 2019 at 08:13:06PM +0100, Ferruh Yigit wrote:
> On 7/8/2019 7:26 PM, Stephen Hemminger wrote:
> > This is a collection of patches around the ethernet address
> > manipulation routines in librte_net/rte_ether.
> > 
> > v9
> >    add missing librte_net for new octoeonx2
> > v8
> >    set rte_errno in rte_eth_unformat_addr
> >    drop ether_address alignment patch. Bruce can handle deprecation
> >    and sending the patches later
> > v7
> >    use rte_ether_unformat_addr in more drivers
> > v6
> >    add librte_net to axgbe and memif Makefile
> > v5
> >    reword commit messages to workaround check-log complaints
> > v4
> >    fix meson build
> >    reword commit messages
> >    add bonding and tespmd patches
> > v3 
> >    rebase to use rte_ether prefix
> >    drop aligning ethernet headers for now.
> > 
> > Stephen Hemminger (11):
> >   net/ether: deinline non-critical functions
> >   net/ether: add function to convert string to ethernet address
> >   ethdev: use new ethernet parsing function
> >   net/ether: use bitops to speedup comparison
> >   cmdline: use new ethernet address parser
> >   net/bonding: use new ethernet address parser
> >   app/testpmd: use new ethernet address parser
> >   net/virtio: use new ether addr parsing
> >   net/failsafe: use common ether address parsing routine
> >   net/vdev_netvsc: use common ethernet address parsing
> >   net/memif: use common ethernet address parsing routine
> 
> For series,
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
> 
> Series applied to dpdk-next-net/master, thanks.

Deprecation notice for dropped patch:

http://patches.dpdk.org/patch/56271/