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 A1DA39175 for ; Tue, 4 Jul 2017 16:36:55 +0200 (CEST) Received: from BN6PR03CA0044.namprd03.prod.outlook.com (10.175.124.30) by BY2PR03MB475.namprd03.prod.outlook.com (10.141.141.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 14:36:53 +0000 Received: from BY2FFO11OLC004.protection.gbl (2a01:111:f400:7c0c::145) by BN6PR03CA0044.outlook.office365.com (2603:10b6:404:10c::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Tue, 4 Jul 2017 14:36:52 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11OLC004.mail.protection.outlook.com (10.1.15.184) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 4 Jul 2017 14:36:52 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v64EZM7O016426; Tue, 4 Jul 2017 07:36:49 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 4 Jul 2017 20:14:31 +0530 Message-ID: <1499179471-19145-41-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131436526122302597; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(336005)(39450400003)(39840400002)(39860400002)(39410400002)(39400400002)(39850400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(68736007)(69596002)(8656002)(53936002)(8936002)(33646002)(81166006)(54906002)(76176999)(50986999)(50226002)(8676002)(38730400002)(189998001)(50466002)(110136004)(2950100002)(5660300001)(48376002)(6916009)(6666003)(104016004)(105606002)(2351001)(106466001)(36756003)(2906002)(47776003)(77096006)(305945005)(85426001)(498600001)(356003)(5003940100001)(4326008)(626005)(86362001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB475; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2FFO11OLC004; 1:3Rjp0mk0Soyvsmp1AL2kKIg/aPfZOj0cII1vfi54y?= =?us-ascii?Q?r4mqKKM6n7+k1SqvaSDS3w9HILM56SHb1QEZgSHQQiPdrlLgg9mL01suP70t?= =?us-ascii?Q?7nrRlZODjAvKohkfH8iCoXSe0MnB+1vXD1RSNkj6I+1QyPkWK4RKpS2Q4sI2?= =?us-ascii?Q?rNIThDBTnE1Km5b8cS24LZUMIRv5F/R1c85Bsn4nsNHdCm7h226kHjRzmsFl?= =?us-ascii?Q?PERPlVRN1BXYU7VmZXkCA+w8kBFe0m/sH1gqUuHoQMat8GS6ppfnRdxmss5q?= =?us-ascii?Q?dz2HC6W+iWB8PJ/4xF8dD8vdvdmkjGmgbFXoUN7NlvzpAvSLCDltqVuQcw7O?= =?us-ascii?Q?MTUSEjXt3Rhmycw/5Cpcrt64a2eMOPOYKpWpeK46gYljlqFmnBrzUhHE9ald?= =?us-ascii?Q?0JREcvR21Re6XoH38C8KJT1eeJ0Fdf0EJaxKt3IF40rJegLLNLoh69H1fV/9?= =?us-ascii?Q?EGEtAQDqcIT0f1or422K2XSJFvi4krTXsEuYZFPqWjfH8BgMda3sV9dz9OYg?= =?us-ascii?Q?dAe5i4UmRVHvBT9tZH6FwknU7vh3Zyd8jfFqAYM78K9WZqG2SE86YInXWBAo?= =?us-ascii?Q?askafMsYhTb8GGOc4UFDp9YgcTMjSs6o7t8aPsFslMq8sOAa5dxRothSuREJ?= =?us-ascii?Q?M9HyTEk4XhiIfdECIFA/Q4Ew0mUq0LFrRrD3Al4dFs36C3aIIdcz2qQ+m7YJ?= =?us-ascii?Q?DXMYMWRcGENyjWwbruO0WfA1PJajYR2bMf1gVGsgPhSlL6kJOWgmMwJu2h7j?= =?us-ascii?Q?rj5YcqJDXxf6Q+cc7w8lqygBPVXRAAX/991Oy+ID9q2Qw2HRJeLzQ8DmTM57?= =?us-ascii?Q?mGsuDG86ACXPMbUOqQN5XCjFrfemgO8oE5onPVMYkC4rFdYorffR/dTscMje?= =?us-ascii?Q?/6HRfhMylom+Dc8EXrmRhYYtPFGJyeE+RlfTGgnRFapbUj8cYmyRGHU/VDX9?= =?us-ascii?Q?T8IJVUh+rIkDDBGboxSFpN2d56dHw3gQfH2cxX5m6fvO3oCiYKUNpiGiKKgG?= =?us-ascii?Q?KqEq6tPUe/7HjwrL6ugZRNmkOLfnGjZSPSLYPe+d8isYluOJzhONc3N51GuU?= =?us-ascii?Q?5biyirG0vDFtRdmcCcKQsJKMA0izXy/lM/3bPCcGTyL5XdHxw=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4cc3fba0-36e3-4cf3-f195-08d4c2ea1c6b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR03MB475; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB475; 3:QyML4ebHKtNhh6EtYSKmvHMmmjN6BLqw90Yw0RNPHnj19SjvYX+T9wqHwcq1CcZek5Vro3GrJgHSgmSyrHQAElI2ttd442XpvMKjI8sBHZg8vf5Cl9whknbM2tjA8cnjCiCxRH0sY2l59CenoT57Bxf2N38ec3AMTT1HFK+i1rftxE7yNN9ND7NIZSyGWrXMkkZIOGVeMRjZVVdzlqASkP2XsmJfnKtQm5rC2/jcyacmZGuGesvo9Pm+O4btSN5Y6bB9a3OmSlWVOBJQvWkYWwsxlP0MZoNg8jbMg/qL3fDHyAcWTO9lb909sfBt9XHUY2rmcPlLUE/N3F8q5eUW0rfXyT6tjPVcEB7o8LOJioHTBzudD8VSL/RiCPnuQFXTGh64Mt+zZtN3nS0xJte2uA25IFyC/PaSHAlVCvfo4rq1Z3WTTZrcmHw5dH6YYuYQm+XR2x2d0lROMvJvsEtUsSI1NzwlPNETbO6c6vAzdJ6V2kBrfZYMcB9gC0q6cvowkL3A9TGJg/amXVm7WHT+JGUZJqy+r8lhChPkHFK+MRpUamatw2wb2TdqtendZny1E7LJHZK6Li4HdE2HSsXdyqVRX+8KzvLLgCRD7Xl2YmCg7o76OeFf3upeym8CGvyvuNOXyj6UQP6qXQEOjmQ6ptmTf+O6HGYV6lQBTJO2oCbFYt71hY5ZgaRucg3ffI6H5F3TK1fX91uoBIXjr/SCKh4d05Phn6l5IvRNGaT/onuXX9wpXNOtkeFMEizazTRIQ0zYs8Kou5Kvo9TnO0d33wmr3MlTGY0unhds+6zV6vws4yM7x1kKk9zgBuG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change-Diagnostics: 1; BY2PR03MB475; 31:q7FNLvbajVl8/kEUc1wsPGaixs7IBXEvPSvfZD5lP+eZtHk6eNYYeOMUu/V3l7Dj7hnfS7W2Nhg81We03kvnPjWY8fej3dNTU06RPCUAcHo+h7XJC9Itsok6waU02s6TSj/xeenzVGFMasN96sEw6xALWXnCds0xumTYQwiLfnO6uuSh1BwnPKR/Ike75hg0Ri+ehgNbycZbzUowivwRxmmzJFnmd+rgzPj6oEOLeMf6opsHfXU+6rsX9CZjZ9LMXTrcJu6F8W0kEoQnK/2QCY7QmG9xQJA/CXAdeOpFKI9Gx9lT1vGsg7uyxPSC5SYo4xPCPzRYexQFFHHDN3u4eEATRPI4E8YUL2e5mMEDXfQguBrftrjzYqgA1uChRlV2EB9U5YQoI+hxs5A41fn2xlQXPvlXRB6+mXhIkclejMrJTbIiFEsdiLLds3cE6fvu6fXEeY2eoP4DfiEdew9K7WvhnqRXllTjjnjOXtGAa3UA0NKtMH5lLjdKHnjdgg7J6r4KfsUOMks0sRTzvvx/P0yoD7chNXy3veP6cBPeGjFAxFUXAk2YKB0KoL6HlpLb6HhWkLNoLRxSQzwlO6wpB5Eur8Ko7VFjm3gHjDS/xcpmAdzytyEb/fHKIiq1Ow3SCgq44kOO4SSyO/eWJ/0CT0ZQyg0XORx1S4bDjBocn+sgBKO1k8ToZ3VpoOZrahuE+4TE7L1kyVIR2S7wzXMaEQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(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)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6096035)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123563025)(20161123556025)(20161123565025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR03MB475; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR03MB475; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB475; 4:HsFO1kCfp92FKpTSvzGLLIAshIcAnFJ+W7Z+mjadwXV?= =?us-ascii?Q?a7x4jcCVe1t+0edvR+2f805XpQagUf+/6gV3uGPfkuby32XAqBizZ/XN9i/m?= =?us-ascii?Q?wIYeAAoddNyXIVmx46hc4kQCV0SfrOkIIKyA+178q8RHPOrvxrfD8Of66t1o?= =?us-ascii?Q?DKoRVuJzhIpvpcTsFwNsqFl9sTuH2RnxGSUOzVlBsVWZaVe92JFz2/7mfnvj?= =?us-ascii?Q?pruHuyae/deiTrcvX4wXraqwABefq+bmny2bq0LGCjpUD4BJnfPfggLoKdZm?= =?us-ascii?Q?Ocyv9UEa0zuLLS52LpSBRP/hw0CEB9aySeNR+ZXk4ZmP0v9ZwVEPu8bFJ9yR?= =?us-ascii?Q?IaYfIwskfisbwPL/WK8F1ZeVF/9xFa7qUIDKoRiBzZJVgFZth3eQsE7bdev+?= =?us-ascii?Q?LDwhjTbxMMcxEOhTAzbq2gdQ6drPdMuRLvrbHC4vaxgLbu1dpfDlTiNIaA3E?= =?us-ascii?Q?UisbqC7KdM3sgsM8eF1AE0X40cXCXX7ya0MFL/89wii519qU9PUieVgaLNth?= =?us-ascii?Q?9BvzKwPAoQXeDJH0zR9bqzyp0JwBN7FUMJsaSdnis8G2UFez/yN3pYzDS3OV?= =?us-ascii?Q?z8cteCf39G6I+FfpOosYJp4o3lLU7G8POgdMzo168ylWQaaPZGyNjKtybaMZ?= =?us-ascii?Q?7QMRDgn6yl5tHnLh8tsSmgzuF0xTJdoeSrFb5+eCTih/LlQ6PEufqlwRyLa7?= =?us-ascii?Q?0+MkwljiZ6QmgOmU0oTKdxONDN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/MPFiJgjOY1fXYIfdWmqbT4QyUnsJ/yHVIoZWKIbixNhIIQVGhSv?= =?us-ascii?Q?FO79jR1kKL877auGaoEbaE3LPs0tIZZue5uDzNAmJNbcNWEg+zYerr9nfxB3?= =?us-ascii?Q?1PJUMD7GyMCYSZ7hY1+UiAJCvbnZHNdjT830EqEGjsJMLfoBAQB8RO7YYxMk?= =?us-ascii?Q?B7eVSJzwwykFuqNdqVHrIOHk4bBt1tksvZQUMZBmRcyX65cfknqBKfvVRFsQ?= =?us-ascii?Q?rDyL6eAqhQQBt4lA7hR2uTAz4pzAvM3OiQJX8ngcdnwJyUwfuuS+puMFfykJ?= =?us-ascii?Q?RHKzxG38ex3JdGCu6mBo3MOXCPTbPXsmFaM4NS0wacwKDW?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB475; 6:5s031nmgfk6DxnS0ans1T9hfES8vCq7E+14ZCsezfJm?= =?us-ascii?Q?lmk+uxx5pXeSBBgvzyyzugde1+EUXo3pjno8V6zwc5QutPJ8o87QmOVPhLIn?= =?us-ascii?Q?4cjUxaEDT0QPi7RJz3feoqvAIvGiU7RXKTFD8Uy0QOLqJA7J+nhKnoREIh19?= =?us-ascii?Q?fj+0Z4AD+dFxUVf3+84UMHb2HuwWTcfzwW7oXwmdu9Cp/0fQMSG32XtXKZ8N?= =?us-ascii?Q?btZf/myst5W4RWJPDKd6aPME79EKnYDwz8tsEKwFYycqbCjhgMEBIK54cpav?= =?us-ascii?Q?F0lXhCpbCcl6i1W/i8nsfh/OOK151oWP+i+AwZIdwBzJD6Iuek2WxELuDjA0?= =?us-ascii?Q?01eHANhWjatLrUmJGVLqpP77DmGjoulTbTXiki2lChpr8W8PUKxhiZDbMS0A?= =?us-ascii?Q?X/n1ZbnK0X6tfxK+7ymi3U463//sV5dYZsX4B6CVX0iOuGgof2JXMDKJxiPS?= =?us-ascii?Q?8hYuyQ5aBcvun+csFJUuwOko7hS1T5b5ko6IPF9ovOfzstnG+1WPL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0D3qp2x3GvG6HTiL7eFr9PdP5ughvrPW0R5aCpC0Yl2CECDyRNaAc4w= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 14:36:52.0118 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB475 Subject: [dpdk-dev] [PATCH v2 40/40] net/dpaa: support for firmware version get API 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: Tue, 04 Jul 2017 14:36:56 -0000 From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa.ini | 1 + drivers/net/dpaa/dpaa_ethdev.c | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/doc/guides/nics/features/dpaa.ini b/doc/guides/nics/features/dpaa.ini index 0e7956c..09b9bd9 100644 --- a/doc/guides/nics/features/dpaa.ini +++ b/doc/guides/nics/features/dpaa.ini @@ -18,5 +18,6 @@ L3 checksum offload = Y L4 checksum offload = Y Packet type parsing = Y Basic stats = Y +FW version = Y ARMv8 = Y Usage doc = Y diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 5befd72..b99b964 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -163,6 +163,41 @@ static void dpaa_eth_dev_close(struct rte_eth_dev *dev) dpaa_eth_dev_stop(dev); } +static int +dpaa_fw_version_get(struct rte_eth_dev *dev __rte_unused, + char *fw_version, + size_t fw_size) +{ + int ret; + FILE *svr_file = NULL; + unsigned int svr_ver = 0; + + PMD_INIT_FUNC_TRACE(); + + svr_file = fopen("/sys/devices/soc0/soc_id", "r"); + if (!svr_file) { + DPAA_PMD_ERR("Unable to open SoC device"); + return -ENOTSUP; /* Not supported on this infra */ + } + + ret = fscanf(svr_file, "svr:%x", &svr_ver); + if (ret <= 0) { + DPAA_PMD_ERR("Unable to read SoC device"); + return -ENOTSUP; /* Not supported on this infra */ + } + + ret = snprintf(fw_version, fw_size, + "svr:%x-fman-v%x", + svr_ver, + fman_ip_rev); + + ret += 1; /* add the size of '\0' */ + if (fw_size < (uint32_t)ret) + return ret; + else + return 0; +} + static void dpaa_eth_dev_info(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) { @@ -518,6 +553,7 @@ static struct eth_dev_ops dpaa_devops = { .mac_addr_remove = dpaa_dev_remove_mac_addr, .mac_addr_set = dpaa_dev_set_mac_addr, + .fw_version_get = dpaa_fw_version_get, }; static int dpaa_fc_set_default(struct dpaa_if *dpaa_intf) -- 2.7.4