From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <shreyansh.jain@nxp.com>
Received: from EUR02-AM5-obe.outbound.protection.outlook.com
 (mail-eopbgr00071.outbound.protection.outlook.com [40.107.0.71])
 by dpdk.org (Postfix) with ESMTP id 6FAC747D2
 for <dev@dpdk.org>; Tue, 22 Nov 2016 13:37:09 +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=ixR4EXSf+CUYSO0D2ahz910J+C42nla25VPzwNYJgD8=;
 b=Q8BV2SAOb9e7scQIwxstcW2EUi4lS9NoKljVbfIzYAVlYFtLP/1g5fgAKbbmCO5MMo/xIc4qjovvB38FIWJuGW3BpvYh8Jph46S0/h7z1e8SpZ1Er/TT/kBTC68vHNaESTvULM5kEgEm/MNZ7XZLcBgwlmlFysDcNNIkD1zY15s=
Received: from DB5PR0401MB2054.eurprd04.prod.outlook.com (10.166.11.137) by
 DB5PR0401MB2054.eurprd04.prod.outlook.com (10.166.11.137) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
 15.1.734.8; Tue, 22 Nov 2016 12:37:07 +0000
Received: from DB5PR0401MB2054.eurprd04.prod.outlook.com ([10.166.11.137]) by
 DB5PR0401MB2054.eurprd04.prod.outlook.com ([10.166.11.137]) with
 mapi id 15.01.0734.014; Tue, 22 Nov 2016 12:37:07 +0000
From: Shreyansh Jain <shreyansh.jain@nxp.com>
To: Jan Viktorin <viktorin@rehivetech.com>
CC: Thomas Monjalon <thomas.monjalon@6wind.com>, Jan Blunck
 <jblunck@infradead.org>, "dev@dpdk.org" <dev@dpdk.org>,
 "david.marchand@6wind.com" <david.marchand@6wind.com>
Thread-Topic: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro
Thread-Index: AQHSRBhMlhx76elYk0WwOBrgQQLPE6Dky73wgAARrPCAABOggIAAAEvA
Date: Tue, 22 Nov 2016 12:36:43 +0000
Deferred-Delivery: Tue, 22 Nov 2016 12:36:26 +0000
Message-ID: <DB5PR0401MB2054DAC06A4F1466B977636590B40@DB5PR0401MB2054.eurprd04.prod.outlook.com>
References: <1479747322-5774-1-git-send-email-jblunck@infradead.org>
 <f22c697c-e49f-1e81-fa0f-cea50b031092@nxp.com>	<2433517.txJaDuniYc@xps13>
 <DB5PR0401MB205403969D044DE781E84E6490B40@DB5PR0401MB2054.eurprd04.prod.outlook.com>
 <20161122133323.33feb23c@jvn>
In-Reply-To: <20161122133323.33feb23c@jvn>
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: [192.88.169.1]
x-microsoft-exchange-diagnostics: 1; DB5PR0401MB2054;
 7:iQeoBdr9BwPlAOEIzTZHJCJqTaWBFU6PxKdsbdyR77A/CWjTzDY7dUGPD1OyTS9KaCyqYLmWl0YXkthZRuEV5Blql0JtsKZTQRZ3iXWQXQaVC+GlIKulU53P3nqwgGWaIFuGtMpMuLGg1ZZ5qfw/nLneqr1g5fFKUWj4LoPzy2IGqYwfj4BD1VNszTwfy4+IQhavzr/aVgmChtQHVA7skhCDcWs4yP+UVX1Vj0DA7hLY7uJ5q2Q8uuLG5n1wzUnumYC4JfMgnmc+j0eCzn3Dj1ug96/M3FP3/DoPbSq4SZT1J+L0Q5LbyOpOwZ36X6bElt0QqXRPmKq5KUCUrPOqDKNn6RTGmgz++yuGUs8/qEQ=
x-ms-office365-filtering-correlation-id: 6291ee36-8cae-41e3-8275-08d412d44582
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001);
 SRVR:DB5PR0401MB2054; 
x-microsoft-antispam-prvs: <DB5PR0401MB2054665B5D641C9CC63EE10E90B40@DB5PR0401MB2054.eurprd04.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(185117386973197);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
 RULEID:(6045199)(6040307)(6060326)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6061324)(6046074)(6041248);
 SRVR:DB5PR0401MB2054; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB2054; 
x-forefront-prvs: 0134AD334F
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(6009001)(7916002)(252514010)(24454002)(377454003)(377424004)(189002)(199003)(13464003)(229853002)(66066001)(2906002)(7696004)(97736004)(122556002)(4001150100001)(101416001)(50986999)(76176999)(54356999)(76576001)(4326007)(110136003)(9686002)(6506003)(68736007)(8936002)(6116002)(189998001)(2950100002)(102836003)(3846002)(15974865002)(6666003)(6916009)(7846002)(7736002)(93886004)(38730400001)(33656002)(77096005)(74316002)(305945005)(81156014)(2900100001)(81166006)(106116001)(5660300001)(105586002)(92566002)(86362001)(8676002)(3660700001)(3280700002)(87936001)(106356001);
 DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB2054;
 H:DB5PR0401MB2054.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: 22 Nov 2016 12:37:07.4009 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB2054
Subject: Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <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: Tue, 22 Nov 2016 12:37:09 -0000

> -----Original Message-----
> From: Jan Viktorin [mailto:viktorin@rehivetech.com]
> Sent: Tuesday, November 22, 2016 6:03 PM
> To: Shreyansh Jain <shreyansh.jain@nxp.com>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; Jan Blunck
> <jblunck@infradead.org>; dev@dpdk.org; david.marchand@6wind.com
> Subject: Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro
>=20
> On Tue, 22 Nov 2016 11:26:50 +0000
> Shreyansh Jain <shreyansh.jain@nxp.com> wrote:
>=20
> > > -----Original Message-----
> > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > > Sent: Tuesday, November 22, 2016 3:50 PM
> > > To: Shreyansh Jain <shreyansh.jain@nxp.com>; Jan Blunck
> > > <jblunck@infradead.org>
> > > Cc: dev@dpdk.org; david.marchand@6wind.com; Jan Viktorin
> > > <viktorin@rehivetech.com>
> > > Subject: Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro
> > >
> > > 2016-11-22 15:33, Shreyansh Jain:
> > > > On Monday 21 November 2016 10:25 PM, Jan Blunck wrote:
> > > > > This macro is based on Jan Viktorin's original patch but also che=
cks
> the
> > > > > type of the passed pointer against the type of the member.
> > > > >
> > > > > Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
> > > > > Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
> > > > > [jblunck@infradead.org: add type checking and __extension__]
> > > > > Signed-off-by: Jan Blunck <jblunck@infradead.org>
> > > >
> > > > I will start using this in my patchset.
> > > >
> > > > Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
> > >
> > > It is a bit strange to have this patch in a series which do
> > > not use it. I am in favor of getting it when it is used
> > > (and included) in another series.
> >
> > I can add this patch to my series, if Jan is ok about this.
>=20
> It's OK. Just merge it someday ;).

Actually, I meant Jan Blunck ;D
I have already been using your patch since long.

>=20
> Jan
>=20
> >
> > -
> > Shreyansh
>=20
>=20
>=20
> --
>   Jan Viktorin                E-mail: Viktorin@RehiveTech.com
>   System Architect            Web:    www.RehiveTech.com
>   RehiveTech
>   Brno, Czech Republic