Subject: Re: [PATCH mlx5-next v1 2/8] net/mlx5: Add support for flow table destination number

From: Jason Gunthorpe <[email-masked]>
Date: Thu, 12 Jul 2018 15:26:18 -0600

On Fri, Jul 13, 2018 at 12:00:41AM +0300, Or Gerlitz wrote:
> On Wed, Jul 11, 2018 at 2:10 PM, Leon Romanovsky <[email-masked]> wrote:
> > From: Yishai Hadas <[email-masked]>
> >
> > Add support to set a destination from a flow table number.
> > This functionality will be used in downstream patches from this
> > series by the DEVX stuff.
> 
> Reading your cover letter, I still don't understand what is missing
> in the current mlx5 fs core API for your needs. After all, you do
> create flow tables from the IB driver through fs core calls, right?
> so @ the end of the day, you have the FT pointer to provide the
> core, why you need the FT number?

Via the devx API userspace can create flow tables directly without
going to the driver's flow steering core.

Jason