RDMA/mlx5: Move rep into port struct
In preparation of moving into a model of single IB device multiple ports move rep to be part of the port structure. We mark a representor device by setting is_rep, no functional change with this patch. Signed-off-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:

committed by
Jason Gunthorpe

parent
5d8f6a0e92
commit
6a4d00be08
@@ -621,7 +621,7 @@ DECLARE_UVERBS_NAMED_OBJECT(MLX5_IB_OBJECT_FLOW_MATCHER,
|
||||
|
||||
static bool flow_is_supported(struct ib_device *device)
|
||||
{
|
||||
return !to_mdev(device)->rep;
|
||||
return !to_mdev(device)->is_rep;
|
||||
}
|
||||
|
||||
const struct uapi_definition mlx5_ib_flow_defs[] = {
|
||||
|
Reference in New Issue
Block a user