diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2019-02-03 14:55:50 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-08 16:50:58 -0700 |
commit | 30471d4b20335d9bd9ae9b2382a1e1e97d18d86d (patch) | |
tree | e467a16ce8529808d9bb36acaec3c52c2c5ba82e /tools | |
parent | c66f67414c1f88554485bb2a0abf8b5c0d741de7 (diff) | |
download | linux-30471d4b20335d9bd9ae9b2382a1e1e97d18d86d.tar.gz linux-30471d4b20335d9bd9ae9b2382a1e1e97d18d86d.tar.bz2 linux-30471d4b20335d9bd9ae9b2382a1e1e97d18d86d.zip |
RDMA/core: Share driver structure size with core
Add new macros to be used in drivers while registering ops structure and
IB/core while calling allocation routines, so drivers won't need to
perform kzalloc/kfree in their paths.
The change in allocation stage allows us to initialize common fields prior
to calling to drivers (e.g. restrack).
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions