Home
last modified time | relevance | path

Searched hist:ef87df2c7a8f04d31cbf06f0b14b8dd5feafe473 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Duverbs_uapi.cdiff 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 Drdma_core.hdiff 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 Duverbs_main.cdiff 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 Duverbs_cmd.cdiff 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 Duverbs_ioctl.hdiff 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>