]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05c8a2e38b43ce8c39beecddf718a675e0a035c7
treec77c6be654a82743190396dc4e723b3753a1380b
parentbd2114f61ae6b51258af084eb9aeb3e481cc5db3
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: 612d1155a2a2 ("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