Searched hist:ef87df2c7a8f04d31cbf06f0b14b8dd5feafe473 (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_uapi.c | diff ef87df2c7a8f04d31cbf06f0b14b8dd5feafe473 Sun Nov 25 12:51:18 CST 2018 Jason Gunthorpe <jgg@mellanox.com> 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>
|
H A D | rdma_core.h | diff ef87df2c7a8f04d31cbf06f0b14b8dd5feafe473 Sun Nov 25 12:51:18 CST 2018 Jason Gunthorpe <jgg@mellanox.com> 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>
|
H A D | uverbs_main.c | diff ef87df2c7a8f04d31cbf06f0b14b8dd5feafe473 Sun Nov 25 12:51:18 CST 2018 Jason Gunthorpe <jgg@mellanox.com> 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>
|
H A D | uverbs_cmd.c | diff ef87df2c7a8f04d31cbf06f0b14b8dd5feafe473 Sun Nov 25 12:51:18 CST 2018 Jason Gunthorpe <jgg@mellanox.com> 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>
|
/openbmc/linux/include/rdma/ |
H A D | uverbs_ioctl.h | diff ef87df2c7a8f04d31cbf06f0b14b8dd5feafe473 Sun Nov 25 12:51:18 CST 2018 Jason Gunthorpe <jgg@mellanox.com> 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>
|