From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0064.outbound.protection.outlook.com [104.47.32.64]) by dpdk.org (Postfix) with ESMTP id 7EBB07D31 for ; Fri, 16 Jun 2017 07:33:20 +0200 (CEST) Received: from MWHPR03CA0024.namprd03.prod.outlook.com (10.175.133.162) by BY1PR0301MB1189.namprd03.prod.outlook.com (10.160.195.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Fri, 16 Jun 2017 05:33:19 +0000 Received: from BL2FFO11FD007.protection.gbl (2a01:111:f400:7c09::115) by MWHPR03CA0024.outlook.office365.com (2603:10b6:300:117::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Fri, 16 Jun 2017 05:33:18 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD007.mail.protection.outlook.com (10.173.161.3) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1157.12 via Frontend Transport; Fri, 16 Jun 2017 05:33:18 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5G5WNFR001003; Thu, 15 Jun 2017 22:33:16 -0700 From: Shreyansh Jain To: CC: , Date: Fri, 16 Jun 2017 11:10:58 +0530 Message-ID: <1497591668-3320-29-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131420647986445527; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39840400002)(39450400003)(39380400002)(39850400002)(39400400002)(39410400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(2351001)(50986999)(105606002)(76176999)(47776003)(104016004)(6666003)(2906002)(5003940100001)(33646002)(106466001)(6916009)(498600001)(2950100002)(110136004)(48376002)(86362001)(38730400002)(85426001)(356003)(4326008)(5660300001)(54906002)(8656002)(36756003)(8676002)(189998001)(50466002)(53936002)(81166006)(305945005)(77096006)(8936002)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0301MB1189; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD007; 1:4Nd5x9LjeEwwGzJLUPyG68Fanq/6mg8u5AKf6SkjLdZenHplC56If48domSPuPBVKsDmH78qnLylA1eRF9rWmqmLINzqbuT/Nr0iOEwB+B8gUwwr3unin3o4TMysbb/cPurFPotcgiaaIp49SVvymYAztOoRjnteASiTDKjd3ZWOssMS7jdJJPQLNzmMspAs4LdpX3gvq1mnoZ5L9EL9zmgUpMaUJKpvF8Od/acOePQMVBWEbDYXXGC4/n3S103s7iIchVciRwo1lILBlw2e3rXxCfBNoe7EOFOujbAiOu4a0B+Rjbkzdpb7GDoinBrwyUo+R9BiKtZWFHtru1KpZjWEu9DdKHhGXilZbALOUDFzG4ffA3s3t9LzAk0f8vZQoYgD9S9JW2VrKo6DY32bCxj9jZkNMkqXdoBp7ra1YOdAmvXrbHKMzVJgsE5/QGu6AFFXccJg64TBRwa2kA/cLHvJwR7aSVg7bItqbWZsSYFyVJOEGHv3qwLHj7AyospJ4mA3dEsrqSNtFdx/jmaeCfwM2rnuoaaPHbbXhbruiLh0plGSjkHttoGUxC0q8NXOnnNqsPwv9zPOu6XHQ2SHsSH6B11/RQ6tSBE2RTyi87bJ3+/wDZCyMw2G2iLHRqbxomfuTREmmlu7IAUkZRsIkNAIvvqzpSwMmARHruwagbs4VkJlkDjULgZk/fctTY37Cfy+7czFB25lDqpDreAVORqs72XYaR7XDFrAdR+PZBw= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0301MB1189: X-MS-Office365-Filtering-Correlation-Id: efd44a0a-9396-4d21-d06e-08d4b47931c3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY1PR0301MB1189; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1189; 3:o9LKsmHGggSR7imKUwHHhdh8n+tCDXuhOxC1fAttx/txm+AjgdDyUHMMOhwqO7uT7SHM6oKdukeoysV5iRCnr7uXmOnUMMowkXEhMkEzdlmbbJfTm4yg3DRPjN/UH3oCFsQTmE97AQmpsosfROD6h+kEiBBSKwJtEiVbRiYkTb28NEEMpOo14eS9YoTpPmLIDIQD/gFTvpRvslHf6vqRVbTvtxViCb7uQ4P85TjuP/NJwGNb9bE47Glrzp19C7dZxbn5LcD751prnUWMDj199cbSYZcpBJPUyI5disPNptJOT8QwHdS02M1nGViXgxbTD9r+cupxQzkLO57MQ3ZKrB3CeTFhDdl2Bzyyik7+4tjeoOWHZp6qgTZa4W4GS3JUCZ6Seg2FQLh4MGE76QoPEpr45cOw2UNRePMlt0QrJfza9JtvGyRrrC9iOunfsvyf; 25:AQVxrq7kx9masnwp/pVoCuKHt7wGL2hQb9VWqBgsbn/9RvX6KeG6lZw/M/gQNan/cYwwt+o+OcywCttoa2IAff7dT8yF7+vF3aqH0K7JEmi80ZBP47wvcOspANOIOY+RYSpx+6LIJFk71GzJ8zGk7LIuiA51GM8ppZynzEZURyJqRVkGEZYmlRjPdrGU5h7ODw+uzqwIXLFSns1CBpU5qU81y14rFimCOyLg1MXiQZ5++XPCcNPjRwR2T2+rRiUD6jeLdZDGNGAC7q/Jxf2zN85IFWonnYmjnO/3H0wM//bX0GvmEGqt4rRcAbx+KPrfCCoVs4Z6K139H7HGFk/PGPQOGuf07vNufT5p/Za4j1SW+AGjFDxpcCve4jtleBOWZ6vBJuYScSpbgQg/KwgS/cq602NP//jiPu1f47a1R72XyNKnNhK1n/nP6cxjieLzDQr93xNL5q9O/ydZUwiQS4WBJ8M3MJCyt0uZY1S3pIs= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1189; 31:QukhCKLo7XrJP46v0IDDS/+AlAA0zqFh22OgBVCeUKZjNmfOqsUs3MQRgMxrdzRwgInqN3LID/XEAXYdlYl4jLl/1aehSdY3nw+AHWM3b2O8dt0z1StlcgEySZhV9McKyZTg7fmPudsSWc/yoW6hzAP3vlisKgnWM4KuCIvMIzb52ZRILKt9wWTxtIiRrt4OMeK7A6WLXaTFOT+oRaAeLtHG+qqDRDhaAjoELMvjdD/bTDy6cotF4/FUtNH8cORt X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(20161123559100)(20161123556025)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0301MB1189; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0301MB1189; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1189; 4:PmodP/IH2KYPLywr9NNKo76/4tH8oIE2nO8WWI2o?= =?us-ascii?Q?o704SsXnwCqguogQbyEv/vfG7L4REjrbbxI728OAHlu9hmSor/dIIwedJQIK?= =?us-ascii?Q?NglGapEe/k2rWz8ISVCVqL7C39HkE8UZlg/Df7w4ZuTAAY4PgVziTuEc41Cs?= =?us-ascii?Q?22W15GN8PfHps1ORzJgOXsRp5yEWVtzbvMxKg/V5EgmvU83j0bccYFkvYzu3?= =?us-ascii?Q?P7Gi4C0Ec9xwsjN1jXsKk6T41eVq+I3jh9ppNd/On5qMEibFhMqG3vjdJnOI?= =?us-ascii?Q?evI0/49wQ+2jj79nNhGPJ6cbXUNdXs/F080JP8oQWwHdh+bGREQabCbDxu4+?= =?us-ascii?Q?dWpLsHmOxJvyPLMT7V785PuRD45BvcETLj9rvhkPHqgf9nHK80GoJRTd00Fw?= =?us-ascii?Q?qH/rsxiRuGkaLrH9KB5jUhTbZNUL96LLUs2YFq11kyUdjS9MSujEgiboM0tN?= =?us-ascii?Q?7QY+0IwgYucRul8SIeeS6oAxr8RZXB7+6yDEYTH95qNb5ssUKQEAwrvanJ6G?= =?us-ascii?Q?8ow/Scu9YYDO10pneuv7oPz6RMt5mYmo1n4OWLK7fShQSME8JExun5rB57ge?= =?us-ascii?Q?VxDwdZf+wAMnqzYttGq2nHGT0TgenkbopJsxcXihbRUoX4g8eifm9AYk3ZFo?= =?us-ascii?Q?t9nAj2YvN6kCJS3UVpokBoJjk5UwZdpL+mSrxKpLpK1w4KcFRksJMXquPCoC?= =?us-ascii?Q?bE2y6EYg9siOSkmJ0b/+M0jGAMl3fCcRPpRuhsrevQgP3Yj1oYFpgUH19gta?= =?us-ascii?Q?Tz/gohRCuHuOMowpgBCdAyYVU9BAUv1tT7DLuFIck4jxFtmX2It5KixNl/Fw?= =?us-ascii?Q?SBgrDm3rGABmFY+/DPKvSvuIeKaey7FKEFdo8n5S4G9Yv3/Wl/vPqY783MJd?= =?us-ascii?Q?diFBBnmPMFhuOU0JRUOCi1P463oYl+7ZjVUvqf4yM9AeYiOv6rpA5EAAtBnO?= =?us-ascii?Q?asRkRpzS2N/rGY1yoByoLeIzhibgno8TdeJ0CqHKYQef5GNyoIxgFWXeeuPf?= =?us-ascii?Q?ZUQfgF0KMHxTcVAZg6kPQ0Jx68t4jXHAf+dewuKYnRrgMpTCaIc5fMXHkijO?= =?us-ascii?Q?fkYrkTVq/YjfFaytbvST0or/kj+KVXMzr6fRZ3AEi5FLHh9M9IJfTtXd5Hs2?= =?us-ascii?Q?Kt9Znjw9wNdO/6IdIjc2x0qTQImp9eOKv/DIrSibG1K5DJDQgGOxqkHGOj4e?= =?us-ascii?Q?bLTCpq8aTlKGPetC+RTILLXZnKiaYwdt8z3i8IdbhM3FjhiA7OPTPMLcBeFB?= =?us-ascii?Q?AhqgeVcUQFvfffSQnXHv+JeqqKXwutZpqumfXwW8?= X-Forefront-PRVS: 0340850FCD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1189; 23:P//RRVT/D3YYCYbtlLxYBpTsQM/gSZtVAEfFU6G?= =?us-ascii?Q?NmhQGfuDicL/M/TdzZy2PuZ61T5govcCk/eaPBBM1fmmMIMYNT2owiYFAscq?= =?us-ascii?Q?36mBCCaX4BrzX1sXkuNNqyn+vC0eumVOfzb/0netOeT9Ypk3/fL7f25bv9UQ?= =?us-ascii?Q?xMXAwnktuBjQ20G22oFTwnwb/npA0A/NQ4GIdJlID9xm/AIPZ0g6SWkvDtrp?= =?us-ascii?Q?IZFmtxo4qIAh9fvRKY8fpzOqMaPi+V0H3AJ7HdULiGf+YkcunoNKB3OPUmtq?= =?us-ascii?Q?KhSl5u6qfej7gzYwGD9d0p7jC8UkMXyhDey+QcAHxmDxD7LleIbce+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/l0HOU0xHEpR+Sdl+uwaKNlUs1MfgrpX7Ih0f7xdRw0hDFzshQ7J53l/J?= =?us-ascii?Q?/ddIMHrmHCganXvzOs9woWCfLadJhh8mFJb+2uTfoCIK4nHjVO8uqNrO9qhq?= =?us-ascii?Q?3g98V/r+Ex9xHLqJMzu5ldLSNXw+9aIs0OOswIOl8HEEIKYHropmnKRioeJl?= =?us-ascii?Q?zh2pgO1ylCb7bX3c3WD0UNbMezB1Q50yEpTEjTvQVQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1189; 5:smEakAcRgAVgz5+L34E+TVaCXuILO74/4uYKGN3thw/ldfGyQAe18BIWyi7PWQdupniQupQo5U4IY8xj4SuYEvsxCxZT4Em3SLvtNNu3uKAA14UuukTIcGQ7X7ll6Qepvx3EG3vbxaFXcYCVQkgS040nyJ7I4PVQS5TpSYcj48McDCG+EaSCiGabH8Y83eGhNZ4C8Fva13Bti/Wk/ZqTkP3wiKnE6P7l37KEeOoAjuIEqJRE/TDTk0e7ucLcSMnj6gmso0c7EZj9hg3u0uJDGq04FdfEZz1w0+efcaHy2tu42xYyhBSF0Wev4/7RpQ9hw/IxC8qvmc83awpLxbfZQxtshfBZTJS9bqVBfkBm34LBqsLir4mMMMp7NXZxxg+y8YkI8u6GFThqXhDnKl4KkGoiH7JkrytgYzLfiDCPodIV4hwyEeUU4ayc5PfXuSotteo0RSnzroOM18hfik/OAvwObKdin3YGOa0iykrLivpCH5WClZ8Ag1DOgefeg4wdugNuixloqMTGOylJfPQRGg==; 24:xB3TJHn8gOcg4AmfBeAkuD37xbxz7Etjl3FUeqoPeKymoRYZpa5cS6zzS3j1jAsXFssbigI+XqfbQ4qgJOHRWrV9Q5JZueOwwPf7YFZ0BAs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1189; 7:RVGrxdSo8QtTnaEcPVagWtyVUeOreCNdPsWgBUWy0HM85QaKcbl72HhNyQ6oG5uhmnyuNOmBeQOqylOOjCNTrOOln7tJ6sjugO+UEY8Xk6sRNX7sBpfsaK/xqirZSZIC4AtOgX+R/rAzlxmJNv1npPyMPkHFtL8yIqOkGyDSlSxtVPBNS22hY7fxiNxCxGwrwCMS7Bec2e6q0BpUrY+LvxTqNXOhNluMbZhKeyVSG9DjjUaDMmOurZ5OeSlETOB49JivgUe7JXqCdGc7bRJE5KE2pFYatbLnQCEgwaAQOluHffCKvBA5wVEhRlYjXvtT5vkfYcVVPjZ+bKRjxUHOY7EnA3rHjy8GmLCYTF5zWZsog0QH5Gyt9na7zkGvmiYRPuAHtHDafAs629wC9DRcKTYbFdSyXAA8RPfb8Yb8fbO27UPURvONpSdZBFMN5vIjMQOb9HsK9T+jiGQPhLAgiitE1lxEYL80Rk6Y9MgBcEQRwuCt9h1Zx/1opFORxO39b9LYBFm/Uk5B7p7WmOShuFzkohFUXLnEi8NPqf39Ge6sSVuSFO7GWbEjz1Z2mbdh/JBwfOF23CI9n2AlcccHc0ae3kRkwzH1oSgQUHq7VL/irG8FW7tII/rQ0A7u7G7U3VnoQjxfhOBB53fqQAzpZm7SWc4rOHz/GQGCYf952o7JrMt5PLvdWC21mUHNtcIWNQ+Ok3589gtJAVRDnWXaNCSVSaUotjTn/8jiITezXs5v0SjJIFLMCk9WcUI84mtPlbcTjiaPAI9NyyHkPUfmXXnjav7FjkSZHfNf0LLo/2E= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 05:33:18.3481 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1189 Subject: [dpdk-dev] [PATCH 28/38] net/dpaa: add support for device info 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, 16 Jun 2017 05:33:21 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index f3de967..0cceffa 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -143,6 +143,23 @@ static void dpaa_eth_dev_close(struct rte_eth_dev *dev) dpaa_eth_dev_stop(dev); } +static void dpaa_eth_dev_info(struct rte_eth_dev *dev, + struct rte_eth_dev_info *dev_info) +{ + struct dpaa_if *dpaa_intf = dev->data->dev_private; + + PMD_INIT_FUNC_TRACE(); + + dev_info->max_rx_queues = dpaa_intf->nb_rx_queues; + dev_info->max_tx_queues = dpaa_intf->nb_tx_queues; + dev_info->min_rx_bufsize = DPAA_MIN_RX_BUF_SIZE; + dev_info->max_rx_pktlen = DPAA_MAX_RX_PKT_LEN; + dev_info->max_mac_addrs = DPAA_MAX_MAC_FILTER; + dev_info->max_hash_mac_addrs = 0; + dev_info->max_vfs = 0; + dev_info->max_vmdq_pools = ETH_16_POOLS; +} + static int dpaa_eth_link_update(struct rte_eth_dev *dev, int wait_to_complete __rte_unused) { @@ -260,6 +277,7 @@ static struct eth_dev_ops dpaa_devops = { .dev_start = dpaa_eth_dev_start, .dev_stop = dpaa_eth_dev_stop, .dev_close = dpaa_eth_dev_close, + .dev_infos_get = dpaa_eth_dev_info, .rx_queue_setup = dpaa_eth_rx_queue_setup, .tx_queue_setup = dpaa_eth_tx_queue_setup, -- 2.7.4