From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9F4AAA00E6 for ; Mon, 8 Jul 2019 20:26:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 801A01B9A9; Mon, 8 Jul 2019 20:26:24 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id E5110160 for ; Mon, 8 Jul 2019 20:26:22 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id i2so8704585plt.1 for ; Mon, 08 Jul 2019 11:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KoOvWLjsbp4yRerASNePLuF0+v2cHxPqs1MFWYwS7OU=; b=mLnFZs9Rg0R1kH5ydN95v+ghBLAND1hS4iyljvSNCA57uVne3bLvW3947TrGZAnifa Jh9kBW5kUTyMq4KETFR2101jkMvAeIy+MLVd0ii8chz67HRlYoEPDHMZSqggD4dOK6n8 DGc66JUcmRcyKSB+aNPM/X+GoH/gTrkY95j+ZAzOVubuaBG3w1YeL+18Unqjnu3yLuJq WLEVupHskvIqnyLAgfSDm/RVl0KprRazMfVHf8os+oswWWLBAXgoFYb03+iPP3AyRkpd P6hRr7bEvnmlif6cxPkaA37C5pgpjxzclWYxHBR1Dum38/QcHQDQEl7e4umFYAXM4let poUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KoOvWLjsbp4yRerASNePLuF0+v2cHxPqs1MFWYwS7OU=; b=SvdP1LYyWlHhio0abUs0XYpZ9X043jSKVm5FOl2pmYdXddfaHOdT/ySiwk6gx1i9H0 qsTJFBzMjX4nWLduxcDJWUx94fgG9UK+J3ymTpBX74NVqI/x9Kg68kqbSCMqM8eN+IGg 2TATM0iAG/kRTZZQsZPamCvT62t7NfyOkg4t51a7DV+FKVIjfom+JPBtUW9ZKhnnBXuV dwdD6Cj0xu6yDTX16GKwEp7F5oMeenM5+1N8FMkfN1cHoTmNezm44JvezgCjwWA4cR2S 9tksxFW2G+Has2/kke349c6X0j7LUj4L7MJdyQ9xEkQNJe0JlYeasSgC4cDoeoGXAHSR 7HbQ== X-Gm-Message-State: APjAAAWuLY5+Tu2Sy9eEIc33XZi66/ki+zNNx9yW7NilkNf4/dqRwlRR 2wWxnUCc2D5yeR4zIKvoTzv8YPGbac4= X-Google-Smtp-Source: APXvYqw3pn3wt9ft9Hdz3+aPWsWIZeIKjHOfI5XnPTMKGhajqu14WU7K5TVjbEya8sPe+GDzTcggFg== X-Received: by 2002:a17:902:2884:: with SMTP id f4mr26228633plb.286.1562610381922; Mon, 08 Jul 2019 11:26:21 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id o15sm18769295pgj.18.2019.07.08.11.26.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 11:26:21 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 8 Jul 2019 11:26:03 -0700 Message-Id: <20190708182614.1677-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190516180427.17270-1-stephen@networkplumber.org> References: <20190516180427.17270-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v9 00/11] ether: improvements and optimizations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 -- 2.20.1