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 AFB8BA0C4B; Tue, 9 Nov 2021 04:57:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CAFC40687; Tue, 9 Nov 2021 04:57:53 +0100 (CET) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mails.dpdk.org (Postfix) with ESMTP id BE91A40151 for ; Tue, 9 Nov 2021 04:57:51 +0100 (CET) Received: by mail-lj1-f171.google.com with SMTP id 1so33642081ljv.2 for ; Mon, 08 Nov 2021 19:57:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5PqDs8u2Hqt4tuXnMsNU+vSI+kB64QM0nM46yB9xldI=; b=mqcRfDoYj8zzAPipXsZm563s+MiVZxtZRtc75ECMFOz9ItQEdxYCzphJgwCYVtrNCF oZiprydsKjSv7q5rpACA8LJBIUATkjryT/NBWeQLzL5UyOcsolg9G4IrXZOxw3EAXd+L zOxt6giop6vLYcfnD/J6DjL2DXoC1YYTG4MWU5gHonZOWBNWtmDZ6At2ulZ5skyGf1cB 7bGYhMILJ7yuj17KncxqiWsqa5Er2gZKggdw5+UPXPDVbEJGM91HVO885WDLy2lF8yT9 E8mAxZzYvUqxvzwiR1XpVYZtiQTBfI4lTv8OpMFVgEHAoZgv7qeqlUgFqHlykVlFGCFi rmsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5PqDs8u2Hqt4tuXnMsNU+vSI+kB64QM0nM46yB9xldI=; b=eefmfRXz1umku/lNvmAsLJlFu31qLz+Ju8+v6YKzEb1h1J4Je1xqhlbyYQDcnKCRDr shB67jWh+Pq4AE1sprv3bSFG0/MDqawoxqG3Z/T+I6xTTdWshKohaRhYBAiy6omBjwHP W445u/hCLJYQZ8fFs/+RCKHW9Jm67d1pDVc4mo3bJ2wxlD5rocIjSaYeAnDnaJnSQ+pl 4ZfkaMfTUuxkdQj/Om66x3dj56NheXIBMTTxypSkRA9JryHkLziLdsfvG+LD1jivsTT6 6703hjoFrZ8mZ/KaIkv3eRYc5whkOBMK29P5vU6gpe6YIDYPtzCXB3FBmrqZXOFDkzGQ Tipw== X-Gm-Message-State: AOAM5307hM+T6V33KAKstnSlxr7X5IbmViTXCSmG81NDyLZr0+M9Oh8C deABXyp8GbNj7+Wse3bBWvRH42SGut0IBopiA4E= X-Google-Smtp-Source: ABdhPJxrc+UScd+Fo8SaTHuu+rbv9iColxPNClKik7YIQv375vPN9tiEX8fAPNTgKa0P6I1tGCYC+NI6d/DPIQc+KJU= X-Received: by 2002:a2e:b5a1:: with SMTP id f1mr4439576ljn.48.1636430271087; Mon, 08 Nov 2021 19:57:51 -0800 (PST) MIME-Version: 1.0 References: <20211107225708.3087968-1-thomas@monjalon.net> In-Reply-To: <20211107225708.3087968-1-thomas@monjalon.net> From: Radha Mohan Date: Mon, 8 Nov 2021 22:57:39 -0500 Message-ID: To: Thomas Monjalon Cc: dpdk-dev , Jerin Jacob Kollanukkaran , Radha Mohan Chintakuntla Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] usertools/devbind: remove octeontx2 DMA device 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 Sun, Nov 7, 2021 at 5:57 PM Thomas Monjalon wrote: > > The DMA raw driver for octeontx2 was removed in DPDK 21.11. > The binding ability is also removed in the same release > to be consistent. > > Fixes: a59745ebccf0 ("raw/octeontx2_dma: remove driver") > > Signed-off-by: Thomas Monjalon > > --- > > Is there a reason to keep it? Need to modify. > --- > usertools/dpdk-devbind.py | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py > index af9a0ad5ab..95921b2281 100755 > --- a/usertools/dpdk-devbind.py > +++ b/usertools/dpdk-devbind.py > @@ -41,8 +41,6 @@ > 'SVendor': None, 'SDevice': None} > octeontx2_npa = {'Class': '08', 'Vendor': '177d', 'Device': 'a0fb,a0fc', > 'SVendor': None, 'SDevice': None} > -octeontx2_dma = {'Class': '08', 'Vendor': '177d', 'Device': 'a081', > - 'SVendor': None, 'SDevice': None} > octeontx2_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', > 'SVendor': None, 'SDevice': None} > cnxk_bphy = {'Class': '08', 'Vendor': '177d', 'Device': 'a089', > @@ -80,8 +78,8 @@ > mempool_devices = [cavium_fpa, octeontx2_npa] > compress_devices = [cavium_zip] > regex_devices = [octeontx2_ree] > -misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, intel_ntb_skx, > - intel_ntb_icx, octeontx2_dma] > +misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, > + intel_ntb_icx, intel_ntb_skx] > > # global dict ethernet devices present. Dictionary indexed by PCI address. > # Each device within this is itself a dictionary of device properties > -- > 2.33.0 > diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index bb00f43702..643860b3ae 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -41,7 +41,7 @@ 'SVendor': None, 'SDevice': None} octeontx2_npa = {'Class': '08', 'Vendor': '177d', 'Device': 'a0fb,a0fc', 'SVendor': None, 'SDevice': None} -octeontx2_dma = {'Class': '08', 'Vendor': '177d', 'Device': 'a081', +cnxk_dma = {'Class': '08', 'Vendor': '177d', 'Device': 'a081', 'SVendor': None, 'SDevice': None} octeontx2_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', 'SVendor': None, 'SDevice': None} @@ -71,13 +71,14 @@ network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class] baseband_devices = [acceleration_class] crypto_devices = [encryption_class, intel_processor_class] -dma_devices = [intel_idxd_spr, intel_ioat_bdw, intel_ioat_icx, intel_ioat_skx] +dma_devices = [intel_idxd_spr, intel_ioat_bdw, intel_ioat_icx, intel_ioat_skx + cnxk_dma] eventdev_devices = [cavium_sso, cavium_tim, intel_dlb, octeontx2_sso] mempool_devices = [cavium_fpa, octeontx2_npa] compress_devices = [cavium_zip] regex_devices = [octeontx2_ree] -misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, intel_ntb_skx, - intel_ntb_icx, octeontx2_dma] +misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, + intel_ntb_skx, intel_ntb_icx]