diff options
author | Yixian Liu <[email protected]> | 2019-11-18 10:34:51 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-11-25 10:31:48 -0400 |
commit | 18a96d25ce84a365fbe9ddcb887ade80eb3a6017 (patch) | |
tree | 77f05bd285e2c4e5d49bdbd2927cd1f856ba798e /lib/mpi/mpiutil.c | |
parent | e2b2744a06d35ba44f32c86e0579d986931187b3 (diff) |
RDMA/hns: Redefine the member of hns_roce_cq struct
There is no need to package buf and mtt into hns_roce_cq_buf, which will
make code more complex, just delete this struct and move buf and mtt into
hns_roce_cq. Furthermore, we add size member for hns_roce_buf to avoid
repeatly calculating where needed it.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yixian Liu <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions