From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <shreyansh.jain@nxp.com>
Received: from EUR03-DB5-obe.outbound.protection.outlook.com
 (mail-eopbgr40083.outbound.protection.outlook.com [40.107.4.83])
 by dpdk.org (Postfix) with ESMTP id 38673F94
 for <dev@dpdk.org>; Fri, 22 Sep 2017 16:01:11 +0200 (CEST)
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=adxZvdaMJxNngNkR0bZYnbzBHY9oIFUCvZp/GhNizBs=;
 b=agW6t6mdR1qtpH7CROG/SXGkXWeZxRlRsch5//ZEj4Kvwrrd49zTXsybgq6dK/9UmNw0lW6k6IoV5LCmPiipmpgsX4DdHN0vvaYk+1t/Bq/SPfjmRiMXuGZUphHlqiF9rUVbfolEj+yoUOmjXGrtxadJkWeEL7ihhWvqZoM674g=
Received: from VI1PR0401MB2464.eurprd04.prod.outlook.com (10.168.64.147) by
 AM3PR04MB0759.eurprd04.prod.outlook.com (10.160.6.145) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id
 15.20.77.7; Fri, 22 Sep 2017 14:01:09 +0000
Received: from VI1PR0401MB2464.eurprd04.prod.outlook.com
 ([fe80::c098:66d3:31bb:2ec8]) by VI1PR0401MB2464.eurprd04.prod.outlook.com
 ([fe80::c098:66d3:31bb:2ec8%17]) with mapi id 15.20.0056.018; Fri, 22 Sep
 2017 14:01:08 +0000
From: Shreyansh Jain <shreyansh.jain@nxp.com>
To: Thomas Monjalon <thomas@monjalon.net>
CC: "dev@dpdk.org" <dev@dpdk.org>, "ferruh.yigit@intel.com"
 <ferruh.yigit@intel.com>, Hemant Agrawal <hemant.agrawal@nxp.com>
Thread-Topic: [PATCH v4 00/41] Introduce NXP DPAA Bus, Mempool and PMD
Thread-Index: AQHTM6SXjFzzbNI9MkiPVx8KmnH/JKLA6BKg
Date: Fri, 22 Sep 2017 14:00:42 +0000
Deferred-Delivery: Fri, 22 Sep 2017 13:59:45 +0000
Message-ID: <VI1PR0401MB2464B0A73400A9288BC49B5B90670@VI1PR0401MB2464.eurprd04.prod.outlook.com>
References: <20170823141213.25476-1-shreyansh.jain@nxp.com>
 <25531756.sobbYYJFMz@xps> <b4c14448-4925-0c86-7064-8f63753c5895@nxp.com>
 <1563275.iJklTzZNDB@xps>
In-Reply-To: <1563275.iJklTzZNDB@xps>
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=shreyansh.jain@nxp.com; 
x-originating-ip: [182.69.253.219]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM3PR04MB0759;
 6:lzCmVkVyIcry2j69/5zZAX+kxew5ihhaSgqk1ZGHtbHt71e2TUZ2hZXcOcT4x/nwut9nFG4DhJDJ3uiYgTnijRz25oD1QiK4zy6IzcXij5GGnD5Ki0EuRglyTi+SJLl3J3tN0XtfiJfUxpAGdPdfhKab3/tgogEbA++ErF7FapX9OFKqCxOznSoyG9mPhm7qo11Qbkmmh4DFM0uThNce+kGeHzlTjjeiC5B/6/zNliFDmALyqd5Is0G1PCf/qL5Ym20+Vbb4LPPjC732vIdP+hI3g8lGbwTpsk2XkM6gSSnPGfRr7JiPb04mmBKG9WaVUQOu69q/hqUkc3BSFVw8kA==;
 5:tg7p4r2psHaGrtWuTqpFZkl82T0Nvc7BUJf7pckHfm/ou4yXZOi0wmNJ/2E3eLlO/6GEsQsurXLs9PxLurCCAjRT0e3QvnSxOPEGMc8sSQtEG9eXa9alooYUsIDOJRPeaIPohWv/+Bi6kM3bRKEKcg==;
 24:4KXYtFTFNNzaB/MDAA7EGOvpfrufVLGC0vqbTl0ro42QWA83YBx9+gcQuyHnZ6QjidTHiEpzYh+tHPlJUdlevct2TkqmWexfW2oPMow6ceQ=;
 7:qqQbiveheyxs5WF4oeKWsRkcT7uySBiNIp6h69C/pRpORorsrjCy600XEvKU0jGAB3gves2vtZQZ+TBjsE+I1aVdTHbsylT97hwwWZVHJnkBK2jRqmCkth9X7ZCEdQ+6RMW5zWsTNhAG+S/S5UN8geKqyAe9kBPldAeH+XeMxOpqQk7vDn0Ugc95exmOZYdmtBWYM2k6TQYFjFK4AvXmnvZJuUVFiPwTZIU4PAkD5eU=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR;
x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM;
 SFS:(10009020)(6009001)(376002)(39860400002)(346002)(13464003)(24454002)(189002)(199003)(377454003)(68736007)(478600001)(33656002)(2906002)(3280700002)(4326008)(189998001)(101416001)(6506006)(3660700001)(7736002)(74316002)(305945005)(86362001)(99286003)(6436002)(6916009)(6116002)(3846002)(9686003)(6246003)(102836003)(55016002)(8936002)(25786009)(229853002)(53936002)(8676002)(2950100002)(81156014)(81166006)(6666003)(5660300001)(97736004)(14454004)(7696004)(50986999)(316002)(93886005)(53546010)(54906003)(106356001)(5250100002)(2900100001)(76176999)(54356999)(105586002)(66066001)(217873001);
 DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB0759;
 H:VI1PR0401MB2464.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords;
 MX:1; A:1; LANG:en; 
x-ms-office365-filtering-correlation-id: 0f8f7cd8-4879-4de0-9c6f-08d501c25fdc
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);
 SRVR:AM3PR04MB0759; 
x-ms-traffictypediagnostic: AM3PR04MB0759:
x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699);
x-microsoft-antispam-prvs: <AM3PR04MB0759F578AB18BFE2FD5F507B90670@AM3PR04MB0759.eurprd04.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
 RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123562025)(20161123560025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);
 SRVR:AM3PR04MB0759; BCL:0; PCL:0;
 RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);
 SRVR:AM3PR04MB0759; 
x-forefront-prvs: 0438F90F17
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: 22 Sep 2017 14:01:08.4807 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB0759
Subject: Re: [dpdk-dev] [PATCH v4 00/41] Introduce NXP DPAA Bus,
	Mempool and PMD
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Sep 2017 14:01:11 -0000

Hello Thomas,

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Friday, September 22, 2017 6:43 PM
> To: Shreyansh Jain <shreyansh.jain@nxp.com>
> Cc: dev@dpdk.org; ferruh.yigit@intel.com; Hemant Agrawal
> <hemant.agrawal@nxp.com>
> Subject: Re: [PATCH v4 00/41] Introduce NXP DPAA Bus, Mempool and PMD
>=20
> 22/09/2017 15:06, Shreyansh Jain:
> > On Friday 22 September 2017 03:40 AM, Thomas Monjalon wrote:
> > > 09/09/2017 13:20, Shreyansh Jain:
> > >> DPAA, or Datapath Acceleration Architecture [R2], is a set of hardwa=
re
> > >> components designed for high-speed network packet processing. This
> > >> architecture provides the infrastructure to support simplified shari=
ng
> of
> > >> networking interfaces and accelerators by multiple CPU cores, and th=
e
> > >> accelerators themselves.
> > >>
> > >> This patchset introduces the following:
> > >> 1. DPAA Bus (drivers/bus/dpaa)
> > >>   The core of DPAA bus is implemented using 3 main hardware blocks:
> QMan,
> > >>   or Queue Manager; BMan, or Buffer Manager and FMan, or Frame Manag=
er.
> > >>   The patches introduce necessary layers to expose the DPAA hardware
> > >>   blocks for interfacing with RTE framework.
> > >
> > > I guess these are the same blocks as for DPAA2?
> > > They are in drivers/bus/fslmc/
> > > Why introducing yet another bus driver?
> > > The fslmc one was supposed to cover any Freescale (NXP (Qualcomm)) So=
C.
> >
> > Forgot to reply to this in previous email:
> >
> > No, fslmc is not compatible with DPAA. They are completely different
> > architectures.
> > I am not sure why you have the notion "fslmc one was supposed to cover
> > any Freescale (NXP (Qualcomm)) SoC". That is not correct - FSLMC was
> > always for supporting DPAA2 which is based on VFIO. DPAA is more closer
> > to a platform layout.
> >
> > And I don't think we should have single "bus/fslmc" just so that it can
> > encompass all NXP SoC. I am assuming you didn't mean this :P.
>=20
> At the beginning of fslmc work, I had understood that every NXP SoC were
> connecting components with the same principle which we could call the
> "Freescale bus".
> Then you came with this bus named bus/fslmc, not bus/dpaa2.
> Now I am confused. What is the exact scope of fslmc? Is it just DPAA2?

My memory is poor. I will have to look through the old emails what happened=
 - but I recall there was a discussion in initial phases about the naming. =
"fslmc" came out as a name that is what is the real name of the DPAA2 bus. =
There was initial a confusion if name of bus in Linux Kernel should match o=
r not - but, we realized that bus is *not* device and device name is "dpaa2=
".

As for whether fslmc would cover multiple SoC - that is still true. There a=
re multiple SoCs within the DPAA2 umbrella. LS20XX, LS108X series and some =
more - all of which use the FSLMC bus (DPAA2 architecture, on FSLMC bus, ha=
ving 'dpaa2' devices).

There is another architecture, an old one, which are still popular. This is=
 platform type bus which is aptly named 'dpaa' - and here the confusion of =
bus name and device doesn't appear. (DPAA bus, using DPAA architecture, exp=
osing 'dpaa' devices).

Exact scope of FSLMC is just DPAA2 architecture based SoCs. There are many =
here with new coming up.
Exact scope of DPAA bus is just DPAA architecture based SoCs. There are man=
y here.

Does this clear your doubt to some extent?