On Mon, Apr 29, 2019 at 11:34:42AM +0300, Leon Romanovsky wrote:

>  void rdma_counter_init(struct ib_device *dev)
>  {
>       struct rdma_port_counter *port_counter;
> diff --git a/drivers/infiniband/core/device.c 
> b/drivers/infiniband/core/device.c
> index 9204b4251fc8..dfaa57de871f 100644
> +++ b/drivers/infiniband/core/device.c
> @@ -2349,6 +2349,8 @@ void ib_set_device_ops(struct ib_device *dev, const 
> struct ib_device_ops *ops)
>       SET_DEVICE_OP(dev_ops, set_vf_guid);
>       SET_DEVICE_OP(dev_ops, set_vf_link_state);
>       SET_DEVICE_OP(dev_ops, unmap_fmr);
> +     SET_DEVICE_OP(dev_ops, counter_bind_qp);
> +     SET_DEVICE_OP(dev_ops, counter_unbind_qp);

Keep sorted

Jason

Reply via email to