diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2020-05-06 09:55:12 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-06 23:42:45 +0300 |
commit | 6671cde83ddb9a65fd0a69e0896d089ace0e195c (patch) | |
tree | f7b71cbddb020b09f2790a38c794201c97555181 /drivers/infiniband/hw/mlx5/wr.h | |
parent | 31578defe4eb816439d5e3351923e90f6321b3c8 (diff) | |
download | linux-6671cde83ddb9a65fd0a69e0896d089ace0e195c.tar.xz |
RDMA/mlx5: Refactor mlx5_post_send() to improve readability
Add small helpers in order to avoid code duplication and improve code
readability. Decrease the amount of code in the gigantic post_send
function and divide it to readable methods that will help in code
maintenance in the future.
Link: https://lore.kernel.org/r/20200506065513.4668-3-leon@kernel.org
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/wr.h')
0 files changed, 0 insertions, 0 deletions