Re: [dpdk-dev] [PATCH] net/enic: move macro to the correct file

2020-01-21 Thread John Daley (johndale)
> Cc: ferruh.yi...@intel.com; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/enic: move macro to the correct file > > 14/01/2020 01:24, John Daley: > > +#define min_t(type, x, y) ({\ > > + type __min1 = (x); \ > > + type __min2

Re: [dpdk-dev] [PATCH] net/enic: move macro to the correct file

2020-01-19 Thread Thomas Monjalon
14/01/2020 01:24, John Daley: > +#define min_t(type, x, y) ({\ > + type __min1 = (x); \ > + type __min2 = (y); \ > + __min1 < __min2 ? __min1 : __min2; }) > + > +#define max_t(type, x, y) ({\ > + type

Re: [dpdk-dev] [PATCH] net/enic: move macro to the correct file

2020-01-14 Thread Ferruh Yigit
On 1/14/2020 12:24 AM, John Daley wrote: > Move a macro from a widely included header file to a header file > used only by the one caller of the macro. > > Signed-off-by: John Daley > Reviewed-by: Hyong Youb Kim Applied to dpdk-next-net/master, thanks.

[dpdk-dev] [PATCH] net/enic: move macro to the correct file

2020-01-13 Thread John Daley
Move a macro from a widely included header file to a header file used only by the one caller of the macro. Signed-off-by: John Daley Reviewed-by: Hyong Youb Kim --- drivers/net/enic/enic_compat.h | 10 -- drivers/net/enic/enic_res.h| 11 ++- 2 files changed, 10 insertions(+)