From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0057.outbound.protection.outlook.com [104.47.37.57]) by dpdk.org (Postfix) with ESMTP id 8321269EC for ; Fri, 17 Mar 2017 14:10:00 +0100 (CET) Received: from CY1PR03CA0012.namprd03.prod.outlook.com (10.174.128.22) by BN1PR03MB188.namprd03.prod.outlook.com (10.255.200.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.961.17; Fri, 17 Mar 2017 13:09:58 +0000 Received: from BL2FFO11FD031.protection.gbl (2a01:111:f400:7c09::124) by CY1PR03CA0012.outlook.office365.com (2603:10b6:600::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.977.11 via Frontend Transport; Fri, 17 Mar 2017 13:09:57 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none; caviumnetworks.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 BL2FFO11FD031.mail.protection.outlook.com (10.173.160.71) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.961.10 via Frontend Transport; Fri, 17 Mar 2017 13:09:57 +0000 Received: from bf-netperf1.idc ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v2HD8peh021077; Fri, 17 Mar 2017 06:09:54 -0700 From: Hemant Agrawal To: CC: , , , , , Date: Fri, 17 Mar 2017 18:38:43 +0530 Message-ID: <1489756124-10805-22-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1489756124-10805-1-git-send-email-hemant.agrawal@nxp.com> References: <1488545223-25739-1-git-send-email-hemant.agrawal@nxp.com> <1489756124-10805-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131342297974224216; (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)(39860400002)(39850400002)(39380400002)(39400400002)(39410400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(86362001)(50466002)(77096006)(50226002)(81166006)(8936002)(47776003)(4326008)(5003940100001)(8656002)(53936002)(8676002)(48376002)(85426001)(54906002)(81156014)(104016004)(2950100002)(36756003)(189998001)(2906002)(105606002)(6916009)(106466001)(33646002)(38730400002)(2351001)(110136004)(356003)(76176999)(5660300001)(305945005)(50986999)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB188; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD031; 1:xl7wrMdrlN3hEv3q83W9qjXFDftySL5ZTPUGlLYElLPd3Y6yAfZGcfhJ2uAuH2aFQVGUu7KefQ9yx5RMtONmWXZZOFKrUTdeWHrdO6BI15ep0EwPXEZrLCdZSFCinm/934btvsH5IbZcE+AUlrGGkOkYGQAx7DCVXzVeC44F2Rq0IP3KGCzBKc8rtAjGPe3zh5mtde7h+sSV8X4HKDyQU7JWsscYRiVjPPPkwhjZnaz3LN0gwHDRvoLox+jL/RinKWa15A5+HcI63yQP48nC6/OzGasWECdtE3Rkc3m+IB6SdHXEA1T1jwmCnKLjeTiZUXCUecfv7+QQB/fTQ4tsDPPCjYrorhMNpxjNbTz7OQGWuo1rMFflEK5Oo30CCD/P95VZiG1t7gNDkMzqKNIgANeBD6sNiQuZ1RRT/baWj8AQ5qEYQmY35F1EewGPDxwrTdCaPHldjpEF9ItRYcZkybXVvWwv9haKp0ZqKWf23FGmENsGuGH63XRhlJUtBwO8TDddBdREAgMj3WfhQ+rEsjDFgBShbJFj6lk47CYLzpZ/PwRdNxxk703WmGCSpwwA9urKI4W7rhd3FfwIU3X39acQIMk9jPBwe8kcr45+Zqea+nl9b/lXoLnKMh1eB9Y9nmlzwnP0ilUZyjcGIG/IOg== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: a7b6edf6-e645-484d-53f7-08d46d36e931 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN1PR03MB188; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB188; 3:H4pajbywANWZzCVSGBpHs93VrBB5VbmyIjQPA5EWU7NFDX1gOHKO/jP0mQ8KXUbviU/B76UCM75Hm4RDJU8SJ3GA511KHGqqEnpFcKmIWx2KfmCfldBGFdBnNHNd8gEQR/CdGB/VAw1F1VojeSwzyPMsmPK71Ug4j78lCn8NJl0WmxIQ5PYr1TvwNCw86Mhre9eWuJVQ/URDSbiiiRA8dqfLNV29UIOtrIMOi4s05OSM70x7bo0KtDTQZVOx73v/N6DXh4Iv2JLb6JltP8bkSw86Hz8nk4bFDzyDt1lcpKw5puS4kiAa5ZyHjiaG30eZiqI3nm+5MGfUTgPfagDzrFScJfRUu49b9KRDmPtTmk5FZOL8T0euUk0FAAOG0Q2C; 25:ET0P0MbOZSCf+rhinYcBCGv8hEvNivr3Da/wMnAD2a9sr62MnERCLeZisjIu9htkJmagqUOiFc1Csj1PHJNrs80k9aEibTx8zgU7GR3pRgDLyRgGVkyT441drLU+Ab+b99R82RqsjvTBHNtWWxS7owTcdzaSqp/5ieCzMRoMAbMpIbLqgI7ObKKG5UuP3yPKVWBsKhsufs7XzWJ5AyY6zRebp3mkz+zg0NhUDeLVbqPCb3rTe32nYjqG3gVbOiDHyYiX34PDuK3XHPOF0O4jwnj7iRIm9HtNOAFXp0laZWTvKRGPaA1Bix6zYT5g60PrGqh85Y4/CavQE/277cCP42UbZa34rqUc1Wzo35J/qFLAyChmnvWlUzEQSoto8MgfKD6RcjwRyONAKwfjAR5UWRLh5+gKhLr0VG0GF54s0FzbDnwD7gYnj7bfb+UefiaJd7AjSVChEZS0vv9YuIAU8g== X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB188; 31:nRI/TKpoS8r6cBzTD5hOfAfy7QN4iY9qu3lLfhLQ9iKMg0KxXXDYwqbVreaGaANFyASRpYw7XQKYQ8Q8LFyS6Vcb+SnIBpL2E5rBjLGCLpC5KTVJ0iU/bGUBlKorn3cl/mi6pPXBFMalfO0O85Pvfk4W6J1KMFvw0qHCtCD1P2zTjhwmH66POUNXW0+9uXdbgJeVnHG0SZra4OcDQh+Gf3e/aKYdQHzcMIkMqJcopoQKJDup3VVq+uEuMtInfuSGXeuXHPSASrm1riUxB5ikZhFGLhEPmqTZfWWl6hO2bhE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13023025)(13017025)(13018025)(13024025)(13015025)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123559025)(20161123563025)(20161123565025)(20161123556025); SRVR:BN1PR03MB188; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR03MB188; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB188; 4:Yc+mhgDEQ/oYIBAGSyFIiVGq4PlvvS+tBSPqSHhP9GwwozaekqA7NFvyAFRe2CKmR/ua75DB2+xL8cHMN1WWUvp9GG6tEIVmr0WHKpyhQ4mKF6JhUEjVEXWNAx4fp8v/EP+oNKInnS7T78xpttSiL4bmvkAcFt72VO47575tn1ZQ0kMAoOC8jpxCpbxFQGJseVkQTQqXBN9iaG0XJS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tMa0q1sMwh3iCG0ko//n160JWDLGqcYB0WOAxg5TOlpbGRnXfzEWkE/kt/AxKTLWIcINB8/vsTZGbJpAx+dXnXPH3rxyMQlxVZRYuguGzp7EFgg6WEWbSQQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2017 13:09:57.2352 (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: BN1PR03MB188 Subject: [dpdk-dev] [PATCH v9 21/22] net/dpaa2: enable DMA Mapping during device scanning 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, 17 Mar 2017 13:10:01 -0000 Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 16baaf0..6d291be 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -908,6 +908,8 @@ void dpaa2_dev_stats_reset(struct rte_eth_dev *dev) eth_dev->rx_pkt_burst = dpaa2_dev_rx; eth_dev->tx_pkt_burst = dpaa2_dev_tx; + rte_fslmc_vfio_dmamap(); + return 0; } -- 1.9.1