From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 37B68A0096 for ; Tue, 4 Jun 2019 00:39:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9571F1B9C8; Tue, 4 Jun 2019 00:39:42 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 5D1C41B9AE; Tue, 4 Jun 2019 00:39:41 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EF18122329; Mon, 3 Jun 2019 18:39:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 03 Jun 2019 18:39:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=aCtu3bxrcTtJXWia0Dp9ljP5gJWVa5GKmlx7NhzHE14=; b=G9U88I/kioxj 6BBR/1EmRAse/tIdbJG3W4Q+cXP+GwKHMssGuJgnn9J0f5MAEjYrbQ8rusJqXMgs nYTo7Lcwy4NxQLrKSatA5fuMyzS/mKuyo5z7Dc2UDDHsLteqxfxndoeUK3fs29cX U95/Z2r9A8FCAONb2D48Eq0sz/AGXlg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=aCtu3bxrcTtJXWia0Dp9ljP5gJWVa5GKmlx7NhzHE 14=; b=rai3SkXi8S4/Q/g20LqwYCWBB2mfTCNO4V2UwivKIi6TgrcHpCdhWlafJ jj2JRC+Sds1u/eO/0p4h2Q5lShShemEDveHc/Cjtu5tbFhGueBAZwxlWx2ut8RoI 5jZkvffOZ2nEYlbZPsEQTKQZeU/0cgt0SIUF9nW37m4RatFJMUIudtSp1uOOExbe xJvlbrAyWhPkI8qobeRaQyqP86f/flv9exK7gKW+rHp5X8YOufJucJU5NXjpSMR0 Nsd0YmV4K0227WWEXHf2IXTE5AQEdeeFXnQ4XrJ8hijqBJFAVwpB92Osi2MWU4U4 5i5T8BUZtZDylFsXWklPoWXyr3/YQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefkedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9CD018005A; Mon, 3 Jun 2019 18:39:39 -0400 (EDT) From: Thomas Monjalon To: Yongseok Koh Cc: dev@dpdk.org, ferruh.yigit@intel.com, anatoly.burakov@intel.com, shahafs@mellanox.com, stable@dpdk.org Date: Tue, 04 Jun 2019 00:39:38 +0200 Message-ID: <13224899.ZynmuodZoU@xps> In-Reply-To: <20190502090754.36154-1-yskoh@mellanox.com> References: <20190502014436.40545-1-yskoh@mellanox.com> <20190502090754.36154-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 1/2] bus/pci: add Mellanox kernel driver type X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 02/05/2019 11:07, Yongseok Koh: > When checking RTE_PCI_DRV_IOVA_AS_VA flag to determine IOVA mode, > pci_one_device_has_iova_va() returns true only if kernel driver of the > device is vfio. However, Mellanox mlx4/5 PMD doesn't need to be detached > from kernel driver and attached to VFIO/UIO. Control path still goes > through the existing kernel driver, which is mlx4_core/mlx5_core. In order > to make RTE_PCI_DRV_IOVA_AS_VA effective for mlx4/mlx5 PMD, a new kernel > driver type has to be introduced. > > Cc: stable@dpdk.org > > Signed-off-by: Yongseok Koh Applied, thanks