aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs_ioctl.c
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2018-12-14 08:05:49 -0800
committerJason Gunthorpe <jgg@mellanox.com>2018-12-20 14:20:58 -0700
commitf55c3ec42a97bca408f0208ec08e3382340c7be7 (patch)
tree6d7a22f044cdc2ebfb4823f431032732162923b8 /drivers/infiniband/core/uverbs_ioctl.c
parentIB/rxe: Make counters thread safe (diff)
downloadlinux-dev-f55c3ec42a97bca408f0208ec08e3382340c7be7.tar.xz
linux-dev-f55c3ec42a97bca408f0208ec08e3382340c7be7.zip
IB/rxe: Reuse code which sets port state
Same code is executed in both rxe_param_set_add and rxe_notify functions. Make one function and call it from both places. Since both callers already have a rxe object use it directly instead of deriving it from the net device. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com>  Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_ioctl.c')
0 files changed, 0 insertions, 0 deletions