From patchwork Mon Jun 24 20:44:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 55267 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 E4E731BC78; Mon, 24 Jun 2019 22:44:45 +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 0CD6F1BC00 for ; Mon, 24 Jun 2019 22:44:43 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id 81so8157954pfy.13 for ; Mon, 24 Jun 2019 13:44:43 -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=9J1SYTJXVVttGrv6k+n+MFfCJrEEf7IpSc7OsvOVKb4=; b=FLexbwNFZ7b+zzrCFfkDpM1bl6O/YBqG8aioL/xTfADCB9idZSQ93nEWk+CcwkuLMP dW5e72AQf0HaldFVey4VfwA961a64x6XO49ePKTnwe/APfkVDKo9az8tGfyiKFhjCMe+ QkqwFefOSZMHmcZWQP439l1LZx5XZtMBycIlvwJ7kgilLrO5xFA9DmwD6WeHOHSSZVyJ iIw3vGIWHTZw5O1qjsQCI1pvvksZW1n5F28FA+szuIrKaiUIVgPUYd565Y/Se5oVJlCL B6lmakEJkhmLOp2IRTxCaMHrM2QSuh5XV3hbUjtRak3xUjmj93FMKNLrCBqRNrO0gy65 +cZQ== 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=9J1SYTJXVVttGrv6k+n+MFfCJrEEf7IpSc7OsvOVKb4=; b=pGbU6SO2TURScUxpiMkleadkvS/cyQm7l+YdWVXXybkGs0j7n6p8E5EEPf07bcFhqN lhdTaZjBW1j+VDKO8jWDA84a5poIGBuInmlcZ9//5RgVREQ2EUOkAgyXEAsTIB0Y7VMs sbte56nARV6H8XHMJbjFUD3wcHxOC1Kwokw8IA9/ElcajdANuRTR2infxvkBuz43jglx oOSklWhWHNW3O+ruT4TUzSooSQu1OFdR+lBIr+SH8CAclCT5nLoqzxuJcwZj/5kGlM0X 3/WqhZ6MoNTMXypws5Pa675UQLW1uFe2IDYZoWLzxB9Llm/IiTU+5VOP1xeMsjLPdc0z E1Rg== X-Gm-Message-State: APjAAAVIlvqgXO4PONYQZuzi6IN2TqgK8wRc41EiggvetBL9SnghIvVj BlLvpaRVYMLN2l/z86Pte3zgUN0LpzQ= X-Google-Smtp-Source: APXvYqz6Um8+lyb/f+0jeJAtkBzSz0kXdxvYnR8sl4P7o7UKnfh6dSZzSFmsoUkzkhIu4vLmgFp1Tw== X-Received: by 2002:a63:e90b:: with SMTP id i11mr10653290pgh.351.1561409082671; Mon, 24 Jun 2019 13:44:42 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id q144sm22061498pfc.103.2019.06.24.13.44.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 13:44:41 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 24 Jun 2019 13:44:27 -0700 Message-Id: <20190624204435.29452-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 v5 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. 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/bonding/Makefile | 2 +- drivers/net/bonding/meson.build | 2 +- drivers/net/bonding/rte_eth_bond_args.c | 6 +- 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 +- 19 files changed, 142 insertions(+), 142 deletions(-) create mode 100644 lib/librte_net/rte_ether.c