PSB Thanks, Ori
> -----Original Message----- > From: Yongseok Koh > Sent: Wednesday, April 17, 2019 3:01 AM > To: Ori Kam <or...@mellanox.com> > Cc: Shahaf Shuler <shah...@mellanox.com>; Matan Azrad > <ma...@mellanox.com>; Slava Ovsiienko <viachesl...@mellanox.com>; Moti > Haimovsky <mo...@mellanox.com>; dev@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: or...@mellanox.com > > > > Signed-off-by: Ori Kam <or...@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 > >