RDMA: Remove 'max_fmr'
Now that FMR support is gone, this attribute can be deleted from all places. Link: https://lore.kernel.org/r/12-v3-f58e6669d5d3+2cf-fmr_removal_jgg@mellanox.com Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
@@ -98,7 +98,6 @@ struct ocrdma_dev_attr {
|
||||
u64 max_mr_size;
|
||||
u32 max_num_mr_pbl;
|
||||
int max_mw;
|
||||
int max_fmr;
|
||||
int max_map_per_fmr;
|
||||
int max_pages_per_frmr;
|
||||
u16 max_ord_per_qp;
|
||||
|
@@ -1190,7 +1190,6 @@ static void ocrdma_get_attr(struct ocrdma_dev *dev,
|
||||
attr->max_mr = rsp->max_mr;
|
||||
attr->max_mr_size = ((u64)rsp->max_mr_size_hi << 32) |
|
||||
rsp->max_mr_size_lo;
|
||||
attr->max_fmr = 0;
|
||||
attr->max_pages_per_frmr = rsp->max_pages_per_frmr;
|
||||
attr->max_num_mr_pbl = rsp->max_num_mr_pbl;
|
||||
attr->max_cqe = rsp->max_cq_cqes_per_cq &
|
||||
|
@@ -99,7 +99,6 @@ int ocrdma_query_device(struct ib_device *ibdev, struct ib_device_attr *attr,
|
||||
attr->max_mw = dev->attr.max_mw;
|
||||
attr->max_pd = dev->attr.max_pd;
|
||||
attr->atomic_cap = 0;
|
||||
attr->max_fmr = 0;
|
||||
attr->max_map_per_fmr = 0;
|
||||
attr->max_qp_rd_atom =
|
||||
min(dev->attr.max_ord_per_qp, dev->attr.max_ird_per_qp);
|
||||
|
Reference in New Issue
Block a user