Skip to content

Commit

Permalink
RDMA/mlx5: Refactor mlx5_post_send() to improve readability
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Max Gurtovoy authored and Jason Gunthorpe committed May 6, 2020
1 parent 31578de commit 6671cde
Showing 1 changed file with 276 additions and 214 deletions.
Loading

0 comments on commit 6671cde

Please sign in to comment.