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 841D6A0487 for ; Wed, 3 Jul 2019 00:12:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 266C91BDF1; Wed, 3 Jul 2019 00:12:52 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by dpdk.org (Postfix) with ESMTP id 284361BDED for ; Wed, 3 Jul 2019 00:12:51 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id m7so26270pls.8 for ; Tue, 02 Jul 2019 15:12:51 -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=V/8Z/ILJuQUDnRV8nzKBpFFdtX5EYabDl7Syugu12FQ=; b=0PNx+54FyBr9R26sb2tJbJsuxV6DBPXidEKfX39ExXToUB5iuOZo14q/7MbU3FlAyD SWxST8EOF2NU458mTL9/+LmgS5N17R1oSyvR0dUvQyop6d7bgwXUmtGpmmhnstPxkc+M U/KSpu+Sk8WX8EiT0xo+tEmCYo6Su/yYD/r2ow/6ek3MfOVErnCA0yZxFnHZg3GCJpPX TZU3XJVI/CcHvsdHL3Dqx/XxTD+0z/Qr6F8LJQu3PDnTRxeVPBAUN9K2Ie3dmfweHGgF YK50EjXqM8ASdcRr1KEKeM85KefUN15d4HaAjN15q+updcSFXgkQ83n8RpcoVB/vAYE2 obNw== 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=V/8Z/ILJuQUDnRV8nzKBpFFdtX5EYabDl7Syugu12FQ=; b=r4cXfQal/rsoAzZKDD3nuTrXo98Ul/B/XCX3HTKV38UlIqmUTnMn9qahTUS9y6tK61 wdtCduzXNwjePxdFakVtyY9X4fWjVupoCdyIbEshtYZC4Nw0NKkLUeIS6H3zmr9NcoiT a/c82fXWa4+tcssm3ZQZoC241RLqkvL+aM/dtcRo2hrQQpIZJwQtCCGnACZMoT7xRYwR m+sy7H2DGut9zz8OMhe8oU82deV3FwDWu3G7NU4EnFNwijXIVFGNDI+cFE7YcmKcv8tJ fVoZjBjfDXtIt5qAlyuYEoli8Fei9UmwJ1tLEQedV4QbKYT/C0eS+3gq0SlTW+96KVqP 62HQ== X-Gm-Message-State: APjAAAXxv3Oxu8gnxR7obf9PjuSuEd0396HiQZxY04Ec3kraEIlMiV/c pvgG2/coLEl4/tvQ1d59xnbFJj1SQrA= X-Google-Smtp-Source: APXvYqz58oh/OiPDY77G8Q+yJp7un9F8kU5MrumnylKDREg+9et62q1Y1DFWKJcsrIcBSjeME5RBTA== X-Received: by 2002:a17:902:9a82:: with SMTP id w2mr37523290plp.291.1562105570038; Tue, 02 Jul 2019 15:12:50 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id q4sm25035pjq.27.2019.07.02.15.12.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 02 Jul 2019 15:12:48 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 2 Jul 2019 15:12:35 -0700 Message-Id: <20190702221247.28391-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v7 00/12] 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. 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. Bruce Richardson (1): net/ether: mark ethernet addresses as being 2-byte aligned Stephen Hemminger (11): 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 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/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 | 76 +++++++++++++++++++ lib/librte_net/rte_ether.h | 59 +++++++------- lib/librte_net/rte_net_version.map | 8 ++ lib/meson.build | 2 +- 25 files changed, 151 insertions(+), 172 deletions(-) create mode 100644 lib/librte_net/rte_ether.c -- 2.20.1