Re: [dpdk-dev] [RFC PATCH 1/6] eal: introduce macros for getting value for bit

2020-06-18 Thread Parav Pandit
> From: Thomas Monjalon > Sent: Thursday, June 18, 2020 5:52 PM > > 18/06/2020 14:16, Parav Pandit: > > From: Parav Pandit > > > From: Thomas Monjalon > > > > 15/06/2020 21:33, Gaëtan Rivet: > > > > > On 10/06/20 17:17 +, Parav Pandit wrote: > > > > > > There are several drivers which dup

Re: [dpdk-dev] [RFC PATCH 1/6] eal: introduce macros for getting value for bit

2020-06-18 Thread Thomas Monjalon
18/06/2020 14:16, Parav Pandit: > From: Parav Pandit > > From: Thomas Monjalon > > > 15/06/2020 21:33, Gaëtan Rivet: > > > > On 10/06/20 17:17 +, Parav Pandit wrote: > > > > > There are several drivers which duplicate bit generation macro. > > > > > Introduce a generic bit macros so that such

Re: [dpdk-dev] [RFC PATCH 1/6] eal: introduce macros for getting value for bit

2020-06-18 Thread Parav Pandit
Hi Thomas, > From: dev On Behalf Of Parav Pandit > Sent: Thursday, June 18, 2020 2:55 PM > > > From: Thomas Monjalon > > Sent: Wednesday, June 17, 2020 1:35 PM > > > > 15/06/2020 21:33, Gaëtan Rivet: > > > On 10/06/20 17:17 +, Parav Pandit wrote: > > > > There are several drivers which dupl

Re: [dpdk-dev] [RFC PATCH 1/6] eal: introduce macros for getting value for bit

2020-06-18 Thread Parav Pandit
> From: Thomas Monjalon > Sent: Wednesday, June 17, 2020 1:35 PM > > 15/06/2020 21:33, Gaëtan Rivet: > > On 10/06/20 17:17 +, Parav Pandit wrote: > > > There are several drivers which duplicate bit generation macro. > > > Introduce a generic bit macros so that such drivers avoid redefining

Re: [dpdk-dev] [RFC PATCH 1/6] eal: introduce macros for getting value for bit

2020-06-17 Thread Thomas Monjalon
15/06/2020 21:33, Gaëtan Rivet: > On 10/06/20 17:17 +, Parav Pandit wrote: > > 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 Pandit > > --- [..

Re: [dpdk-dev] [RFC PATCH 1/6] eal: introduce macros for getting value for bit

2020-06-15 Thread Gaëtan Rivet
Hello Parav, On 10/06/20 17:17 +, Parav Pandit wrote: > 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 Pandit > --- > lib/librte_eal/include/rte_bits.

[dpdk-dev] [RFC PATCH 1/6] eal: introduce macros for getting value for bit

2020-06-10 Thread Parav Pandit
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 Pandit --- lib/librte_eal/include/rte_bits.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 l