From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0049.outbound.protection.outlook.com [104.47.41.49]) by dpdk.org (Postfix) with ESMTP id 2F3152C8 for ; Wed, 7 Dec 2016 08:00:44 +0100 (CET) Received: from BN3PR0301CA0034.namprd03.prod.outlook.com (10.160.180.172) by BY2PR0301MB0743.namprd03.prod.outlook.com (10.160.63.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13; Wed, 7 Dec 2016 07:00:43 +0000 Received: from BN1AFFO11FD034.protection.gbl (2a01:111:f400:7c10::175) by BN3PR0301CA0034.outlook.office365.com (2a01:111:e400:4000::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8 via Frontend Transport; Wed, 7 Dec 2016 07:00:43 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.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 BN1AFFO11FD034.mail.protection.outlook.com (10.58.52.158) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.734.4 via Frontend Transport; Wed, 7 Dec 2016 07:00:42 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:898; Count:13 Received: from [127.0.0.1] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uB770bAg012743; Wed, 7 Dec 2016 00:00:40 -0700 To: Thomas Monjalon References: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> <1480875447-23680-12-git-send-email-hemant.agrawal@nxp.com> <4516168.6vIN5TbTdY@xps13> CC: , , From: Hemant Agrawal Message-ID: Date: Wed, 7 Dec 2016 12:30:37 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <4516168.6vIN5TbTdY@xps13> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-IncomingHeaderCount: 13 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131255676429423029; (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)(7916002)(2980300002)(1109001)(1110001)(336004)(339900001)(57704003)(199003)(377424004)(24454002)(377454003)(189002)(229853002)(7246003)(305945005)(39860400001)(120886001)(8666005)(7126002)(50466002)(86362001)(54356999)(4326007)(50986999)(81166006)(68736007)(356003)(39410400001)(81156014)(39380400001)(39400400001)(39840400001)(5660300001)(65956001)(47776003)(39850400001)(65806001)(76176999)(85426001)(33646002)(104016004)(626004)(31696002)(230700001)(92566002)(77096006)(64126003)(36756003)(65826007)(83506001)(110136003)(105606002)(6916009)(4001350100001)(106466001)(8936002)(2950100002)(189998001)(6666003)(31686004)(38730400001)(39450400002)(7846002)(97736004)(23746002)(2906002)(8676002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0743; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD034; 1:qQivZX5SiZ/AdGdMWfZu3k6WbE20yUXtKXL50JKxqnKMD2PzRkZjUwFGwFA9cCKQsagfAH1IllrqpVmKWNoTfMbq749OMerRvxU//QxBC5Uz0SWCbPoRZHlhhBcjGmaLm9V3p0yzy5fivI/ggwswgGb5j0p7SNtYVIp57Ew22yL+89SyWWMMskwSozlcvr8As4kuH4McfsDCkJv+5hh1Zzc80XcrxKsywguTanlqEiB/y5hXWGeOTmcnSsieOWT42kMSoa3yqg4P4HczS+nY/54PYD3AIy/8khoAcsz0Zyq/J8Rm5599IH31yrSwo1RYGrrL0BuBpQSVxN4t6l8NXG5gUoV+hKvbVANP2Iw8AycJf9AgThyAhYA96at7f3NmUsFHEfrZAmTguolSRF06cLtaBSb6Yxw4SdMjvlmgVmNHlXq5hpnh7AK+kqv8mY/TWrylW0QiwkSkWPU/m1VpgaNF6gGBT3ORzYm/OteEqC8vutbPrLdyTnvB2V3ZewbcrlEUbPjjOHn/vzQPE4R0Qu5ENB73VZ0vaiTk9bbluNJTc1g0LMoicPzaN7ZO08U4lefUxUULIt8I/PLHJFiHegNRf3NQtDTeIH8rwmEWUUVn8Z/pcnKLXHLehWVA6hREhQKDbfne3iByOU8OmOIlXQ== X-MS-Office365-Filtering-Correlation-Id: ba77752e-ea38-4962-f053-08d41e6ec2c8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0301MB0743; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0743; 3:QcD873jKLlJUQvjTI0H9+rj7eBFfD57UFjMr7K3UDy76hbLMSX63IXj5lNgSSKqLAIXyaQx7XWcAp87UvP6I5GafHxjMYT9clZrSCz7I0Qz6reX6veibbJi046Fh1rn0CRKT/1Sd6sV9DEmrtKu42qI3Kgv3kyTz8VKj2rRdfVgG8IrvweJ0C3zhAUXXNKbk6dW6sytyqwf/TFrg1xVzIMS45yuCAIJ2Lw/6Bx93sY6SD312MQF13MFwbwYNkmyudUpmMYwZ/DgAwMYETRClHSYCSaCMqBcp1DFsSzUmBQVgiq3Yt4bq0MV0oPxbw11E1cKGthOteI0zMBDgnZWOADuxkEojTMYIh0PTNyxmVkZUZbfLoAEhKfhKJgjzSm+n; 25:dd9fLyuQrfbr7FKqq53CthxEH4cFGZAgj/ohFJLWtWc+FFBS6SPjpipTUjHKIjVkoeAplJoqOfrxja97HuT6I07ftFsFsBueY/oDd+C2793n0B03EqbV7hLjkqdTruuGCq41UPt6mqGX+HxU+Fxviww7TozmGMKxqqQbE8QCtJa3rzFjMXFNpYByZ7cFZv6fnY0Np+rg4AgiVTBil91SVWYz0DOqS6MP6/b0q8jJ/3YdP8XEwpXoDIYQePcy3yFoD4Fb0uknGvnZUEArX0CWhrSMu6KM1gWZjwl7VxHwNEhnmztPujCO/pvXdyFRGkVG2gjzPY0rw3U50VClWvH5EZxE9mnqXlWw1hqQkAtLN0svFCx8WaLNyUFoboiKoASKEBdqItaUeXh4hx24/1INbT7VsZgUd8kVY/KWQmRzTVe/38dl7GoOAO71PJDPKEeIwoNyBKVK0TT66/thL3br/A== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0743; 31:EY2yqZAQixYVChjvRYw3ysIzs9FiNsMxUO+lgzv+b0mGr0GfLSVG9Kk+v5PqAo0E4oaqnJaH64Xp0/9aRlLu1R8ld2e8T0WMVa/xEeI8R3IbqjzlLATRL4ApknxH5/OPRgUdPZ9KJptolOcPgrqugBfFLT/8qAuN09Qui8ugdps4ClQtxpu/8KsYz2QaBecNlxCrmTtA5Lp4SREYpKGd7/x0mPl+YNdy9BoXri/mvx8tVJ/EjeRiiyZDYBPzPX4VKGTroRGk3JYfSq/aNF1PuA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(8121501046)(5005006)(13017025)(13015025)(13023025)(13024025)(13018025)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123565025)(20161123561025)(20161123559025); SRVR:BY2PR0301MB0743; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0743; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0743; 4:4FbmvAIVAyKqNcA4nshioooinam29SG7wNc2znaYTkxlApcH2rYzasz0caI7vFt1f8IphggXwIJ+9A6WxVkYed1B+CuxCtCI+t82Tqkm8276TEAn991j3HpAfOJ7viA80M5N9DyN9QMYpZqlbOyFlYNIRsPHd09XRg5J99RssVEbgaAA/2LPXo65SOT7DDtoD0EsiYASCcUEyfZjE5XAkS+/kHygbOiGtAeZzj17TW311XJKhPtfjSi+ROcu4wbI/CK+hN2TbRWTJbGz7cFunbBXZiPpDVO1MmO7CTux6Yh6/fS3dEMY9z4C5uPtzlxeOPcZHO6gvUFEPaTp453Dn+cCC0DSusp4v9050DfReaO1RBcNvJe3NFd13JtBMRNGsyV4gJpiybDR6T2X3/5XfOgkxKeFVpXArYD29mTo+f2MytUeaEvEgB3q2WMvGKmbEbmh/ND1Y2i3+DqW46DvOQxBNCFVlH1yzHiv/yA6IvPIK4p57wNg9Q3s/WKH36ra5E9Gkb3zVGxB2xeK0bi1wBXjP6CUH1lDRciF9DFOVXc2on6yM35omhje1Jw/iq3meHtd/pl4qY6zmCTPQcUC8klMeW2wrG+eiH5dxX3YN6hX6uVfXnhLEzHMrOKhISckRQcwuyRQzgl6llt1OgNmeHwkaWQKLed1vhVdcZgP689sWh/P/gtvMpFKloHMn6Qw0gf0EzyDSN6eFz9IQoTc5w== X-Forefront-PRVS: 01494FA7F7 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY2PR0301MB0743; 23:0312sFFxBcFTWnfrw7jRumFRCgnreec8dTY?= =?Windows-1252?Q?YLwcZDIqa7ez31HDxQgRyk3v6NLf+WFbYviD0/z+aMC5Mb8U+4muGTta?= =?Windows-1252?Q?GNL1bxy54Qm3/u3iDsjzljpi5Jcocpb+V9SONcFoeqvx0Sg4GRrbNdeq?= =?Windows-1252?Q?p6LjSsBWgsg1JxpFaOA65J567+NH32r063jwBmwAZcUlSbiUxGGujYOI?= =?Windows-1252?Q?q1fVevpr6U1/Fsqhj4sWr0QVGr6+wEAjblhcoWleF20ti3EaTS7xy4oE?= =?Windows-1252?Q?Z9x5RqkTmk7DoANaCo8YPmQa3HDvVbiybwcWOgTufR41S2QwQy2VEjwC?= =?Windows-1252?Q?yTqk3UMIXfeqGikO45x4kEOcoXUGWdinaQpxFTvwvs9uL535OiCE1m7F?= =?Windows-1252?Q?wXJkGyOSsS5J0QLHmr05LOFgFJ7M3If0+ePpAYmJT3gYjnZm7h/L4A3q?= =?Windows-1252?Q?Qqc6/cAayENOxgdLttwAYkvwd9H8q7w0p2KHF5GgC7guu23lIJ1CUVqi?= =?Windows-1252?Q?Vdw9Ps7epYLxiXGVphE4G2TWmVhInjYliQWt7Pk+GS9dJ1O2bVZ7Q061?= =?Windows-1252?Q?vwDy0cDSITinGTRFNL/7b1fgvr1vaCR0ND0Jfllcg9KgsgU6Lwogn+aZ?= =?Windows-1252?Q?zkNovYecThNbWoTCnWAGkXeIpgudvW5elXU7C7sy6ZYODafUYOmh6UpE?= =?Windows-1252?Q?MvQA6ftMJFUT5sDHHNWwk6d5YTUWUa07B/CW6SzDpDytGXiFR4g5TLrZ?= =?Windows-1252?Q?bw6DV5MxHp3CoOjYHgBglGszLUMpbZWnyI7R851gKzujB0qwI7+rJQFq?= =?Windows-1252?Q?yAykElwghSWdKDuYuhF0i56O3LZ0HFqvPlh3hk1yonBAgBu1w0G07U+P?= =?Windows-1252?Q?yKzkej4yGf3slB80QyKf7+49GMxJ6u0haXZBXubeU4QVTorTOuX83VhA?= =?Windows-1252?Q?62AUx6UziOWlUL6rCLgRUE8sylH6J17OIf4nI+7uyTKggg8IbkXUQDMl?= =?Windows-1252?Q?Di4Mvn07lZv2R9hcUCx80wAJ1gjCVICocX9SMtEUBqeQ92wyQd/4Dddc?= =?Windows-1252?Q?lQ2DyhXKTqzfY0n+1UgmPyC0lFag0gO+M1pc05cVo0i52e0jtTEd6ei2?= =?Windows-1252?Q?oDy546Q4FJIN9hsxyPGMes5Rm30QULxSihnaTAGbdAIdtVjkbiIHXxcH?= =?Windows-1252?Q?Py8OUaaoyYPvPWplKiQAz6PrXZZbPseT/n146LQwb7QNP1kjiYhqp0iq?= =?Windows-1252?Q?Dc616aNyX7l0Kf0rbbfslSdOxzXqrAY8bmFUTIFlRXs9zrgX1qYhHeDy?= =?Windows-1252?Q?VjDRCRn6W8rBvnSVKXEdOB5mW8aG4GCla6+R06HvZK3mCueTknHuo5g1?= =?Windows-1252?Q?zMcY231PIk5BliWy7xH+JUMi+WWxC2kjmyk2b8C/E+FQ8bMQlkmopH2d?= =?Windows-1252?Q?2oKOYkAuCWl1VYrM6OKpPhju6HPGCFFmJGdjS2+5GF1Wo5f0wKFcEB3U?= =?Windows-1252?Q?0uLK+TDRGHCWW7orbUbSvs/GDcqEmwjDiVOPKFbBQdG1eeGrYB0YYZM8?= =?Windows-1252?Q?1DdGY90Y4ILj0ZFrD3E85N3sJz58y+8tUjqEj8j9JqsMhPsO3eRDxHh7?= =?Windows-1252?Q?GwzEvHLV341c3EOaVf1CzNqh6Ff3P3nbYjj6pp74KeP8hPfrERqDES8b?= =?Windows-1252?Q?NBBrDuzPGK93VCEOQcifMGQesKF7lC+TsTVfyu0L+Sg3fxnaZ0rg5mpG?= =?Windows-1252?Q?/ko5nFZKOIgtB/MiSSIWFNZ2In6M0RpT2drORlK4=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0743; 6:9gDvfyKnbWw8Idl4pRxR3NgCwasfKtofwgi7SCsfMAptmiJS+oOTA3Kw83+OwhT/nvKYCtILbyVS8zE3p22BPvDfB173EtK3uTz2gba6j6fJQZ4OkG3Jq9jUqubPWmYPCXSlshYEfDdN7oguVTAFp8cR2+MTt3/RXTG4HsuwqPj70Rs06Sh3ZZh5w2x1jMUoS7wVetT0xwuTLzuMlypQTtONXSk+0lJuLnfk3MMaLBQ41Ydv6cupGxkW1At/frIdoQ4vHRa/RtG9x3IZ4tDweNGWjo56RLKfkpaygwoNDJrNsB08nJF+OgMGQfSlJeGyrt7QJaj83lK/ZmB2PRdxspwdvTjuAD1ddidCJJqqvvHirChtHqzLDzj7bTMTIOdxxb+XFfXWht2DKXyX1cX1vmNOBUDMHcwFoqgrlReo5pUrsVN5cc526BL/0uoq2hZc; 5:6v2uKsThboS/0nQ5oTLQgxyVKOvA1RLF9e2LpAHzTQbY/1sBAXawWuFS6kBz7p5G+szieJjKJan5LafJokmQ9jhNxhdCtkWL3G58Rd0S0WkisXZ0DGUfRioM7tNSqYY8Y78mDPX+23N3ix1UrniTZjLflIr0h/oJqRwTD7GGdUHitAaMMCFPoYQ7k3mqJz9O; 24:affecIrsxX8hdRi4YxuOcT8DQF3o9VTgWNN6vdBIosjO3+c48UQavWrP/ZNvMFhRCj3i7p5LN51+V+pkRKZb0I2S/movbMGGIp2kHTD8IBQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0743; 7:9FWyhl+7r0hmQaVF//Jds0DrKxmALDuNBXG/gzse5DZzGhKaBnsWzdyRitgPQq77sjYaBdioAt/CN6wZji6rC7wAQherJtklRfy+6VBO22NdYsCaeSApjtHcvphytZv4L46RicL13WyN+ZrPO7sjgz8CKIX0yhIaihMwJ1JVVc9YRMGCVDJ0FrUd8LNE4B7cANmgLgnEd3yUkD2vLm15H2R2t9dJlTesTteD1KTuS5T0X2VMADpfsiw8flz8ce6BimeuiJxufJLr8YlAIKbzxLa5W3oiZqgvAtdJmI+WlMeL61QRyz3/JzFjcrpgT28trW7gnkUfm4hPjxFel+E8wizAfYnnILHLuk6xcPHDERW9GiSzx/3edkwSv9ZH47Z+JgBqNInzieM2ucZZbyEMB2KMN0APqMJLZ9gVE8dKIKJqxfOhhYPuWtkhlwIFrz4weRKTzMpatUx29iaYQnnGoA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2016 07:00:42.7551 (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: BY2PR0301MB0743 Subject: Re: [dpdk-dev] [PATCH 11/32] net/dpaa2: add dpaa2 vfio support 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, 07 Dec 2016 07:00:44 -0000 On 12/7/2016 2:34 AM, Thomas Monjalon wrote: > 2016-12-04 23:47, Hemant Agrawal: >> Add support for using VFIO for dpaa2 based fsl-mc bus. > > Why do we need so much special code for interfacing VFIO on fsl-mc? > Can you reuse some code from EAL VFIO? > fsl-mc VFIO scans the objects. So, it is slightly different. Even though I have tried to minimize changes and re-use the code from EAL VFIO. It is still refactoring work, which we will take up little later.