From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0074.outbound.protection.outlook.com [104.47.1.74]) by dpdk.org (Postfix) with ESMTP id 0506F475E for ; Fri, 18 Nov 2016 13:44:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xlC5+dYuhEuXbAd5WjBBgSMlhPMywXP2MHbqXsNqeC8=; b=G+35fMMUODliKpd0aR0Jst3+Me6H1nGeBlEP9+6Q49efKthznrJDP5K1f9HKhoHquGq+AgZcc6K6FhhWcMmKxQswREqkWeTiiQFJXDnY8QOiwyBP16kFLDUVHF2F3+Ahx1BwRINzsV1zVR3AbttVuZtY0TSZASqLtsCDYspxjrE= Received: from DB5PR04MB1605.eurprd04.prod.outlook.com (10.164.38.147) by DB5PR04MB1608.eurprd04.prod.outlook.com (10.164.38.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 18 Nov 2016 12:44:16 +0000 Received: from DB5PR04MB1605.eurprd04.prod.outlook.com ([10.164.38.147]) by DB5PR04MB1605.eurprd04.prod.outlook.com ([10.164.38.147]) with mapi id 15.01.0734.007; Fri, 18 Nov 2016 12:44:16 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: Thomas Monjalon Thread-Topic: Clarification for - SoC specific driver based common sub component placing Thread-Index: AdJBmLbhgTB4qmUzSR6rQCTFai2Ahw== Date: Fri, 18 Nov 2016 12:44:16 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-originating-ip: [192.88.169.1] x-microsoft-exchange-diagnostics: 1; DB5PR04MB1608; 7:leiwP6MSVhbXLniSY8i+Q9zaRM2QPdAvwwMgGcumJsLc/fxIFtWnidkuaI9URwl7hcLqmweayaPZjCZpe10Od6g73IMySN33CpfxEEiwmkBAVDo11vR99iOdGn5vfViJymE8K5bwEsq4OJkCkSiGZGfgn6ZmnaMcoxr1TTywTlPf8n2WOjUvTpBUtBNkTXYHoX9k4RYXfOuVaJ/w+2I5k/IuD6ByiVDD3H2i3PDa5C67Z9uJGhI6Orbp1MMo0DYyjvRUuJ+Z1aIqv22KVSPpGqA6CDiF+ahgh+bReQeXb+VofzEOz+Mvp+DjkX5GDmv1AjVf7ICkWqMLvrZo/xYHX7A6jTSICvPKbKEij7YFlK8= x-ms-office365-filtering-correlation-id: e4e8760a-7fce-4a3c-afc6-08d40fb09b83 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR04MB1608; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6045074)(6060326)(6040281)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6061324)(6041223)(6046074); SRVR:DB5PR04MB1608; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1608; x-forefront-prvs: 01304918F3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(53754006)(199003)(102836003)(86362001)(6116002)(101416001)(4326007)(66066001)(31430400001)(9686002)(3846002)(54356999)(2906002)(7846002)(50986999)(7736002)(97736004)(6506003)(7696004)(76576001)(189998001)(6916009)(2501003)(8676002)(5660300001)(33656002)(110136003)(3660700001)(77096005)(87936001)(105586002)(68736007)(5640700001)(3280700002)(2900100001)(74316002)(8936002)(81156014)(106356001)(81166006)(1730700003)(92566002)(305945005)(122556002)(2351001)(38730400001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1608; H:DB5PR04MB1605.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2016 12:44:16.1430 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1608 Subject: [dpdk-dev] Clarification for - SoC specific driver based common sub component placing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 12:44:20 -0000 Hi all, We like to introduce NXP's DPAA (Data Path Acceleration Architecture Gen2) = Poll mode drivers into the DPDK. We need some clarification w.r.t the right placing of some dependent compon= ents, which can be common across drivers. E.g. We have hardware queue and b= uffer manager driver. This will be used by both network driver and crypto d= river. But it is specific to NXP platform only. What is the right place for such common hardware specific components in DPD= K?=20 1. Add a new generic Soc library structure. e.g. librte_soc/nxp/. For each= soc configuration only the required components will be compiled-in.=20 2. Create a drivers/soc/nxp/dpaa2 structure to keep common driver libs. An= d link the network and crypto drivers to it. 3. Add it to main network driver and make the crypto driver dependent on i= t. Regards, Hemant