From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: [PATCH 6/7] usertools: add eventdev PCI functional device Date: Wed, 22 Mar 2017 19:41:31 +0530 Message-ID: <1490191892-10396-7-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 Cc: thomas.monjalon@6wind.com, ferruh.yigit@intel.com, gprathyusha@caviumnetworks.com, Jerin Jacob To: dev@dpdk.org 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) In-Reply-To: <1490191892-10396-1-git-send-email-jerin.jacob@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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