From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0046.outbound.protection.outlook.com [104.47.34.46]) by dpdk.org (Postfix) with ESMTP id 6FD3ACF68 for ; Wed, 22 Mar 2017 15:12:23 +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=LPOdHKjztTcJFJxMLYblxCAOps1n9k/LPYB7wn57a3g=; b=lXmirQ4CQftkcRn/j//629ZaLLC7e351RyR6hVR4Zdejxh0cCcLV+GaAmsF/SgXVHdZmTB+nZ22EDszL3+N7act7OYs+uMnidIuEaNlAzLR7M6zPTmcetC0FpsRmGM4qT3PQyQIH6nDdwxucsBeGPx+FdUjZlKYUCJJ+bDSawX8= 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:19 +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:31 +0530 Message-Id: <1490191892-10396-7-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: b5845481-b55b-4643-d9c1-08d4712d7547 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:wPeI1jfUUEqLMFScIucXyE6W3C7OUCvtScm6J0Q85Z/dcJ6D7I32B3BEwUHC4A0MydFxGMQt6Pecuum3kV0n3fDAVQO56/mCvSDYNQTlYRSUSeDhPtgcIPsZOThJ8ZlaS5MTK9jqWMY5SWIXQuQKsh+A4gPoxuP7iMjzb50krShZ6r/NXWlk/1mn/RegtjQTDU1uaBXD2MrP9Q8M2d20Zz/xIRqyFKfAUnYXwjrnNUK9t1b8aYnK8j5aGcmsQiEyIZfdnFcYe3fgZNvgIGDWJA==; 25:EgXcGSXm0ccDsfVepVxJRWB71NhRDC/7wRgBrgNTp2d2FcPqTLA4KyogU3re8ZbXonXK5khHreA3TOONJXZhDpONmhORDDEwFS+p3zZFTzOM6WVyxwZnGzf6tVXknQaBBj0wZo7C+W7UahR3r1SGE6IbcFjSOoaxbQl1WovLAixCUxXDav7fEL4xk+gs+oFMOpLjQQ1BGUJfXyBQfcdoNK/J72Sstw9DTCwGt4SP558YDNngCj93a5up4Vi2wl/lhBCAn0r5gIamZgKn+e954WjwDH3H5oolxMhJ1YCu3BHQgyD6wvmjmibM9OVSIHJbXgtBoNOyilH3SqKmPx9PaVgM4FUyBppWKSK3FG4TOF5wW7dM+nvsfHIO0YNzzUbRMe4SUBG4++jJQ4U/l4lMjs+pNiVxF/lX3gLpFhoslk9QPuPuZ83sDlYfX0HDw1Z2setDMzEbMiFW+bsGJJza+Q== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:8Q71v/WdA9U/DpDXFq9U39svvcErtU0cIMagWf9rCYX7FRaMvQodvmddapHUKJK0J9tmtOFpzd1GHtR/R0gZiS+hB3VAymoiisr1lDlvq20QgwjjzrCwYKq6lheDvWZEkYyjn+a7RvIWR5V6O+IqbMY+VGdM1RRky+/zOEH2V3iHRcMfWIwNZpNLKNDQBdDnSkCC/bYrtNPUHWEGLg8PthYs2X4K/lc6B3LQlgGeUrA=; 20:VEvkRaPkfMnzSY5oW+4POJAdt/bn3F8U/ek0380sWuMyYxHkeG77jHv/q4etmcX9cJrKo9LuYCO0197RW1aGxxCgLObu6hd4sGXMIC+ijEKYfZfPBwV+RFERi7iyi1IGgw8ZluvxMWTpRK4GgE9Bt5cXX8nMLaM6S5w/1JCo5EL1ZoW+qMDDR+IrgjQiMqkVgiaMNPrMyAYzh552+mxQYkiH345jCp712LU/1IoSqfmT2K/dDzDMdL/JIs4BLDdKyKH1GYF7eKON7pfNkVWoNTjhX1CAUZuLsS6IdNtwxrPFguyX6he4V1sv8KbjF79vfYkqAProA2fzqBMWtV2mqeFHFXIldL3l4lCIRmhxs3ITD/d/UxlQw/PQwzEUCtqA3+v5IuWRkl3n4ZJrnXl+iOc0toITkwH8cSzFP4+32E6F6hJduYN4KZCxTeOvTuvpkTMEgVobFDwOcyGXZL8lN9JLgS+YhciQjQYyXF+FgwCXTSyP3DwtVlVLvCFNahFZcvIAbyEMaEKjC6B5YPsa5dL7A16iF0bsXSCEbMgowhwMgERwaF3uII/Nxa9y9AmLwM0G54jTICDIG+H6RIr2xou9zj+SiSntIhMX953+LiQ= 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:BhGZdlHUbG21pRn5Ld99rRuYMmGZBXSuL6O9VKIwVMdoriFk0s74LaLoAmWVM3gsYPKmkUaEWP5iWWhHrbN9v3zfrSkdKrxvYk73yIVhi0TjOi3FV1WPhR0cm4yGNbGcObfpuuz2sUfc+Fprs4UMeWnPSWea94RilasLTQUuIZ3OwmYA/hRVKkOtNWQEOLGgjkYbGUx4+m/5YiUIJj6vUGpBhY0fp38ZaTkFp+oIraFPRc0MJq7/uejVHG2h9D+0+5Fyd/mPYjXkbFDxZ9+y4qdB1ZzEdPIiktwg6pxiWMGh2gnqwmuHRzs+d43y8Terx4uoZig+5LdooaptxypVS87zXEbOt+ExRRBvMJZBdZS4DTKTptPKLsPB3arZ5ulgQzdBRfQ31/Unh3vCMN51FI+kmK4F/fMUDMb52qHcyCSXp8exXeIlwzJByDIjRrI9R8pnkJNB1qhH7oDDm07u2xGo155hUWFTL8eZaLsHpiMY8iM8M2MDIAsIi97H96Kx6LjtAktToi/4BauXkYuy9h18tO/yVMvMobKCUZ/4HMJlFsaStBYhzGP62lW/puyPegxbXHHcBgkX0vLAbQqXJk+wENR1HV+adiVW2zOAMuU= X-Forefront-PRVS: 02543CD7CD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(6069001)(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)(575784001)(7736002)(2361001)(3846002)(6116002)(81166006)(2351001)(8676002)(50986999)(76176999)(5003940100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.caveonetworks.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:gWYCjrR+ywrzbBsj0Igj1FvO1fI0uJpN1SxbNP3?= =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q/jc7yqlUxTEMDTw3QQU?= =?us-ascii?Q?ICQqAF3wAaWtL8Jh52eb1oVpeLzvEvS0dnGrPOXFK376LdUrnY5FFIabnN8T?= =?us-ascii?Q?yQ9KA7pbLaUpiAU2SsX2C57vppuau3Rpt+O1m4zrKLthN3M1AGc0mO06L37v?= =?us-ascii?Q?F6KK1OdoYD7DfSVzDPzQOrx7Ug6euKTCULLWvXeROGTEGdNjkxzCXYmRUhXX?= =?us-ascii?Q?yiBMOO6bRQyrqsMkKITJFzDglKWQ3ZKqm6IvpecYdwPans0cZyA/9Ug=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 6:mza0rMpNL9v2R1GqNuKlYq6E+zPlJVFkgIiS4reOZuqXUONg4XthEb3h7tnZxCO0qvMeN2pj1vwCaCtXI2M+2BDLfNXnHGGHrUiG4C5ciE08R4+hLOK+2b/xeULl5EfV2VYbeiOV8JqHm94VIXU0863//uUcDMLMW5DRXRL+7sWIkOSHa7XQ7crtDHH4C72yLLoDVS2n4Jps8q9LI/csY3FbWJZJkfD7rj+itMRIIABs8xu/INYhXvrxynGGdlBo/m2lrDALM7YniES9KrUoHjLYIJMIQbtUh/lkl6HgoKmwIZa1y3hvznVKbWXMItg7Zab74uxzmiJIjWw4BzG3GF+3hj0c0jOvjamLdiLmYaYtHHEYFsQz4tscfEsx8zp5jXv4KB1RANfiK1UUTjBOyQ==; 5:9PVCNvPbqn7rxODZhkh8DvJtPr+RmoAP0AtB12Tq5Jr0899J0gGhPmFcED7Z3uwrkSEMUeS5je4ifeAGnBqo7Nc47Mv/O2EB3OLSPhYAOL2k0vSgYV4GZQZjpOACEVVh/yJp1sIa4PMJCH9Y1NDT6A==; 24:OAkogwIJYZDALfb/NZyITHvI97Pvd7SBVvFO631aLebF23thKnWGcpt59YrqjseIRepUTleom1j2JhnQ0ksKhylvI0JtZKKWDWBOcbZjEDI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:ISEMWBRvLUlyezmuq+zhGZW6TJ1gKlTNWNPuJVFI+Y3qJau74o+qUxs6fJ3tXwiwRAvYISWTMB+4DiqVZNrZSIA7ZsuaE3enfMb050Kr496hiz3Eh9akp5J82UZK0I0YFNUjZPiTYEG1UW56DDFyQDtbjajfX62EZTN1n2byDoDnuvRnXViD7RmF5y7+QgqvgqUt13b57+vbMEG0t28Pml1L/lhu/fhaat/dPCo4nWUYGYuoZ6tJC26BWiACL5bdFsDfTrKTj/NKDg0J6Oho8CGfWiDvGJinTJStAiLl9DZ2RSWXzYtySnK7IzxfSRxB/vZncJ/N0Ieu0V5tKbegqw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2017 14:12:19.5469 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH 6/7] usertools: add eventdev 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:24 -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 4ea0adf..87e1d30 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -45,9 +45,12 @@ 'SVendor': None, 'SDevice': None} intel_processor_class = {'Class': '0b', 'Vendor': '8086', 'Device': None, 'SVendor': None, 'SDevice': None} +cavium_sso = {'Class': '08', 'Vendor': '177d', 'Device': 'a04b,a04d', + 'SVendor': None, 'SDevice': None} network_devices = [network_class] crypto_devices = [encryption_class, intel_processor_class] +eventdev_devices = [cavium_sso] # global dict ethernet devices present. Dictionary indexed by PCI address. # Each device within this is itself a dictionary of device properties @@ -594,6 +597,7 @@ def show_status(): show_device_status(network_devices, "Network") show_device_status(crypto_devices, "Crypto") + show_device_status(eventdev_devices, "Eventdev") def parse_args(): '''Parses the command-line arguments given by the user and takes the @@ -661,6 +665,7 @@ def do_arg_actions(): # refresh if we have changed anything get_device_details(network_devices) get_device_details(crypto_devices) + get_device_details(eventdev_devices) show_status() @@ -671,6 +676,7 @@ def main(): clear_data() get_device_details(network_devices) get_device_details(crypto_devices) + get_device_details(eventdev_devices) do_arg_actions() if __name__ == "__main__": -- 2.5.5