From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0084.outbound.protection.outlook.com [104.47.42.84]) by dpdk.org (Postfix) with ESMTP id DA345CF90 for ; Sun, 9 Apr 2017 10:10:25 +0200 (CEST) Received: from CY1PR03CA0031.namprd03.prod.outlook.com (10.174.128.41) by DM2PR03MB400.namprd03.prod.outlook.com (10.141.84.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Sun, 9 Apr 2017 08:10:24 +0000 Received: from BY2FFO11FD002.protection.gbl (2a01:111:f400:7c0c::109) by CY1PR03CA0031.outlook.office365.com (2603:10b6:600::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17 via Frontend Transport; Sun, 9 Apr 2017 08:10:23 +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 BY2FFO11FD002.mail.protection.outlook.com (10.1.14.124) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Sun, 9 Apr 2017 08:10:23 +0000 Received: from DTS-02.ap.freescale.net (DTS-02.ap.freescale.net [10.232.132.223]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3989Ap0015502; Sun, 9 Apr 2017 01:10:19 -0700 From: Hemant Agrawal To: CC: , , , , , Date: Sun, 9 Apr 2017 13:41:22 +0530 Message-ID: <1491725483-6619-22-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1491725483-6619-1-git-send-email-hemant.agrawal@nxp.com> References: <1490362538-20854-1-git-send-email-hemant.agrawal@nxp.com> <1491725483-6619-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131361990233878918; (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)(39410400002)(39380400002)(39850400002)(39450400003)(39860400002)(39400400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(53936002)(6666003)(5660300001)(2950100002)(48376002)(77096006)(2906002)(36756003)(54906002)(8656002)(50466002)(6916009)(86362001)(2351001)(38730400002)(110136004)(104016004)(356003)(8676002)(76176999)(4326008)(106466001)(33646002)(105606002)(81166006)(50986999)(5003940100001)(50226002)(8936002)(85426001)(189998001)(305945005)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR03MB400; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD002; 1:1DHwCiAiKm3Ew1IFzukIZ2yY46h1PSEgbXQMQid4k7tZyTaLjV+SI00MH5KjFiVwQOOh+vCNs5QIoTZcGR712p5kzRkrxQINQaahb7r0pXfZ9ny/lrvaByrYCcssa7tP18pNYaqo/dnHHagz2onPhhu9r/+eFPnazNT0KGbmcFupxhi4JbQofbECUA+IAgVcE6/3wDeDyqj4YfOipGoATEKZUW3y964kEjAZrDAvoNBH0RklI6kYMehmFshcyP1t9dQAMRoX8BJoQoneQmOFATwfH325YGH4+Oldllm/OLuzRtxOhyAtLXhAb92fcA7syKI8s2jxbhdRDGucm1NoN5NNHtKqkroRZnvw7ioRf/h9nvnCqrMl57E1sBIRR5K5CM5LYhQZeVTxJr5el22EdtcW8eJx8P4fI7tMTdftBYqZmsAamI2BsFzg6hWCldn97KbkhrW5KC38X0DWBaD9nScd1JGU5LAdTGGaAStHjv1G2vfeCqkNhwFAxna5t5Z4DQGZK5ouRDQL+ZCa2JfxvokAPZq5v9eTmQTMj0P+/FYU+8HiakTuG5NynoIhcBtKnqMhEoLoxLzUKk2Lvas1yAh4j1mvvZZDPkrS0sW+IwxSL5yvfrap18MAslVq2sHmtziRLkM8bLa0P5qk1Ca2IMUDtib0aNyGTFYrwSUkE9c= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3a1abd0a-2104-4d96-8541-08d47f1fdf42 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:DM2PR03MB400; X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB400; 3:5RlGRIFTPIBffr3MO3txkv/Kbuw5tKKqlvFJHGhzQDBHgm2h6JakzihB1ZU6m8xMHfz5Uy+i6h8Ojt6kKBv0D/A+jCWttbZ1lygi2JEdpXJDq2K7PbK6AUq9xJaOabOIuU4KF7uR5B6V8xVKyu9K0zIeWZtMkTu5SowDx2QpLrPxQ9G3efjywQ1j1cf2ji0b8b+Lu1GDELTLNLvETb26iKlmN5NXtLS/0kHr6UCEauud5XQcV09qrznbgOmlvB1MhkzxAyU6KflD/YrcEq3McUIiA33x6VaxcfT7y1YP4U9QU2eqIh8+3XmBJpmFw6QMjgt/Pt4xe0gC6IkFnmw+owSMHVeXP7rhrGDW2QAh4Hi3D5/U8SBF5hxPRgtsXtrLHTBByFl09NH1LsFG+ys60ZGyRze0KImLijkRNx0DfH2S730J6jj5UF5AOObyi3hf; 25:Oh1es7zqo/EbZuFl8gVKkQ/ZaHRDCKL1iSNjKwkh/Nu4VpYZ/QUgXlVrQN/s2y2A1L+LtpNmNudeXEDdc3FAFP1xmezG3lb0n/2drdSbUBbbAooMHxJq1KH5baUVDOoZqMXrGUcNWClA+9TLkQ36CCRSeRL33u3NUXb8hgjwUDtqjtVPh7b/2AyTNO/NAhJlOxa+YDBtG4lKkNMEqkwYkl9//HqeT5dUF6i9ehRjZEHoWkiMt3mTTDimsKI9wqVlReeqOoSeuzoJwyLyRgMRz6w1GlM9e6fyDyTi4PQPMZU7J+wy5kXOK5JS/Nc2Yql1A+KEqQRm6iYQIxP5VhCwwKTMcPQCFAJ4dzgNdARuLqwl9TNwlovYEsJ9pQYR+QqAEt4bo63w6VTviviJ2lX+Aaljow6kve1J3kylIQbd+iL+CwBcQDBVcNt3St67dVH/2raa5JvTnqJeZnki6/mG0g== X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB400; 31:wIanZ2J+Bn3Ynqi1BE63j5nZmb4GNe7UxW++QeVqXmhvsNXEzy2dGwx5DcpCzOgKPVghVqBbHfpDP0X3HDQDcJpeFbHa2Rn2FsLJ5S6mA1NeB3P9dBz1sM1OdW7cF4+RTXrSruTfxsCgKuEkCri4j/8Wy3kwMSPgtqM+06BNvf/kCDiAaYfvYhtcEleEVy6UhEoAhSJMwWwGAFKW4jRyuIy38Ba61C+p0N7knjSw23huZlykwy46B24VFWetS+noGVgT+SrAZ3JbLmGlu/8lWw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13023025)(13024025)(13018025)(8121501046)(5005006)(13015025)(13017025)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123561025)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259075)(20161123563025)(20161123556025); SRVR:DM2PR03MB400; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR03MB400; X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB400; 4:nqUwr8UU5RK9vC8sHezRrkec4w1CTvMgUfnH8RiCBByb+mouF21gD9Y/iSycgbYT57ijwm96ZmRUDWrrtvC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nosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB400; 7:ZlfW8i1swhquqozVmW3srwqXPfpTynzELADLTEwZj05nmhK//4czDQkLzPTjv0N4Pmkujhw5hUqQKDNSU6og+Pu9etp+UQ1TFePbogCERHDEbWc1s1c6wj9Kf+R5PG6F1FaPzhWyIHjNHi56aPOzsnZjXZefphGMcLGkYZ/1MtgcHOTL80PWa6xEibGeOT6fDgT9f0pfFSA+QbgqMG09//ilGe3C/RwgRRg+Qqc4dVGNrtUbo2NhZ0NESvxU7kZp6PgJlKHisALlsk5BbI3uFdbdcmIKmfselaHxvz68jWf6aTuqrgx4R3zon6AnfniLkkAjRXdzCx+IyoNiDvtaxw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2017 08:10:23.0602 (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: DM2PR03MB400 Subject: [dpdk-dev] [PATCH v11 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: Sun, 09 Apr 2017 08:10:27 -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 8d6f419..e7b2745 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -908,6 +908,8 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev) eth_dev->rx_pkt_burst = dpaa2_dev_rx; eth_dev->tx_pkt_burst = dpaa2_dev_tx; + rte_fslmc_vfio_dmamap(); + return 0; } -- 2.1.4