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 F351E45B1F for ; Sun, 13 Oct 2024 00:21:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2485402DA; Sun, 13 Oct 2024 00:21:00 +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 6E326402C4 for ; Sun, 13 Oct 2024 00:20:58 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-20ca96a155cso13819715ad.2 for ; Sat, 12 Oct 2024 15:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728771657; x=1729376457; 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=QQcEWt40wc909tnyKKXNJYv0SRxTqjTf7ko8gav+Hh8=; b=k8r8YZEJuiCgFcc4+pm6Uo8cywgPqa97HWj9OOGjevcGgYiLf3fy5nrE6hlofuSjyK sfW7ZgQcjKhR/YUW4H1PrqVVgaOuTXFnBBR0jW9yWa0GD3c+YILgeLQ6m8OK5Hv9AV4C cdoOtPyqKIjHJx+bObQOruzD32cu+CvGfPTglDToQhnjV0CSNLO+S+qbNl8AnvRJ9xxg +9wrKSp/FB14wvlkjqyxw4RReHTF9qd/STrSGozp0O+MHbAfMGHoL/oLkKS0nPSSt/yp KvrdLZ2bcKWr3Q6JPXjFBGRV0z+Nlp7XKTUuhw0yhnsDr2wqe5D2C7OJvZWQs1XLHCHi wIPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728771657; x=1729376457; 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=QQcEWt40wc909tnyKKXNJYv0SRxTqjTf7ko8gav+Hh8=; b=KbUvLwnogHrq9140kwFQCMmsQwODBNOW9gYazGBie8H1cYCmRbaJ/ppDwMu6mp14Tw X+htl/5zoO2ilB3DHt0d8u+XBg5WplP5C6appKr4Enog5jj1UNseh0v2ce4hT6EyDoPq ow5ItA2uGlOKB28eUO2D+41BRRG6CGAXCCRut5Uc3GUHGQidWBJV8ThGwIJXDT0EVZ4u 6z3YtmDDasdtPSeOiwryaIMDLzKPJDtOFQlocyOzTYtgvqZnXZZoNGSDW1xiEa4VPaAc 4NuaqsFoA0SGGKeWH8fkHgin0wlvGpaxupmwgSclFD2f5w4+zlfeUvFysLAdP6YZ5KR9 mJ5g== X-Forwarded-Encrypted: i=1; AJvYcCXzVFpkSXyOcvo8ljFW5ANvPM1bAFXvU+DdrBqzEURWYdufl/Oh1s11ZEfLQ/v1HLVkO4C0SWM=@dpdk.org X-Gm-Message-State: AOJu0Yx4NnXLzCpiPqMS+is6vJyl71nhkC3rAlpNtDM6CCT6MLJbWL8+ q1V+zXsLkO2jueaaKlwij0i4HY7GLPIlOpeMn6KAjqcumbXHKDSFrN0kLDsXK+M= X-Google-Smtp-Source: AGHT+IGgeTYF91TCv7bvN16PIwHoSJmIh79PH5CXsOQu/XZO1KRUy50B1YnX6E+TnrpLQq78Pg05vg== X-Received: by 2002:a17:902:e546:b0:20b:9078:707b with SMTP id d9443c01a7336-20ca14716ffmr89166555ad.30.1728771657360; Sat, 12 Oct 2024 15:20:57 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c8bc3e6fcsm41522175ad.118.2024.10.12.15.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2024 15:20:57 -0700 (PDT) Date: Sat, 12 Oct 2024 15:20:55 -0700 From: Stephen Hemminger To: Mingjin Ye Cc: dev@dpdk.org, stable@dpdk.org Subject: Re: [PATCH v2] test: fix option block Message-ID: <20241012152055.0ed85c3f@hermes.local> In-Reply-To: <20241012093519.1500942-1-mingjinx.ye@intel.com> References: <20240314094626.1068059-1-mingjinx.ye@intel.com> <20241012093519.1500942-1-mingjinx.ye@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Sat, 12 Oct 2024 09:35:19 +0000 Mingjin Ye wrote: > The options allow (-a) and block (-b) cannot be used at the same time. > Therefore, allow (-a) will not be added when block (-b) is present. > > Fixes: b3ce7891ad38 ("test: fix probing in secondary process") > Cc: stable@dpdk.org > > Signed-off-by: Mingjin Ye > --- What is this patch trying to solve? Right now starting dpdk-test with both options together causes an error in EAL init. root@hermes:/home/shemminger/DPDK/main# ./build/app/dpdk-test -a ae:00.0 -b 00:1f.6 EAL: Detected CPU lcores: 8 EAL: Detected NUMA nodes: 1 EAL: Options allow (-a) and block (-b) can't be used at the same time Usage: ./build/app/dpdk-test [options] Therefore it should never get into the process_dup function at all.