From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F298426B2; Tue, 3 Oct 2023 22:29:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 07DB640297; Tue, 3 Oct 2023 22:29:22 +0200 (CEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 165A740262 for ; Tue, 3 Oct 2023 22:29:20 +0200 (CEST) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1c61bde0b4bso11813565ad.3 for ; Tue, 03 Oct 2023 13:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1696364960; x=1696969760; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zsKnJxtOorSbKuOFstvNfL3OQODo8fKEEGlzyOVvsUc=; b=hUzgH8boaC7gjvYUnRvakEMF9bMrkfpvH9BovgeLDVcMc+vfvg660sbYVQ1Oeogv9h obDYSBdxupobrQwOGmOuWbi9rHCzjN3QVLybV4XSKZAJ0po98jqm4bthO01Xt2++nE+O WScjv2kmmnGrOUKJUPXTqgdVjZDhQRfF1VxKyLl/FMrbLja/J9Ht/b9mNTnikI1DkTwF +N/4CmOBoB0WkhJX1GW5cepMb+0fG5vl0CSBw6ndKz2w01+1xBqDGoW2LZVwkfcWmeY8 +XwThCZK+j3CVFPHzXWuq/BuXDSqtJDUBMS7VqKBXluxjlmCzwKTCkZoxct0zv7rI7lX 8EOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696364960; x=1696969760; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zsKnJxtOorSbKuOFstvNfL3OQODo8fKEEGlzyOVvsUc=; b=Eng3xverCquyO+zr7WBUfXSvqKXIMbZGM0F/JaXZBTbfAsqrFKjfV+qzjeb6oT37pe XBEKsJll9II/zXdOI4Ps6NBaVpgoOPD+NqOK+tGIIlqgtY8HapEvhIte2foh1B4PpUEW Xr0KBYOezEdpeV/kC1DNnMzoyilOFT4gmCdW4lQWwFFldLGaGVtm0duJxgsVBBheaBn7 aYItWN2gOqvriuwjfl1HRov1woHQKPNjoiUMHXUUbEXOwL7n3kKcmZUsDdk5HgxIKyWX smj0t7f2kZMf91ajsFNSogwAqTpYmDIutBGAQCLxpqpd8KnWYxV2rWDenAX+N8FjxnDc JEEw== X-Gm-Message-State: AOJu0YyVUQ0FH+FIg9oUTtEC7nUW9HB1t08SvgzpK/ls/b8uYEcp7rUI oWf1EhOtrnZ51R9OtCANJjoLYQFc6SjWOjAjm/Q= X-Google-Smtp-Source: AGHT+IEG1oyliTUFyDc6GjGfGYR5JczetAFXg91rQkVsbXTBqTJ+uJreSXHNMKsLu3cb8PzG4VpNog== X-Received: by 2002:a17:902:c94e:b0:1c7:245a:7fea with SMTP id i14-20020a170902c94e00b001c7245a7feamr799074pla.58.1696364959674; Tue, 03 Oct 2023 13:29:19 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id a11-20020a1709027d8b00b001c5f62a639asm2014138plm.196.2023.10.03.13.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 13:29:19 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 0/4] rte_ether_unformat_addr related changes Date: Tue, 3 Oct 2023 13:29:05 -0700 Message-Id: <20231003202909.391330-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230929163611.62691-1-stephen@networkplumber.org> References: <20230929163611.62691-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patchset makes rte_ether_unformat_addr allow other formats for MAC address. Need to remove some inputs from existing cmdline_etheraddr test, and add a new test in test suite to cover this. There is some overlap between the two tests but that is fine. v4 - fix spelling errors don't allow leading zeros in Cisco 3 part format incorporate tap patch to use unformat addr David Christensen (1): net/tap: use rte_ether_unformat_address Stephen Hemminger (3): test: remove some strings from cmdline_etheraddr tests rte_ether_unformat: accept more inputs test: add tests for rte_ether routines app/test/meson.build | 1 + app/test/test_cmdline_etheraddr.c | 8 +- app/test/test_net_ether.c | 165 ++++++++++++++++++++++++++++++ drivers/net/tap/rte_eth_tap.c | 25 +---- lib/net/rte_ether.c | 85 +++++++++++---- lib/net/rte_ether.h | 10 +- 6 files changed, 243 insertions(+), 51 deletions(-) create mode 100644 app/test/test_net_ether.c -- 2.39.2