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 B4D1B426AE; Tue, 3 Oct 2023 18:38:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A2671402B4; Tue, 3 Oct 2023 18:38:12 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id 1E540402A2 for ; Tue, 3 Oct 2023 18:38:11 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1c5c91bece9so8922555ad.3 for ; Tue, 03 Oct 2023 09:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1696351090; x=1696955890; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Xoo1lmfioTt1vjiDAe12DBWCSOI+Uw6BTrW+LHgNoWE=; b=ior91NUPHhs2C7DnBAk13y1vnauWfXA4ndhkzabRcQlveReTR0EipImYXw6/Dz4UfP ONP5w6myFTvUT0hxIgwrqYjodt+5DCZQLN5KNjcLdbN7kHtXYOwVRZCRQnD5Ruje8Mt/ nFloYtSxU1EalKKhHarHmHqQ2gCp5OGGH7XQ4pUxFVsWpiRzoqZU3a9rO2iWD9VZx2ac Xfw0uFfGBxdzzZXeIQO963+ecdvjGYwfeIsWF44tiq3rLyXheiNCON5t1fG27SIARlBR xbvNDz2SPHQgAumYU6WLwppSom4AdkNWnt+qXN5kufFUhm7OK3YVi+mwxO7S9PzIPymw EX1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696351090; x=1696955890; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xoo1lmfioTt1vjiDAe12DBWCSOI+Uw6BTrW+LHgNoWE=; b=RwGOADxu3d/XPI24xLiX0FvpwmZlM1lYOF6scuBwurVFGyWM09PErRLxwiUOybEuD+ w1Gmkb6m2IVe+nV67PbsFQwKIemYvEv2patm/k02ljIrLcndkyC8lPhYMkwFpk/XJbbY 2t5fXfAC0PpKlHzRzNfVHSvLTCZXpSyp3mMIkN/cn11JOU4HjKob/LeX6MjxAPlOT/9b 417Y/dujcj9WXEFVl10zMmaUpqQJvN4pfCH7+Q7QpGNeZ/lt3tabfCVpmo4Ww6Of/tDh yGdFMqVp4TNhlkiLjBm21wRppRUtav5gkK5bEOso2Gq/AwUKI+wVUAX5rNxkh1P0OiGC /mvg== X-Gm-Message-State: AOJu0YwR2JRHNF4rckB0Q7JJXTRYKioohucQpDJXJT1inkaICC8/PFNP /taNqVviagiB43JDYWNDoScY8g== X-Google-Smtp-Source: AGHT+IF/8ncpdWbmMVQCVGwwVt7xsbmwK7ibAplysko6VKmESDE0CFMmlpIC01pIae18Axumul/BBA== X-Received: by 2002:a17:903:1252:b0:1c6:d70:144d with SMTP id u18-20020a170903125200b001c60d70144dmr84230plh.34.1696351090248; Tue, 03 Oct 2023 09:38:10 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id bc9-20020a170902930900b001adf6b21c77sm1794924plb.107.2023.10.03.09.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 09:38:10 -0700 (PDT) Date: Tue, 3 Oct 2023 09:38:08 -0700 From: Stephen Hemminger To: Ferruh Yigit Cc: dev@dpdk.org Subject: Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests Message-ID: <20231003093808.51c5bf11@hermes.local> In-Reply-To: <89a6ef0b-1cbf-4ebf-b0d8-c900271152da@amd.com> References: <20230929163611.62691-1-stephen@networkplumber.org> <20231002183730.301163-1-stephen@networkplumber.org> <20231002183730.301163-2-stephen@networkplumber.org> <89a6ef0b-1cbf-4ebf-b0d8-c900271152da@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 3 Oct 2023 11:59:04 +0100 Ferruh Yigit wrote: > Ah, I guess it is taken as "XXXX:XXXX:XXXX" format, but number of digit > is not enforced, so "1:2:3" is a valid format, should we add this to API > documentation as example format? Or is this unintended side effect? By allowing leading zeros, it becomes allowed. DPDK always allowed the non-standard 3 part format. Looking around only old Cisco ACS used 3 part MAC format and it used periods. The API documentation should mention leading zeros are optional.