From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0071.outbound.protection.outlook.com [104.47.40.71]) by dpdk.org (Postfix) with ESMTP id 812F61B51E for ; Mon, 2 Jul 2018 18:56:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1URUMxmhMss4je9hYipqOKz65O62HkfbjjNceJJMHls=; b=G93ks/ldLbOkErPrhFk8CI6PEuypHtinMlkxc8Vb+8OunvhEoC25XV9xIIyinCwpHXR8ggLO8z0t7TpY3Zu45+cs59VPxl4+Y+Udvk0n4GmfXinl5RfmHWKjWqs2lv1w9U24qsTnZyEvZ11FAlU/X3REPCIcmr1XllZvh4F2+Pc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; Received: from hyd1sverma-dt.caveonetworks.com (115.113.156.2) by MWHPR0701MB3644.namprd07.prod.outlook.com (2603:10b6:301:7d::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.20; Mon, 2 Jul 2018 16:56:09 +0000 From: Shally Verma To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, pathreya@caviumnetworks.com, mchalla@caviumnetworks.com, Ashish Gupta , Ashish Gupta , Sunila Sahu Date: Mon, 2 Jul 2018 22:24:37 +0530 Message-Id: <1530550477-22444-7-git-send-email-shally.verma@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1530550477-22444-1-git-send-email-shally.verma@caviumnetworks.com> References: <1530550477-22444-1-git-send-email-shally.verma@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: MAXPR0101CA0007.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::17) To MWHPR0701MB3644.namprd07.prod.outlook.com (2603:10b6:301:7d::37) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: be71cb59-4324-4824-5a24-08d5e03cb9c8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:MWHPR0701MB3644; X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 3:2EMO7jtGfo8IEgxiHAksFmb/6/U/DasRI15pn9JFYJrM+m+88d2Vi6wTwJyybB7PDUPDxSsx4hfpVh1FQM+m8mn6n93N34qTPPDjpnVnpU3+hK3oMEmoET9mVwXvu0rol7wnAzL1ivN0Ewo2Ergr1J1OZPRLo6PgMc/thFA/DK13MpkxWQm+Ve+jg6DVVAU22nPFQaOBMfqAFSkSoWd6h5MH6hv3MaGPO9+olKm42OcHl+62db/+cadrIpXayvRz; 25:S8JV5N7t2s8OASzlHlkZ50ZESxDyGPmvDbvy5iOZWyjw2Fuwe7Qp0Wd4Y0dHwTQIQGhFF0Jf/Wq2VhlS8JtzjWuT1EvAheWrsxrCmo9mVsCVUM9+m1Jga/XfjTC1VBbtmtdBDlR4/o0PTH1tTGXR6Ce5yj4nsMwe2kCTfNNRHl87gS0xOSFLd1DJfwe9U1ECWWcljkAHgOMNH2z+jlJ2Kmc+XkKDa6fPA44wTKCmlpfxDZV365I0qG+2piOhjnsAq7LlNHEuzetZhedKkllgT6x7WkPxbOPqMSf0dNBiJhYV/WiRurTCrmk+3Et2JZ9i4/wGnCRYa0wuTejYrkWKdA==; 31:1vHx0ydPMhDzsjN+LOWLXqr1JjEN9XWwNxrQa8M/QsF7I9tVEuZYU45EhCewCbPJcEjXTn2wntxDDyddTV+883E29M0EgONZm4Ou1cQXndGqgGuxB46B97B2YEMFITO9Dlky8x2kohTZsMWlsrOhCunjiynbJcBc2698kD9sL08s13RgNxfiK0SMFsHgdW89dWG8jDySewJc/h9gmPkFlJlXhjMmZ8Zxu0zWxd/1qxk= X-MS-TrafficTypeDiagnostic: MWHPR0701MB3644: X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 20:pZrp8DS7WSmpW+9KHAATHxw7z+N/TaldibNlmkfSTA6z83jbbWFaFlUDtBtsOstFirgS57g9VozGZvwFFB7gtK+G48rGmf4XROCgKojocHUZlODB4hgVXDNJvOdTeD2oqf5z+40wA5W8oUlP67CPQXoikjHm7HvyTHpjyiALL2l9AUxHEo/YTpvNRBY5wQ+SWH4VR8zTC/6hmldrcIXh4TUUpE6Us3ujW7LhvqZE26Fh0+Pv+A4EJ4vxuKHaLTk8a+c/776sl9LMRr/dZjXsY4yHtHfAaqYvfVPhpYU/rc9g0DSdPPrIkLyHqf9kyNEAM7A6J6vAiiT0aJisHvUy8NVvevh7AoXP57hKEv1yr892orN0d+LylqNWeFnBj8by3Vyr7RjHbZUs35nMWllr4HrytQLNBK6i7IeMARkub3chjlMmzrChZOU7mc0WMHVLizxYNdj9QvGykYBscC3NG24e5ZKmYQ2y4vuayaxNpAEkWMcfPnmdVCSzeAFeYk/5Ay5//mOBJMD6EJkfKeLN7mV8y9OnvjybXq4KqU33+8CQkcs6gh7NAiTk+mzzZMmtcuppmlM2VFZDA2IHw/PpxHusXIKiVOJ3CFsq4l3+Dsc=; 4:fEVVLSGdFqQMHau374GYiQ+nAilBqoZJhgMKbKQycNWJAhd78PBan14QFzhYY8QtYfL5QXS4K01sDRifj2wsBGqrQsD5mtVEnssUlsd9QIHkrTMGs3izYDn9rFCr0Kna1Plmp38jtyx9LOGfbNxcOuK2Ha+DbbZQi0c882FF4gT67kWkEPzWoGfmnt4g8dyi5XAFjL5l2hn6X83S4EFCoWV0twIrz9fNWK2Yajj6DagyJNXNig8slW6dG8ppgJwZSALRDjgXjHWchdJ6RdORpA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:MWHPR0701MB3644; BCL:0; PCL:0; RULEID:; SRVR:MWHPR0701MB3644; X-Forefront-PRVS: 07215D0470 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(136003)(39860400002)(346002)(376002)(189003)(199004)(6506007)(25786009)(55236004)(107886003)(3846002)(6116002)(16586007)(2906002)(186003)(51416003)(52116002)(16526019)(76176011)(4326008)(6486002)(105586002)(386003)(36756003)(6512007)(2351001)(42882007)(54906003)(69596002)(72206003)(2361001)(53936002)(26005)(48376002)(50466002)(316002)(68736007)(478600001)(6916009)(476003)(81166006)(66066001)(81156014)(8936002)(575784001)(97736004)(8676002)(47776003)(446003)(11346002)(106356001)(50226002)(2616005)(956004)(6666003)(44832011)(53416004)(486006)(7736002)(305945005)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR0701MB3644; H:hyd1sverma-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR0701MB3644; 23:tTiepUoVGMFuMQVmznSuvYxEX+1c1wOelfjN8/3?= =?us-ascii?Q?s1Aa8VsJK5KUKDHlG+80NldYgnvjBGP7EHV02Gqp/j9QVoFQap/ONWsOSmuN?= =?us-ascii?Q?FnIMMfTwiW+tgMhGCVRExc8W7lyw8sZTnV78xKyztLqrf1JZi1uk6rBbDduy?= =?us-ascii?Q?ZM0sIpC2Dcb/L2YF2qGKZ4aZ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Um5T3Fz9xcLXr+RWgDlJ2Xqqk73efYp4UZr0ytT+LaGQJ0lMsiTH?= =?us-ascii?Q?FdPOpmFydPnzUfEPJ+iPkVSvjHR1ujOzvC9FgtTZNmJrz6lCD56bYgDrQu25?= =?us-ascii?Q?2j8Pv539BpN70Zb9/2kFQCg23ALe+CavPgYcDC9kZ6cOo+W8TO3TXrewuWTB?= =?us-ascii?Q?boKKAuSwi22uxdvlMMq1HFOVnpL0uO6+gvzlQp+CpwRGholWrsLvqDLi2XbE?= =?us-ascii?Q?GieeTtK6jORN8oUwK4ydXy5TlcXlobo03rremumRRlIrEUKa8BIbK0o8EwYO?= =?us-ascii?Q?wFVQw1Lj1gHQktfhtHmT6/jL1WoM=3D?= X-Microsoft-Antispam-Message-Info: ndY3YBD2iqPkw+NW3BcvPPm+BvBFSCAUHqp5TG7aFBr5oRBIha2E7NVuaSMty38N8FR9S6Oq6XzLWAtvhV0Aw6F3kqxeM6ws9GrhzYj2tyKJtBGnUciYlrX6AO41mDH7D/y51XckWNSOJFkEXtBCYOPwvg5zIhb3sZlLM1TevPsO8VYVz5aq8LkSP3prpvNN1/fTlukJqVuecfu6ozzv6vkD1mvclfMDSj6cm37HNts8zy9kZA4xjYQ9PwqTR21FG/7KJqpWRMA4oI33g/eLVN/sD2rfwb653kZmEk9L4RmMD/OySK2VO6/teapijZAHVGN0PJZGwai2Au8wVq9+xVAPodl1AKkJ3woXkd0eEHU= X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 6:TMKxaZWfGwzrempRrGARIc7N62GaoiRDLozy44QCJX9lNDMir/wRPgqAjh9UIVcaYdt2QS8FXsLYawpr4+ua1D5f0ogoYzyM0+xAEBdSRM7H/ml5TNjwcyBJBe/XxU06HreXviziZGJrIvSD4dELDbPoCpAYYahLwFQZhWk/IHaqZ3UspzsNR3yOtiT2MPFwZKyyXMuZmVX+EH+tjIGepzkmSV+McNOXxfrrs+uprBZ3ZGzTtadIKnEJBrYi2BUTxbjySH0cnNaU+ARvOzUPzs9OWqc0h1AMC0bWUXMNeqZJAMsWSgbck2RCpoBnrxjvNBVdRA8N8Ap4YdM6Vv8fqVX1o1JGGVmq/bwbW5FRVNEa/oMuZYKELtZ8EjrLBTIemDWrA9JzrPkroblgJMhOn9otVnhy+D+Vvu7WsvI0h+gRlfbQveZ/WdYBGqDKdV5IosLwav9L5XWyRsc8sgT/Qw==; 5:iAmu+jLRtE6RXgz/L1Pc5n15FbuhN8VDT9SLLS58tZQMMdiazaJLdbakijVDHicCxjpOENkQ2aHva9V/FENIR30iyMJsqk821kB5vVxU0y+Xa1Wb+9v1F4WTSCa8M1G/PkbBHlJgg7WApC/tatuqrs5TcUIajyhtW+hCh8wpSEE=; 24:7RLn/mabrMzVZWmju1lBn+5smD+eUJff4/6byjZIJk3Q/jOlVdKSCgb2T93ClNe7gGJUeZF+MqGI6YCLZXUXJX4gbQIOzJLwgKjdgECN5dU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 7:JMqNNEpQ/7qwb+0nXAQmBP1CAoia6JkS3sZAr3SEUqw3orG2I4UZBfo9q1/iVIeu+VcGAmNDg7rIPV+8wf7XqRtqrBs9I+GRX12ffLmfTcWmNhNjvTRxDJLF7Exu3HJEDBrDzwC2prIjMKFB/UQVkVrjMWs8mUaOOiZLAixxusfQwX9nZtWbeGlUDp5zfb79lZqhtUOFTKRX19DYe199wqfX2fzqvugKYZlS9qtPuEKmN/keUt4gJ/EDDZEfD4Bw X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2018 16:56:09.2210 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: be71cb59-4324-4824-5a24-08d5e03cb9c8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0701MB3644 Subject: [dpdk-dev] [PATCH v2 6/6] usertools: update devbind for octeontx zip device 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: , X-List-Received-Date: Mon, 02 Jul 2018 16:56:18 -0000 From: Ashish Gupta add the cavium octeontx zip pci device details. Signed-off-by: Ashish Gupta Signed-off-by: Shally Verma Signed-off-by: Sunila Sahu --- usertools/dpdk-devbind.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index d0c420906..1d48a6cba 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -24,6 +24,8 @@ 'SVendor': None, 'SDevice': None} cavium_tim = {'Class': '08', 'Vendor': '177d', 'Device': 'a051', 'SVendor': None, 'SDevice': None} +cavium_zip = {'Class': '12', 'Vendor': '177d', 'Device': 'a037', + 'SVendor': None, 'SDevice': None} avp_vnic = {'Class': '05', 'Vendor': '1af4', 'Device': '1110', 'SVendor': None, 'SDevice': None} @@ -31,6 +33,7 @@ crypto_devices = [encryption_class, intel_processor_class] eventdev_devices = [cavium_sso, cavium_tim] mempool_devices = [cavium_fpa] +compress_devices = [cavium_zip] # global dict ethernet devices present. Dictionary indexed by PCI address. # Each device within this is itself a dictionary of device properties @@ -569,6 +572,10 @@ def show_status(): if status_dev == "mempool" or status_dev == "all": show_device_status(mempool_devices, "Mempool") + if status_dev == "compress" or status_dev == "all": + show_device_status(compress_devices , "Compress") + + def parse_args(): '''Parses the command-line arguments given by the user and takes the appropriate action for each''' @@ -642,6 +649,7 @@ def do_arg_actions(): get_device_details(crypto_devices) get_device_details(eventdev_devices) get_device_details(mempool_devices) + get_device_details(compress_devices) show_status() @@ -654,6 +662,7 @@ def main(): get_device_details(crypto_devices) get_device_details(eventdev_devices) get_device_details(mempool_devices) + get_device_details(compress_devices) do_arg_actions() if __name__ == "__main__": -- 2.14.3