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 1F95245AC5; 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 B522F402C4; Sun, 13 Oct 2024 00:20:59 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id 6B623402AB for ; Sun, 13 Oct 2024 00:20:58 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-20cdb889222so932685ad.3 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=Bvfx5c1PORBiYydv0aAGWa6S+35JNM46/enW40AK8nw/22v56Y0HvhzvjpX92cj6ny qma8ae6pmEeVhLMwJxqNI38GLPyxp5omx7Ej6UpPfJhkZArCBUB3zZpFCIXPWt+J9/1G DTvq6m3Az3FdrWVuBF1Ckav3YmigE9idf1NM1VdPLiGBNBtZE+L/CKcHrbJkbXUOz322 9seUS2kYMWFWUEYqLhpwO6pO6YM7lO5GOdfRmr0EdgfI3ZHWxoDq93+ae5TfyanCKjRP 8R8l5obBpBclVTEI+b9yQDxg/yf/dLPqpRKtZF7Dxe2v8LupBEW2Xp1eNzceyH4yYq3F x7EQ== X-Gm-Message-State: AOJu0YwRrMt2pB8j1z0ThLXw8xrOoRmjLwhbMcFYtgFHCnGLCIw7vwcp ehoF6OfvKAaqDJW/rmLy8/mFKb4VZ2qDQOjQo1Fwady37jaVdmrDj2pfZgAmao0= 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: 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 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.