OSDN Git Service

IB/mlx5: Enable TX on a DEVX flow table
authorAlex Vesker <valex@mellanox.com>
Tue, 4 Dec 2018 13:34:05 +0000 (15:34 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 7 Dec 2018 03:33:09 +0000 (20:33 -0700)
commit419822c8b83f37ea4934d5583b5c5fbe9493cfcf
tree8da98c4dcb9a61404377397a4f711036ee1fce5e
parent0fbc9b8b4ea3f688a5da141a64f97aa33ad02ae9
IB/mlx5: Enable TX on a DEVX flow table

Flow table can be passed as a DEVX object which is a valid destination in
an EGRESS flow. Fix the original code to allow that.

Fixes: a7ee18bdee83 ("RDMA/mlx5: Allow creating a matcher for a NIC TX flow table")
Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/flow.c