Jason Gunthorpe ef87df2c7a RDMA/uverbs: Use uverbs_attr_bundle to pass udata for write_ex
The core code needs to compute the udata so we may as well pass it in the
uverbs_attr_bundle instead of on the stack. This converts the simple case
of write_ex() which already has a core calculation.

Also change the write() path to use the attrs for ib_uverbs_init_udata()
instead of on the stack. This lets the write to write_ex compatibility
path continue to follow the lead of the _ex path.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2018-11-26 16:48:07 -07:00
..
2015-06-12 14:49:18 -04:00
2018-06-12 16:19:22 -07:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2018-10-16 11:32:40 -04:00
2018-10-16 12:47:40 -04:00
2016-03-03 10:20:25 -05:00
2018-10-26 07:38:19 -07:00