net/mlx4: associate MR to MP in a short function
authorOphir Munk <ophirmu@mellanox.com>
Thu, 2 Nov 2017 16:42:45 +0000 (16:42 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 Nov 2017 19:22:07 +0000 (20:22 +0100)
commit326d2cdf7b5edbe5d6a6e41b37f36b719fd78808
tree2997426cbdd9ce041ba04b16a099b72f0f3d3c01
parent2eee458746bcba93962257788f80630008fba3ab
net/mlx4: associate MR to MP in a short function

Associate memory region to mempool (on data path) in a short function.
Handle the less common case of adding a new memory region to mempool
in a separate function.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.h
drivers/net/mlx4/mlx4_mr.c
drivers/net/mlx4/mlx4_rxtx.c
drivers/net/mlx4/mlx4_rxtx.h