]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/uverbs: Add structure size info to write commands
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 25 Nov 2018 18:51:16 +0000 (20:51 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 26 Nov 2018 23:48:07 +0000 (16:48 -0700)
commit669dac1e00c50a65cb8ecf08862c3c9dd7a29a98
tree9ff3e1d2931f80dbfd99dc24fe5083b1085a525b
parent15a1b4becba886176aa1426604548c34904fd054
RDMA/uverbs: Add structure size info to write commands

We need the structure sizes to compute the location of the udata in the
core code. Annotate the sizes into the new macro language.

This is generated largely by script and checked by comparing against the
similar list in rdma-core.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/rdma_core.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_uapi.c
include/rdma/uverbs_ioctl.h