Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit

2020-07-09 Thread Parav Pandit
> From: Morten Brørup > Sent: Thursday, July 9, 2020 12:46 PM > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Parav Pandit > > Sent: Thursday, July 9, 2020 8:24 AM > > > > Hi Morten, > > > > > From: Morten Brørup > > > Sent: Tuesday, July 7, 2020 6:11 PM > > > > > Adding Joyce Kong

Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit

2020-07-09 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Parav Pandit > Sent: Thursday, July 9, 2020 8:24 AM > > Hi Morten, > > > From: Morten Brørup > > Sent: Tuesday, July 7, 2020 6:11 PM > > > Adding Joyce Kong to this discussion as the rte_bitops maintainer. > > > > > From: Thomas Monjalon [m

Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit

2020-07-08 Thread Parav Pandit
Hi Morten, > From: Morten Brørup > Sent: Tuesday, July 7, 2020 6:11 PM > Adding Joyce Kong to this discussion as the rte_bitops maintainer. > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Tuesday, July 7, 2020 2:13 PM > > > > 07/07/2020 13:38, Parav Pandit: > > > From: Morten

Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit

2020-07-07 Thread Morten Brørup
Adding Joyce Kong to this discussion as the rte_bitops maintainer. > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday, July 7, 2020 2:13 PM > > 07/07/2020 13:38, Parav Pandit: > > From: Morten Brørup > > > From: Parav Pandit > > > > --- a/lib/librte_eal/include/rte_bitops.h > >

Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit

2020-07-07 Thread Thomas Monjalon
07/07/2020 13:38, Parav Pandit: > From: Morten Brørup > > From: Parav Pandit > > > --- a/lib/librte_eal/include/rte_bitops.h > > > +++ b/lib/librte_eal/include/rte_bitops.h > > > @@ -17,6 +17,8 @@ > > > #include > > > #include > > > > > > +#define RTE_BIT(bit_num) (1UL << (bit_num)) > > > > I

Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit

2020-07-07 Thread Parav Pandit
> From: Morten Brørup > Sent: Monday, July 6, 2020 4:24 PM > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Parav Pandit > > Sent: Friday, July 3, 2020 3:47 PM > > > > There are several drivers which duplicate bit generation macro. > > Introduce a generic bit macros so that such drive

Re: [dpdk-dev] [PATCH v4 01/10] eal: introduce macros for getting valuefor bit

2020-07-06 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Parav Pandit > Sent: Friday, July 3, 2020 3:47 PM > > There are several drivers which duplicate bit generation macro. > Introduce a generic bit macros so that such drivers avoid redefining > same in multiple drivers. > > Signed-off-by: Parav