> -----Original Message-----
> From: Or Gerlitz [mailto:gerlitz...@gmail.com]
> Sent: Monday, July 16, 2018 2:24 PM
> To: Mark Bloch <ma...@mellanox.com>
> Cc: Doug Ledford <dledf...@redhat.com>; Jason Gunthorpe
> <j...@mellanox.com>; Leon Romanovsky <leo...@mellanox.com>; RDMA
> mailing list <linux-r...@vger.kernel.org>; Saeed Mahameed
> <sae...@mellanox.com>; linux-netdev <netdev@vger.kernel.org>
> Subject: Re: [RFC PATCH rdma-next 13/18] RDMA/mlx5: Enable decap and
> packet reformat on flow tables
> 
> On Mon, Jul 16, 2018 at 11:23 AM, Leon Romanovsky <l...@kernel.org>
> wrote:
> > From: Mark Bloch <ma...@mellanox.com>
> >
> > If NIC RX flow tables support decap opertion, enable it on creation.
> 
> opertion --> operation
> 
> > If NIC TX flow tables support reformat opertion, enable it on creation.
> 
> What is the trigger to use the decap flag on RX table or encap flag on
> TX table?
> 

It has no performance penalty to always enable that, so that's what I do if 
supported.
 
> Please note that we have a short blanket w.r.t mutual usage by

FDB and NIC steering tables have different limitations, so encap/decap on NIC 
steering
have nothing to do with the limitations the FDB has with those operations.

> NIC vs e-Switch  steering, did you consider to do that on demand?

The flow table needs to be created with those flags set if we want to attach
decap/packet reformat action to it. BTW, there is no modify action for those 
bits
so that's why I'm doing it on creation.

Mark

Reply via email to