Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-12-08 Thread Shreyansh Jain
On Thursday 08 December 2016 12:31 PM, Shreyansh Jain wrote: Hello Jan, Need your help in resolving the checkpatch issue for this patch. I have used this in EAL Bus series [1]. [1] http://dpdk.org/ml/archives/dev/2016-December/051350.html On Monday 21 November 2016 10:25 PM, Jan Blunck wrote:

Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-12-07 Thread Shreyansh Jain
Hello Jan, Need your help in resolving the checkpatch issue for this patch. I have used this in EAL Bus series [1]. [1] http://dpdk.org/ml/archives/dev/2016-December/051350.html On Monday 21 November 2016 10:25 PM, Jan Blunck wrote: This macro is based on Jan Viktorin's original patch but also

[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-11-22 Thread 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 checks the > type of the passed pointer against the type of the member. > > Signed-off-by: Jan Viktorin > Signed-off-by: Shreyansh Jain > [jblunck at infradead.org: add type chec

[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-11-22 Thread Jan Viktorin
rg; david.marchand at 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

[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-11-22 Thread Shreyansh Jain
> To: Shreyansh Jain ; Jan Blunck > > > > > > Cc: dev at dpdk.org; david.marchand at 6wind.com; Jan Viktorin > > > > > > Subject: Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro > > > > > > 2016-11-22 15:33, Shreyansh Jain: > > &

[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-11-22 Thread Shreyansh Jain
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, November 22, 2016 3:50 PM > To: Shreyansh Jain ; Jan Blunck > > Cc: dev at dpdk.org; david.marchand at 6wind.com; Jan Viktorin > > Subject: Re: [dpdk-dev] [P

[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-11-22 Thread Thomas Monjalon
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 checks the > > type of the passed pointer against the type of the member. > > > > Signed-off-by: Jan Viktorin > > Signed-off-by: Shreyansh Ja

[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-11-21 Thread Jan Blunck
This macro is based on Jan Viktorin's original patch but also checks the type of the passed pointer against the type of the member. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain [jblunck at infradead.org: add type checking and __extension__] Signed-off-by: Jan Blunck --- lib/librte