net/mlx5: DR, Handle reformat capability over sw-steering tables
authorErez Shitrit <erezsh@mellanox.com>
Tue, 14 Jan 2020 07:27:27 +0000 (09:27 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 19 Feb 2020 03:01:20 +0000 (19:01 -0800)
commit13a7e459a41a56d788ab33d825c6205379bbb711
treec77c6be654a82743190396dc4e723b3753a1380b
parent76781623f009d5615b67f0675230ef90eaa9272a
net/mlx5: DR, Handle reformat capability over sw-steering tables

On flow table creation, send the relevant flags according to what the FW
currently supports.
When FW doesn't support reformat option over SW-steering managed table,
the driver shouldn't pass this.

Fixes: 988fd6b32d07 ("net/mlx5: DR, Pass table flags at creation to lower layer")
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c
include/linux/mlx5/mlx5_ifc.h