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 9998543760; Fri, 22 Dec 2023 18:17:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 887E9402E8; Fri, 22 Dec 2023 18:17:40 +0100 (CET) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mails.dpdk.org (Postfix) with ESMTP id 9CCB8402A6 for ; Fri, 22 Dec 2023 18:17:38 +0100 (CET) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-5cd86e3a9afso1421009a12.1 for ; Fri, 22 Dec 2023 09:17:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1703265458; x=1703870258; 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=R17/WHdGl/jR9nFnAloPDB0xxFt5xRB/p0A4SeDSkQs=; b=Xwoy9I2cyU1Si9cHHmCa3+sXumyIiHSpXg+jm3Am6wVY94DkntnY95uEIDgaRUWzlm SC7HQclW5ohoKzzaBMQswg7Iu6p39QDO8j5jvif+x6/VI2/GNJYPu7T/gKP3rwqwdx07 Zg6arZnATEaPPj5kLl+sdC3P3BFgfCE88PtlrSwsvNOuiaqqhGUb5dBTO6xkP6R5miiZ xc4VCSUaxodaGZIiaCKQtk4KfQWr8FUk1cEuPgJgzlnIhllnr/GLC2HnRk0wz76KdMsR K251uVPPzDUSMQwN13+o4QxIEYibadr5221mMQTzDzb+dFpEERYEHBoV9dCRaWW3E/fI HWHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703265458; x=1703870258; 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=R17/WHdGl/jR9nFnAloPDB0xxFt5xRB/p0A4SeDSkQs=; b=AOzGgTUGjd0wd2XtmD+cyN7Z43W4WdtoXVufLjM+t8sAmxQ0PdtzEYfcb3tOYndc4A 36XCTW2tMhZEsRqN1wIJDUYr9KaUuF79f0hsQj5qC5LYXRKlcuDLOTilVVjwX0P5E5Gi XAEZ6eBvqNqNHmUEdtwPLicLhaQbftG2uzugZdZ3XaiN1wzz3c/Nt0rlgBJrZCwP8fsr mquvCS9F4qzFS1j/yNIp/hZwsWglH9lBGd3WnFjtD2F2LMn6HNxPZvKW9J74zOZ22Jbg OUTHdfOOk6XOjTOwcyw0j21CwSPgGNPR5YJ3f8+DQFTrdyX97cj/PxTlCF7/p2pdX9LJ ERAw== X-Gm-Message-State: AOJu0YxUJZL/Mj37N6tcCy7vJNqfculnr/njeKNozFkfysIszo8HGGSn KzhMmDRL2ZmyUAy/jXiZIp2+xYYgiEbjeQ== X-Google-Smtp-Source: AGHT+IEa6eH+82RXbvjuTp2Hljk5a0HLLzlV+rRLAZAOgYvbaAXsi3zCtRV6nvqNdt2eUh3YC6oEFw== X-Received: by 2002:a17:90b:46d0:b0:28b:d358:d50c with SMTP id jx16-20020a17090b46d000b0028bd358d50cmr3241949pjb.34.1703265457780; Fri, 22 Dec 2023 09:17:37 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id w5-20020a17090a6b8500b0028bd0a43bc9sm4259003pjj.2.2023.12.22.09.17.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:17:37 -0800 (PST) Date: Fri, 22 Dec 2023 09:17:35 -0800 From: Stephen Hemminger To: beilei.xing@intel.com Cc: anatoly.burakov@intel.com, dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@amd.com, bruce.richardson@intel.com, chenbox@nvidia.com, yahui.cao@intel.com Subject: Re: [PATCH 4/4] eal: add new args to choose VFIO mode Message-ID: <20231222091735.0abb5285@hermes.local> In-Reply-To: <20231222194453.3049693-5-beilei.xing@intel.com> References: <20231222194453.3049693-1-beilei.xing@intel.com> <20231222194453.3049693-5-beilei.xing@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 Fri, 22 Dec 2023 19:44:53 +0000 beilei.xing@intel.com wrote: > From: Beilei Xing > > Since now Linux has both of VFIO Container/GROUP & VFIO IOMMUFD/CDEV > support, user can determine how to probe the PCI device by the new > args "--vfio-mode". > > Use "--vfio-mode=container" to choose VFIO Container/GROUP, and use > "--vfio-mode=iommufd" to choose VFIO IOMMUFD/CDEV. > > Signed-off-by: Beilei Xing > Signed-off-by: Yahui Cao Can't this be automatic, users don't need more EAL options.