Thanks for your help, Ferruh. BR. Bing
> -----Original Message----- > From: Ferruh Yigit <ferruh.yi...@intel.com> > Sent: Friday, October 30, 2020 6:10 PM > To: Bing Zhao <bi...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Matan Azrad <ma...@nvidia.com>; Ori Kam > <or...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com> > Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix the flow sync flags > > External email: Use caution opening links or attachments > > > On 10/28/2020 12:23 PM, Bing Zhao wrote: > > In order to synchronize the flow steering cache with hardware in > DR > > mode, the new function is introduced. The function needs to use > both > > flags of "MLX5DV_DR_DOMAIN_SYNC_FLAGS_SW/HW", or else some actions > and > > rules may get stuck in the work queue. > > > > And in some old OS release with inbox driver, the enum used in the > > function is not introduced yet. To resolve this, a local defined > macro > > is introduced. Then in Verbs mode, it will still do nothing. > > In DV mode, the glue layer will return the unsupport error. > > > > Fixes: 2e303780c17f ("net/mlx5: add flow sync API") > > > > Signed-off-by: Bing Zhao <bi...@nvidia.com> > > Acked-by: Ori Kam <or...@nvidia.com> > > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com> > > Squashed into relevant commit in next-net, thanks.