From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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 To: Jan Viktorin CC: Thomas Monjalon , Jan Blunck , "dev@dpdk.org" , "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: References: <1479747322-5774-1-git-send-email-jblunck@infradead.org> <2433517.txJaDuniYc@xps13> <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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 > Cc: Thomas Monjalon ; Jan Blunck > ; 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 wrote: >=20 > > > -----Original Message----- > > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > > Sent: Tuesday, November 22, 2016 3:50 PM > > > To: Shreyansh Jain ; Jan Blunck > > > > > > Cc: dev@dpdk.org; david.marchand@6wind.com; Jan Viktorin > > > > > > 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 > > > > > Signed-off-by: Shreyansh Jain > > > > > [jblunck@infradead.org: add type checking and __extension__] > > > > > Signed-off-by: Jan Blunck > > > > > > > > I will start using this in my patchset. > > > > > > > > Acked-by: Shreyansh Jain > > > > > > 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