From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0070.outbound.protection.outlook.com [104.47.34.70]) by dpdk.org (Postfix) with ESMTP id CB88ECFA2 for ; Wed, 22 Mar 2017 15:12:25 +0100 (CET) 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; bh=ktMWuvYpJo1O4EoLtbINCBp+QC8s83Cu8U8T7BuJb5M=; b=hVSybF6X024B/9lvR5HHvFoV4GPlx8b9oapy9P/EctVLG+gnFSg/UjySR2dkzwFnSEI4Q8pQj9bc9wlndeLmD8dapmvdw/pdn1SMfLoBEOyABHQ0vIN4VJTa0NMWqM1bqSQjCAgDyxYuYwAdvg26ry1qJz6b6WL5Akf8CR2XZxI= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.caveonetworks.com (111.93.218.67) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Wed, 22 Mar 2017 14:12:22 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, ferruh.yigit@intel.com, gprathyusha@caviumnetworks.com, Jerin Jacob Date: Wed, 22 Mar 2017 19:41:32 +0530 Message-Id: <1490191892-10396-8-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1490191892-10396-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1490191892-10396-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MAXPR01CA0061.INDPRD01.PROD.OUTLOOK.COM (10.164.146.161) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-Office365-Filtering-Correlation-Id: 5a693e42-2f54-40e6-a7c7-08d4712d769d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:CsgrmUjW7XdQayPefbOb7JY9grH9C2Qb9HQ8nKcRDnnNGh4BLkgJdxxYbokYsrwPrxnUf7tMmUzsaItMeizprByFWy7v1u6JNFafsmOJ3LRmGpMlv+dXmkgM6OcU3o5g39EyHw1qDr5PUFd8M4j9RGeQnFW8ew+LgNYRqFZIhQfufNvg7k8p8slYRiygB3x+wOxVAYPKIlshCbAaNfZ0g2kP5iwlSWHvGJaDq9F0ogQnoeAz4M6Am6m5QBnIogducXd2AI7CXJka5vx4MgS8JA==; 25:7/W9MvF4CqHY0zdfkzk79HJSDEaU7y7ck3HEeiZiBfyHzUIn40LEVYaokvY+EyS1gd4C/9wjtWt1/A8HB9XIdOqbOBheLKllyZ6/qYfFm2xAnf7Psc3gjDFwJO0XDkYzulDEyK1Fr3lP3LdYxT+cmnV092zE578/iBz2LXzXSx5A5upb5b2eTuuLbwHRucjICDbE+1wsECx3AuFyulDOtR5oEjoUCjmB/x5jTlx9FOd6sknSyEwEwogUBr9qYQ5r8SdA4MOhCGzRdwG4RCtH4WpSvdmjygijL8+NadDaAANCI4WHP0pn7kqhzKErZg9bT6lBHo+4eS0ewAsg20GJz2Ui+uqaU5ej+KcIagKV0N5aUeaxRVd4xAnfciff7UuNesFlHQOibg4U1h+unVMDTEN2srIKlbA4AV/KV5xmgXjIpylhO5PJgeKwjzJtBAyA7WFUvUwCetKJ4eqqeXkt3w== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:usbzySiUl52rZri03oVczu4/e1V3NC1nEdd9NcgRawCLyFMFQNcFB/TY/DM8EIMTsaLas4Pfma85xh+GvyiNnXUwX1SwRGaxlAYJP39pX/WMLhX21a5ZNKoL4Fifc8QLZklp+2ofkAE+MDCPX/g14qqHYF3uMUEf6h3/6Ga5CLDdaySaSBmLP2EQ+3Bk7sxsZa2EziS1MuXpsVja+hbtpqNBg4NENID0TN3a6A4CW/Ojag4K2KcEY/WSQ2b0a7An; 20:vUV/p+DkNyNf7G2o5IfUP34x2SJPxYcx1Ghopsg2RISjjYCUBK4+ZbQBFfObmfq/2wnxfJ8GUX/9m+tOFH3nHr0qsaAS+bLswLfvdHGDbz8r3gmrVQn9UmMIfVm0T9YIb2n3HneNDk74tI2F9S7cTC7q2H6cq0r/5z31dnWOv7tI3DxEoNa/pyp4B36n9BUmXHBBw71S2ZfxGhB+trBp52xj2bYumKe0CbmG5Ikf8Jyw8ZnA8+0bo+/RVCYPBFx6YZ6jPJ2LRiz2uGo0Gjr7Hrxe48Kxs3wHPS6cxVRO4QBo8dHl/JTvjLBpIXAxGMO6mLAH14DIDPEoDgAuRoQwN8+febRgfTHn/ob5n86khO3trwjBYTNXQWl6md2N3toobwDAjAjdyMqMMfo4Ae5HcJ1A4yBIPXfbIsiTBa6bgwKSmOvqcXiVdw8P4nThEaV5YqN0uLeg0YcI1Oqx/7SuN2HBegxy+xoOxho7Sjya3ta0CwKz4d68G562zwNfhVxxeC5aa+/kxlUH6DlIkSXDxt6UbefTOJnrrjgXBva4pmiya1b4sdRlQvRlSP4GP6B9TtiNeByMwXDhYYE06IaT9VAM/u8pEKg7xdVQUY6XZvE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123564025)(20161123555025)(20161123558025)(20161123560025)(20161123562025)(6072148); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:bOd0V29uzingjCkA3oNdA3kTxaHI5n+IJgA2luOQJLKQM1vE5qlt64gB8R2L8MLVk/gRrsRVGmz9nGi/ZKJ7VAaCSRB+g5KkU5hzFxgnaCd16/Iha6ZkFx0ZSNOX6topXoG40Sd7r99ugn9UxWuoEimWHz3VeuSdCKruzm8ClCPDqGG+IohC3amOe0PTA6Ja8EmdArxjaidNh9tvhJAXTBACDjmtHrCOxUEuJ0Ps9v3AjIzgUL7AzvKk/dGdR1U/rNWbNoBSybwQwQpplK1QFpsnmu4I2BhURp3r8ydTdmktRvaKCh4y9WBSawt/ADDNjYvz9Jaq/uST8zkuiuqXDshJvpFK1+Fukx3yDLZVOHIgdkCGOtVJKSP4AJDR+rFoQwEihwbb5Fl+Vw8g8sWEMNbjVXP7i2pZBO1NRjepkUn/6GcYZbIvPjekRJkv6CtPiPkuOF86JHDzLbm1AYGa6/6Y6trdps32eKoutso+qlyBaaYLvT/ssyNTZEoD/TRIyia1KKzW9zIli6aFy+8ijj0z/fAVPOIIbKQ85QFLLDcd+yKUM4QM1PVZ9j5sZmnRjXB7zjxTXAq4uZKVUloq0eWvagzno1hzWviShlRFC6I= X-Forefront-PRVS: 02543CD7CD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(6486002)(53936002)(4326008)(6506006)(50466002)(48376002)(189998001)(36756003)(25786009)(6512007)(33646002)(53416004)(2906002)(6666003)(2950100002)(42882006)(47776003)(66066001)(6916009)(76506005)(42186005)(38730400002)(107886003)(110136004)(5660300001)(5009440100003)(50226002)(305945005)(7736002)(2361001)(3846002)(6116002)(81166006)(2351001)(8676002)(50986999)(76176999)(5003940100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:4/O9X/liOKx+oXBSTivuoAEkyZ4k5jZkwttg8Lp?= =?us-ascii?Q?KFps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VVdkCa4Jq1RylG/kL1zOX7sjljdZGCu/bIAX6xgG7EpDUkiV6BRS6KgHpWpOUEsdAieBNvUFGpbB4jOa0r6v6Cxv2Tlj677uAznh17st2V0NT/4bVU5QNRmK8Q2gUB2GEDNbl/6yCz4jQkjpNmEhBnE0PucXS8Hjbu7kVsuCXbBVEWySPrt7/2TpLtZtovY5Cs1cTnIXZUdjTBd5Rc11dWmpE8BbopVaMg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2017 14:12:22.6467 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH 7/7] usertools: add mempool PCI functional 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: Wed, 22 Mar 2017 14:12:26 -0000 From: Guduri Prathyusha Signed-off-by: Guduri Prathyusha Signed-off-by: Jerin Jacob --- usertools/dpdk-devbind.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index 87e1d30..bb4d536 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -47,10 +47,13 @@ 'SVendor': None, 'SDevice': None} cavium_sso = {'Class': '08', 'Vendor': '177d', 'Device': 'a04b,a04d', 'SVendor': None, 'SDevice': None} +cavium_fpa = {'Class': '08', 'Vendor': '177d', 'Device': 'a053', + 'SVendor': None, 'SDevice': None} network_devices = [network_class] crypto_devices = [encryption_class, intel_processor_class] eventdev_devices = [cavium_sso] +mempool_devices = [cavium_fpa] # global dict ethernet devices present. Dictionary indexed by PCI address. # Each device within this is itself a dictionary of device properties @@ -598,6 +601,7 @@ def show_status(): show_device_status(network_devices, "Network") show_device_status(crypto_devices, "Crypto") show_device_status(eventdev_devices, "Eventdev") + show_device_status(mempool_devices, "Mempool") def parse_args(): '''Parses the command-line arguments given by the user and takes the @@ -666,6 +670,7 @@ def do_arg_actions(): get_device_details(network_devices) get_device_details(crypto_devices) get_device_details(eventdev_devices) + get_device_details(mempool_devices) show_status() @@ -677,6 +682,7 @@ def main(): get_device_details(network_devices) get_device_details(crypto_devices) get_device_details(eventdev_devices) + get_device_details(mempool_devices) do_arg_actions() if __name__ == "__main__": -- 2.5.5