From patchwork Tue Jul 2 16:50:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55895 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EBB1C1B999; Tue, 2 Jul 2019 18:50:27 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 00E171B964 for ; Tue, 2 Jul 2019 18:50:26 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id x15so8551007pfq.0 for ; Tue, 02 Jul 2019 09:50:26 -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=1ybIg3QiA/5QsMt6Me2cRv3j2NxJ13WaVc9kSdKMvX0=; b=je7JNzxp4Z+KrIzR0TM2/O+5tTN75ZkHJxmZnwhVT8mM/FvaVJExLuWhZo97+ZgXfR elTx3UH8RFkHyh+cysCaktc4zzxNqYWRX63XlvLrLiZvRcH9l04Nh8OOVrxZnFI+2q5T a2e5SAQbgmDNBlCJeHNqsiipIM2o9ekKp4uaAFrXo1BOh8DXsF4XYWHV70KG2hB603A5 wIirJ6YbOXxh6HDOrpSIGkbP99m0+bAnJrChK3p4G+1SzoAG+Vh6/cvnGBC0oS9CazX+ 6a/Ec2rnuKUcL5fos5AsHx1Qu2hOev4GubxMLLpEgpi4LKpgTmgRK0SgqG/WiadtX1Un Y7Xg== 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=1ybIg3QiA/5QsMt6Me2cRv3j2NxJ13WaVc9kSdKMvX0=; b=MeC293SHEF1xUS1Y/gDr6KkWfGq1+LxMvgzdC1V20/sp+rJCY3nIQqUA0oaeo/dGUK LBX/Xk8aSuePclyg3kDpY4Wtg6kVWJmWdRxfzQx1hUILrspmUZW0oVMlZ3iI2lbKKvvW CFfmqu8P8sKcuofKli+kjUSQRsDcbOiWLK5ATPcTdPFRVTQphLnZ/CIjhf25z5np+P/U D0A8N/4X7b/e0eTRsLQf1IaYftiOSfktB2PUMw0FtzJ7dtNyfinjJn0Vpr4HYVKCW0ms XdUDXu4oRVidqzFlY/VNhCQC/xetKGT1/gQ0OfpJ0p/xtY9rgcv67Jh32Fqac/CUDErO qKIg== X-Gm-Message-State: APjAAAUZZboYehHFyiNgCAMfk6zKTDzdYoYSsRBx/uLdypUn4LcdSI1n rIcTr3b1lwxabEHRwgo6fot15ydL X-Google-Smtp-Source: APXvYqzVgaxPkOG8BXkr1ZkACs8NDBvRTeiLFc5xGQMdAG3Ka/m7B88oWPWWdoJYITINt7x9gVUNCg== X-Received: by 2002:a17:90a:2ec1:: with SMTP id h1mr6679683pjs.119.1562086225278; Tue, 02 Jul 2019 09:50:25 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h62sm14340230pgc.54.2019.07.02.09.50.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 02 Jul 2019 09:50:24 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 2 Jul 2019 09:50:09 -0700 Message-Id: <20190702165017.3802-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 Subject: [dpdk-dev] [PATCH v6 0/8] net/ether: enhancements 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. 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. Bruce Richardson (1): net/ether: mark ethernet addresses as being 2-byte aligned Stephen Hemminger (7): net/rte_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 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/memif/Makefile | 2 +- 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 | 76 ++++++++++++++++++++ lib/librte_net/rte_ether.h | 59 +++++++-------- lib/librte_net/rte_net_version.map | 8 +++ lib/meson.build | 2 +- 21 files changed, 144 insertions(+), 144 deletions(-) create mode 100644 lib/librte_net/rte_ether.c