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 ADBBBA0562; Wed, 14 Apr 2021 12:37:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C0A316198B; Wed, 14 Apr 2021 12:37:53 +0200 (CEST) Received: from sender11-of-o51.zoho.eu (sender11-of-o51.zoho.eu [31.186.226.237]) by mails.dpdk.org (Postfix) with ESMTP id 4C106161987 for ; Wed, 14 Apr 2021 12:37:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; t=1618396671; cv=none; d=zohomail.eu; s=zohoarc; b=d/r7WefW9S3coZFKcBMqN2Y/qXSJWsb/G5c950aBxUW+ypjl70OglWEIcz55G3nGBWgXyZ1e16q64BI0R1PGyJnj64dXt/hNJlDPsTh/qC6T0aDEoznukZDW8WaAJ8dB10UPc+oy2fS3Nc0A48TzUuyH1uDLv7sEZMzGsRSsyPw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1618396671; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=eI5K2oBaD/5hWfQDa2D1VUzGt2n7WgFTUyrWgEjsJ1M=; b=a6r9s6HkZrGW60ELh2gHYeUFzCTplIvVfvmxdd+ZMMpS7U8fYjAVWVEXVYga60eIMxIDBr/rwUiyE+nSjKsqGKvCJj06CfCGjGxByp+I5u1YtLUGnpQH3BWfKUz7RcYO07EeUUrLfmGZWue4adYM5VFrXakFwftU2rtbWa7QjA4= ARC-Authentication-Results: i=1; mx.zohomail.eu; spf=pass smtp.mailfrom=liangma@liangbit.com; dmarc=pass header.from= header.from= Received: from C02F33EJML85 (153.185.242.35.bc.googleusercontent.com [35.242.185.153]) by mx.zoho.eu with SMTPS id 1618396670167333.8431972153646; Wed, 14 Apr 2021 12:37:50 +0200 (CEST) Date: Wed, 14 Apr 2021 11:37:48 +0100 From: Liang Ma To: Bruce Richardson Cc: dev@dpdk.org Message-ID: References: <20210413182441.GC1185@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210413182441.GC1185@bricha3-MOBL.ger.corp.intel.com> X-ZohoMailClient: External Subject: Re: [dpdk-dev] Question about enable CBDMA with ioat PMD ? 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 Sender: "dev" On Tue, Apr 13, 2021 at 07:24:41PM +0100, Bruce Richardson wrote: > On Tue, Apr 13, 2021 at 06:36:38PM +0100, Liang Ma wrote: > > Hi Bruce, > > I look into current IOAT PMD. I found that looks only support the > > latest DSA device which is part of SPR(Please correct me if I'm wrong). > > However, there still is lots existing CPU that support previous CBDMA > > Intel Quick-DATA technology. SPDK enable those device with uio. > > Any hint to enable those CBDMA device with IOAT PMD ? > > > > Hi Liang, > > These devices are still supported by the driver. In the latest releases the > new device support was added but no older device support was removed. > Please let us know if you do hit any problems with running it on the CBDMA > HW devices, because it should all still be working as before. > > Regards, > /Bruce Hi Bruce, I hit a problem with CBDMA enabling. 1. I follow the DPDK IOAT driver Doc, I bind 0000.04.0 device with dpdk-devbind.py 2. I run dpdk-test without any parameter then dpdk-test complain with EAL: VFIO support initialized EAL: 0000:00:04.0 VFIO group is not viable! Not all devices in IOMMU group bound to VFIO or unbound Requested device 0000:00:04.0 cannot be used 3. kernel boot parameter include the "intel_iommu=on" If I still need some extra iommu settings for CBDMA device ? Regards Liang