[dpdk-dev] [PATCH 2/9] net/mlx5: fix menson compilation with Direct Rules
Ori Kam
orika at mellanox.com
Wed Apr 17 07:18:07 CEST 2019
PSB
Thanks,
Ori
> -----Original Message-----
> From: Yongseok Koh
> Sent: Wednesday, April 17, 2019 3:01 AM
> To: Ori Kam <orika at mellanox.com>
> Cc: Shahaf Shuler <shahafs at mellanox.com>; Matan Azrad
> <matan at mellanox.com>; Slava Ovsiienko <viacheslavo at mellanox.com>; Moti
> Haimovsky <motih at mellanox.com>; dev at dpdk.org
> Subject: Re: [PATCH 2/9] net/mlx5: fix menson compilation with Direct Rules
>
> On Sun, Apr 14, 2019 at 09:12:30PM +0000, Ori Kam wrote:
> > The meson build was missing the define for Direct Rules.
> >
> > Fixes: 4f84a19779ca ("net/mlx5: add Direct Rules API")
> > Cc: orika at mellanox.com
> >
> > Signed-off-by: Ori Kam <orika at mellanox.com>
> > ---
> > drivers/net/mlx5/meson.build | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/net/mlx5/meson.build b/drivers/net/mlx5/meson.build
> > index a4c684e..0037e15 100644
> > --- a/drivers/net/mlx5/meson.build
> > +++ b/drivers/net/mlx5/meson.build
> > @@ -111,6 +111,8 @@ if build
> > 'mlx5dv_devx_obj_create' ],
> > [ 'HAVE_IBV_FLOW_DEVX_COUNTERS', 'infiniband/mlx5dv.h',
> > 'MLX5DV_FLOW_ACTION_COUNTERS_DEVX' ],
> > + [ 'HAVE_MLX5DV_DR', 'infiniband/mlx5dv.h',
> > + 'MLX5DV_DR_NS_TYPE_TERMINATING' ],
>
> Better to change the inconsistent naming?
> HAVE_MLX5DV_DR -> HAVE_IBV_FLOW_DV_DIRECT_RULES
>
> And I want it to be at a similar location to Makefile. Let's put it next to
> HAVE_IBV_FLOW_DV_SUPPORT.
>
The name consist with the one in Makefile.
This patch is only fixing missing define from the meson build.
Also the name of the define for E-Switch is in the same format.
> thanks
> Yongseok
>
> > [ 'HAVE_SUPPORTED_40000baseKR4_Full', 'linux/ethtool.h',
> > 'SUPPORTED_40000baseKR4_Full' ],
> > [ 'HAVE_SUPPORTED_40000baseCR4_Full', 'linux/ethtool.h',
> > --
> > 1.8.3.1
> >
More information about the dev
mailing list