From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0051.outbound.protection.outlook.com [104.47.37.51]) by dpdk.org (Postfix) with ESMTP id 21F71FA66 for ; Wed, 15 Feb 2017 20:07:59 +0100 (CET) Received: from BN6PR03CA0062.namprd03.prod.outlook.com (10.173.137.24) by BN1PR0301MB0724.namprd03.prod.outlook.com (10.160.78.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Wed, 15 Feb 2017 19:07:58 +0000 Received: from BL2FFO11FD028.protection.gbl (2a01:111:f400:7c09::137) by BN6PR03CA0062.outlook.office365.com (2603:10b6:404:4c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Wed, 15 Feb 2017 19:07: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;caviumnetworks.com; dkim=none (message not signed) header.d=none; 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 BL2FFO11FD028.mail.protection.outlook.com (10.173.161.107) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.904.16 via Frontend Transport; Wed, 15 Feb 2017 19:07: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 v1FJ5fMF020023; Wed, 15 Feb 2017 12:07:54 -0700 From: Hemant Agrawal To: CC: , , , , , Date: Thu, 16 Feb 2017 06:09:44 +0530 Message-ID: <1487205586-6785-46-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487205586-6785-1-git-send-email-hemant.agrawal@nxp.com> References: <1485172803-17288-1-git-send-email-hemant.agrawal@nxp.com> <1487205586-6785-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131316592776672710; (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)(7916002)(39380400002)(39450400003)(39850400002)(39410400002)(39860400002)(39400400002)(39840400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(356003)(6916009)(38730400002)(5660300001)(5003940100001)(305945005)(48376002)(110136004)(36756003)(626004)(54906002)(86362001)(6666003)(53936002)(33646002)(8936002)(85426001)(106466001)(105606002)(2351001)(2950100002)(76176999)(50466002)(92566002)(47776003)(97736004)(50986999)(8676002)(50226002)(81156014)(77096006)(104016004)(2906002)(81166006)(68736007)(4326007)(389900002)(189998001)(8656002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0724; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD028; 1:hXkP8hKOnGBWFuZ3/iEBd6SQdF6fc26P4sOQ4V92lMrg2HMPEDRoRjW5UjNcmQumSyy0qEOsQKzCSUZlYZ+QB0t4GxFYU4DnmdWX0CSCnBSszaSA9o8kUah2sJf2wEIzGVh4ZPJQihPF83L4Q5KPx6fndi2lr1t/TOlz00k1wLGyCF8+8f5wVPRuTc5YsgRPpI7Q6buPX0xCwe4Gu69BwzbXPC/K6MlgRrvZKTAuugZAx1oM/7aGS4OLb71adRBGRJYAQirtw8uLDaBhq6CyZ8AK/CGWeyJd9hcbqW6oxnGSd8Zr+tZXLG77B3LkburoboQlx71m0AQmV3wZLJYy8VW/i2tTqyTcg7aFE8JHwMr2YPOOlqVsVa/8jU4WFLU7l3WsCJVFGxNq8x/RZVGQVxWKEwfNH5tdxHZzPFZMOTcaZcpKYPw0kuaq5A5wURDnGJlLfZNKc3eDZoD51kcgOz8bpHuUmDMe3us8XBVd/Ar1arvsiJpYE8br3TkjtyUXY3m57QKBcGH43ciSSdkd/X1thwHIX0DwC0QvkpF4LVSWM323/Hhx8Tx1dlm8jMpLdqJ2xPuuTtMowVVHR4RxZdl1KHaCi4AC4nQT78s2j1sV/JwNKNwcp1ARZ1EwMLwkYGvEuUKzhMuexO5CQKUv4A== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 0e334d45-1c7a-42cc-1465-08d455d5f406 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR0301MB0724; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 3:OPXo/552nNXAG1+A0FbxIDN3neNcgXCIiM2sLRfOhNwIyxl1pH39kpJZa+L9Ysw5OOTB/f56bFNKn9lTip7NC6BxwQ8xcKy0LeQf1H90ZzVT2VlmM0eNk1xOLg66tPuYtTTXgCh31VmizFfcNnWVK4XMR+B1jByFFA4izX7/azdRW1nc7Y4a3lFWc1Q4/hej2nFmlxESAiDpHkUd1QvwD7hNhRt8kNc2mcl9P+y3mmwq2B6un9meRxv8f/cTTswbxUzDdcb/gISbgrJ4a0psFCWK+KYJ58tUC6lCuhZb5tztqhK3sV7Ym4CzpX4oi1fItiR/+OKzChxqihMNVKPGTTCWFOTCKr3WqdY1Jqb9998UPOP8ODkhY4hxnMRfeqh4; 25:zVZNi+n3jGp3k+MCqbbm8wJnkI85HzELqg+Lk0cocR5Q4k3PpYHeKccROCJGTDpnKLI41P+47gBztq6dI4oNUWsQ2ulRbXIMZWqYwlgFZuxykVvvlUicKBuTVMlVXOe/yo7pXkYfaYFE8JWXqsdZPAxWxVVzIlN8/OjkgA04NspKQjhMZKdZG0XhPHDT1e8HBD5neH/ZYYiVzpr42GY9rIkKYUZ4N2YGK6Mv9UImd93eEhbynacXnQxQo87SfjJKDJPaVF/dS6Y7lrocW9sq4uLbX+3P1UHNF2ypz+rcGWC/X8BGvIX666om8IOrxtubO2FEzP1k36o78BzmMjsEhqxwKKgJ4GZXfUgABn5I7ADntURRRoQauEjo/ZzHKE18my8hlAIRwTnsnE9k8Z42ijarpowdZ+ebOlt1OVQQuassJEbqNpyYHTL6cZM86IWLvJAyBnBuyRVicHAnh2h2Iw== X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 31:3MR3Ni+nxzDIygHkoSDZcd2q7/XdQBVk+wk5s/BHxVxHkW1EvrdGcteXAz3ReU0rU/Av/9j1zW8ufdJOFas9KvXu4PUaogxruW5kzqgC5sv8xKb5vrihSz6Mn6rLH3heFWwwMdx3q93G28Gmu6bX6IFgFFNmcQ5aEtCy2V9MhyFZDq4rg38aPvOqa9Yle3/TYtqtWmnUlnz6NM5K6IX9JtHtdwx3YhT0x/wFIu3Vg2QNbqYiqo1HQUAiMyzXTIClcEASoJVhXjfthm0yM2pDuA== 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)(13018025)(13024025)(13023025)(13015025)(13017025)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123556025)(20161123559025)(20161123563025)(20161123561025); SRVR:BN1PR0301MB0724; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0724; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 4:yrZaEnlxY05iJbO7WFk0poF3xKZKpzBCVFwLkvGfZiTJkaYiWpftqxcKTl3mYhh2oF/gCyi5LqdXd/dPs7i2CsURUPXlyoxMDFA4MVLEc39cySMath6fZQSuGRc+AdFOsU2shwSpHoP3xvAKahvM2kjSMOEXP2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xiC9cx4t9C7dUUf3qUtspI2yhIV+bbIT?= =?us-ascii?Q?glyk2cvhg1AtCOminAGfl7dCmnxfDM7oeOvuMzKa1Uqz5/zUKOB7AMA3uxIZ?= =?us-ascii?Q?p0dL05wjPHi4LbJQXyl8QYkb6iOp9WeK75eKItb6xIiwd?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 6:YB7OTK5EpgF6aJZh1KuJjfBVTG8VuztIuvQnS3BLM/hlVcGK+C4XTzn2vlCPVH2mme1c8oJp4NDyJOCU1frphs1xruzJwFVS3vXpt2jb5oTe1+rfmT1E7M2/36hZ7KRcGstQF3LeNEqjicEe5efz8OHzq1CyG7MvKhto1esPp+MtfgANOpszLH6cEIcaVhzsQWqCu56LZHykw4OBvXzZwroR1e7aLrhq/eqV8WB91liT46+DglGU0gxOs/QXTs2pJA5HqwxWDu23RvBFOXDvXIinvTWaTJV2co0tRQYOo1I20lzb6lT8nJ7K6mEsFRVVNBCngIpmBhWkw/FbF0XKhruh0UqASbCsWdDoQoC65KSICsmahvUA+onoQL+McYr9A4SRRhz64Zt3aOCdJPBamU5V4AGVbgjIgnNZk8Gj/s4=; 5:DxX8QGgDtm93ZNSu7g4I9/i33LTZNLH46wgBmJtanM+uQdXF/rV74FQztAtbpUEj6mZkMpFJkcrNghVrSsVYzqo4ap+i9T+6TmLNDoZm0z8QaahtLWpRL0uM4I6MKbW5z5miGsgKV6fGSV5SKmEjLqLw2GEuT1AcqkAkohSQ9euYBQpYyssAWGWSdtpjBxjq; 24:tHjFcg+9+yN80GtQObpbir7HUzSMCJx+bLzvUolCZCx4/piGNLZ4kl1Z4JUVf1a7x6juy2k1G4wgef1fTwYYrXBO1m905IWa8sL5g5I+H5M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 7:0aMr2rGakEtQVafdA6NixQ6CXX3C6q0+VHtiMGC8kPduIgiSqerX8so1XT6JbgovhIWnXn7L2S1yZiD4PLizxaHBFnpAcEQGAhG2AZqyDjRcSl5EJ+PhKovRJ2DWSMlCe1lGi9/C0axsrzBfw1atiuYk79OF3JgPRpctXvu/xqPtFA7aHdWf5nupAnv+5/isLujC7jN/m1Wic2vl4G9vFhewosGDo7twag9CxpXkhquAODf5xKRWvzyQAW5HvJfIzHwDXEL+M2SAv0S3PW+MuskVqoMcL1JXaKIMGnH7i7M7Qh6nQpvDfDD5OpW/GhmYyptCM8cH0bFLhtpMPWpwyg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2017 19:07:57.4800 (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: BN1PR0301MB0724 Subject: [dpdk-dev] [PATCHv7 45/47] 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: Wed, 15 Feb 2017 19:07:59 -0000 Signed-off-by: Shreyansh Jain --- 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 64f41d9..6dddc3b 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