Skip to content

Commit

Permalink
IB/mlx5: Create profile infrastructure to add and remove stages
Browse files Browse the repository at this point in the history
Today we have single function which is used when we add an IB interface,
break this function into multiple functions.

Create stages and a generic mechanism to execute each stage.
This is in preparation for RDMA/IB representors which might not need
all stages or will do things differently in some of the stages.

This patch doesn't change any functionality.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
  • Loading branch information
Mark Bloch authored and Jason Gunthorpe committed Jan 4, 2018
1 parent d67d611 commit 16c1975
Show file tree
Hide file tree
Showing 2 changed files with 282 additions and 93 deletions.
Loading

0 comments on commit 16c1975

Please sign in to comment.