RDMA: Start use ib_device_ops

Make all the required change to start use the ib_device_ops structure.

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
Kamal Heib
2018-12-10 21:09:48 +02:00
committed by Jason Gunthorpe
orang tua 02a42f8e40
melakukan 3023a1e936
37 mengubah file dengan 353 tambahan dan 617 penghapusan

Melihat File

@@ -150,7 +150,7 @@ static int get_port_state(struct ib_device *ibdev,
int ret;
memset(&attr, 0, sizeof(attr));
ret = ibdev->query_port(ibdev, port_num, &attr);
ret = ibdev->ops.query_port(ibdev, port_num, &attr);
if (!ret)
*state = attr.state;
return ret;