RDMA/qedr: Remove the query_pkey callback
Now that the query_pkey() isn't mandatory by the RDMA core for iwarp providers, this callback can be removed from the common ops and moved to the RoCE only ops within the qedr driver. Link: https://lore.kernel.org/r/20200714183414.61069-8-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:

zatwierdzone przez
Jason Gunthorpe

rodzic
c1c5e9fd3a
commit
ca4beeee98
@@ -239,7 +239,6 @@ int qedr_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *attr)
|
||||
attr->ip_gids = true;
|
||||
if (rdma_protocol_iwarp(&dev->ibdev, 1)) {
|
||||
attr->gid_tbl_len = 1;
|
||||
attr->pkey_tbl_len = 1;
|
||||
} else {
|
||||
attr->gid_tbl_len = QEDR_MAX_SGID;
|
||||
attr->pkey_tbl_len = QEDR_ROCE_PKEY_TABLE_LEN;
|
||||
|
Reference in New Issue
Block a user