From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0066.outbound.protection.outlook.com [104.47.42.66]) by dpdk.org (Postfix) with ESMTP id 3E3B0378E for ; Fri, 20 Jul 2018 20:42:57 +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=ZRyTS+mUOuQzDwThl707knQoRAkDLfwmTg5AUWBq/KI=; b=FX42X2t8w3n/YT8agrs5qTZbZaZWl4bAV7d7iMbQuIB35W8q22gOo4mWL9UTzjT5IHDZLd/1fYIi1NGLOM3IitbcnA/FHx4osuqPxra/SdQkB41rlaYI/n1CSM5+HiF+5XvgIcnl6ayV6qBXfg9gHjV1H4dsEdQ9tnnNO2SMCz4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ashish.Gupta@cavium.com; Received: from hyd1agupta-dt.caveonetworks.com (115.113.156.2) by BN6PR07MB3057.namprd07.prod.outlook.com (2603:10b6:404:a8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Fri, 20 Jul 2018 18:42:53 +0000 From: Ashish Gupta To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, narayanaprasad.athreya@cavium.com, mahipal.challa@cavium.com, Sunila Sahu , Ashish Gupta , Shally Verma Date: Sat, 21 Jul 2018 00:34:47 +0530 Message-Id: <20180720190447.7979-7-Ashish.Gupta@caviumnetworks.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180720190447.7979-1-Ashish.Gupta@caviumnetworks.com> References: <20180720190447.7979-1-Ashish.Gupta@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::23) To BN6PR07MB3057.namprd07.prod.outlook.com (2603:10b6:404:a8::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1e435f2b-024f-48e6-7d8f-08d5ee709b70 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600053)(711020)(2017052603328)(7153060)(7193020); SRVR:BN6PR07MB3057; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3057; 3:OBhBXORn8JVMR+6WkPVj0wvP+Umz+O1BGo+lL7jf7p8Jw0GVvof5UUxfpzlgqGYAZzJ3N3wyPwixkLs2vt9vnyGDCdfp8wnGn5tCP12cKv7Bi7vkIsIft1ObkSi+K+tWYfw2ZhVGJc8bdCtTMiLiYBZlr/kcpRNL2h98/or04QfbQjjK5nOr2+PKXRid5kfeuwxCYZPZ+MTtJRn+oiHyorMHJwpO1seikuEWsjRIPPD+E4SKPc8Js/W+OKHu8Mr0; 25:yX5REN65DvDIIgsY/PR2W/36GFmSkg7OV4jLRI3zoALWDwd+pXGcrQ7g9bbITughFZf4RO8vHNdpWjRf+U7qxwaKQtELfao9hEt0PIgEmST2cvi97cWPa7/YMiXbzMtPGAenvPBm8k/Cvj3RBep2t/pQK+WZQMrPI+CTfso6UW3dwqZrMeSqF6kTLyagP7awdf4elF5foHtQTLKN4z949WQkbOYTSQdyZMjdEdviY2EU8FDabyGabEgKbXhebnQ9Z26SGNun3V5dI3Jm6IwpEUq8gQ8RkDDFSAykaT7szOVozCr42dVXVsuynq9kvYjWKiiHniH6eojV5ofuBBLClQ==; 31:dbvvjzEk4IQuQZ9VPPbYGyiHwCWum3BtuqvNX0EHKpd5odev8utTA9EJ1L4WeHWzLrjUQy0sj5lzruExSKFeIURdLZ6+8bxUtT0yC08GhO7tHJNE3TPkMdqgiI9NDQ++Oir69Cyoj+7ciAkxI3VT1BQkOIoL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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)(3231311)(944501410)(52105095)(3002001)(93006095)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:BN6PR07MB3057; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3057; X-Forefront-PRVS: 073966E86B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(366004)(346002)(396003)(39860400002)(376002)(199004)(189003)(186003)(486006)(107886003)(956004)(476003)(2616005)(26005)(6512007)(446003)(16526019)(8936002)(81156014)(97736004)(81166006)(55236004)(7736002)(11346002)(8676002)(72206003)(48376002)(575784001)(4326008)(2351001)(2361001)(25786009)(6486002)(16586007)(54906003)(53416004)(50466002)(316002)(105586002)(36756003)(106356001)(42882007)(478600001)(68736007)(69596002)(5660300001)(6666003)(6916009)(66066001)(50226002)(47776003)(305945005)(76176011)(1076002)(6506007)(2906002)(6116002)(386003)(53936002)(52116002)(3846002)(51416003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3057; H:hyd1agupta-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB3057; 23:eEAD9zk5FPCKFSztOQaO4q7KpRN1Fhei46t0zUQAX?= =?us-ascii?Q?5aGf3UhNhyv7QDb5ef2Qbv9KVZNS9yEt5CkCdBdwvyMwFpB1Ft3Lq48dPG5H?= =?us-ascii?Q?6bD19LQWmkXgDqwaKekuh2v9CkSgU64Nvp3V8g4toRd+uqIhWtv09JEjquou?= =?us-ascii?Q?lYGTNDDFQ9EkN8ZNc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5Dp826LXB?= =?us-ascii?Q?Yin2NjF+FvgIkQOHHQwLHc72d6LImwh+Zaah+s5UzTdbikVBNvG9pswwjib3?= =?us-ascii?Q?JcfBtxqXSXrebal2CV1/uAsTKmQ6kQ4DlzKObhfwyo6vrtyNTOac4taQiLA2?= =?us-ascii?Q?axGq+kWK0AjROf53b2a00fM+Y5WePjjMTksGoeWLxado+gnOIQlD03AdPPPo?= =?us-ascii?Q?vhI8VfqBeL5utqt+Y69hPbIDY5RZoe4dZ82S8UXlH13yyZOyhFPqo1jKBDb5?= =?us-ascii?Q?vSIgYECphd0ifqzsBJI9tVgFIKd3dwG1honCeYEe4hz+wl4G5rfJrlW/uPKf?= =?us-ascii?Q?2nHvnacUruqikIIrPxnMewBwFo=3D?= X-Microsoft-Antispam-Message-Info: 6LZjSk9PbKMXD9ThPUq4Mg1lppawrlZygn9qqujUZH/TezyR+h07RIz4SRNu1/OVzo5txZSKjloK8SVHSrKxkCTj86BVHdek92u74qisWxfX5O36oecNDO6d8dT813ixvuAfNZ/Swm26zddfC31ELzBB2SaGQFI79L0kbPxtbwOv5SnPrCn7gK2X7JDjOKJjfTHj9Uf+lMMoa6IaH6HritwVMBd3DpWSkpT/kIgUKKMVKMOnfUKyo3XC4X6FACFsgyoEJYg6DKCF2Ei5hnqERatd0Ej8AiVm4sg6W/9m4bgDBCje4TQML1epysXZXae5w5I++IbNNtFljQ5Ak90BNvd6ovtFAIV4UJ/hPDgj/Hg= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3057; 6:hXf9PACwRBdU4Ih7cjFQOJLABp7tcz/4gPzW8fJVY+dZ9IJQ/zBeb87P665pTH7ZSO+iMvdTiGLUN6uW1Z6OtcYFVqR15eFNo1Xt23xWcnEhr/xzEufeYMqVvY7fGjwe6VBHNn6yZCrN9REVi8MR/p7R3T85E56fhDzHyVcjSAJUrEB/q9wfef80Z3K2ZH1niTZBYSZVOXw5V2acE8EGVKu2EG606+WxW8zTxuigDDOccwXbrCCsgRgYgLlxuY0nUUaGds2L2e3z6OBw5kxAaqNrpHTs7iPqj4LYZUnqslAzR8iAIYZg2jF9dR0J8tsrBn+s0G0szH9hr+kOQe6cx4qA8d9FsiQCu1PfdEfvjN1FLFEau9hLfEpcD76wZLrVxVKD5mfKb8htyK8wPbWeuQwzriBOpjZ3omMOvcBM2JYeMZwdGzZyNhlK6HVtO15lbX6SFf2EAoTnHZquN9LrTw==; 5:/rTNUiVtbBY9WNvod53vG65PPrqKBuARvr1CZJqec2IqF9oVak3QXZY6ORSvyQz+pRZmLFv6KvPLnNoCDCvuSEEBPqBZMQ6Fvym/g1/xutyfUGomCw/DOt7An5rXbq+5RB4HOYd2cqjhoC5uiozHrESnAgMRoE8biHPM4s94OHQ=; 7:S5BGt4ZqaCYq8KqsP5Gw/Wevs+4T6K7IKmohNa1yooGb9PeuYiuKK5Mf1UBl201Ej7BAD7KGODsJS0s8u7A1HOv+rhkKDaTCTU4KWBSOoogUVw/ew85Ux/Axbt+wlgQrvXU9T46rhxtWUp1G5f4v+MUhQf6vYLC6ZvIGThwYKgqyShMWyzeeiNcfqA/dEqnpK9K14Su/ci9LTVjqpNAyjfB7X87CEKR0lTvWVDpICLTwxdXW6oHf/zGcliJFkaX9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2018 18:42:53.5631 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e435f2b-024f-48e6-7d8f-08d5ee709b70 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3057 Subject: [dpdk-dev] [PATCH v3 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: Fri, 20 Jul 2018 18:42:58 -0000 From: Sunila Sahu 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