diff options
author | Mark Bloch <markb@mellanox.com> | 2019-03-28 14:46:23 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-04-22 20:24:05 +0200 |
commit | 52438be4411271c5e93da54da340c3566b0e4bef (patch) | |
tree | a3cee3ba5747adeac915574952d7e69b955edb8f /drivers/connector/cn_queue.c | |
parent | RDMA/mlx5: Create flow table with max size supported (diff) | |
download | linux-52438be4411271c5e93da54da340c3566b0e4bef.tar.xz linux-52438be4411271c5e93da54da340c3566b0e4bef.zip |
RDMA/mlx5: Allow inserting a steering rule to the FDB
Allow this only via mlx5 raw create flow API, legacy verbs are not
supported. To accommodate that, we add a new attribute to matcher creation
to indicate the type of flow table to be used.
MLX5_IB_ATTR_FLOW_MATCHER_FT_TYPE
With this new attribute MLX5_IB_ATTR_FLOW_MATCHER_FLOW_FLAGS is no longer
needed, we keep it for compatibility but at most only a single attribute can
be passed of the two.
When inserting a flow rule to the FDB we require that a DEVX FT is
provided as a destination, no other configuration is allowed.
Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/connector/cn_queue.c')
0 files changed, 0 insertions, 0 deletions