]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Add advise_mr to the list of known ops
authorMoni Shoua <monis@mellanox.com>
Wed, 26 Dec 2018 19:42:12 +0000 (21:42 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 2 Jan 2019 16:40:34 +0000 (09:40 -0700)
commit4813d7329e715c1d563e960766f23aee1467c7e0
tree7cc12aa70c1606375c193dabdb8ef8b9e66f3081
parentaee76aa77efc7b2b34ff642b646551a626e95a01
IB/core: Add advise_mr to the list of known ops

We need to add advise_mr to the list of operation setters on the ib_device
or otherwise callers to ib_set_device_ops() for advise_mr operation will
not have their callback registered.

When the advise_mr series was merged with the device ops series the
SET_DEVICE_OPS() was missed.

Fixes: 2fbd021a3daa ("IB/mlx5: Add advise_mr() support")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c