IB/mlx5: Move to fully dynamic UAR mode once user space supports it
Move to fully dynamic UAR mode once user space supports it. In this case we prevent any legacy mode of UARs on the allocated context and prevent redundant allocation of the static ones. Link: https://lore.kernel.org/r/20200324060143.1569116-6-leon@kernel.org Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Reviewed-by: Michael Guralnik <michaelgur@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
这个提交包含在:
@@ -139,6 +139,7 @@ struct mlx5_bfreg_info {
|
||||
struct mutex lock;
|
||||
u32 ver;
|
||||
u8 lib_uar_4k : 1;
|
||||
u8 lib_uar_dyn : 1;
|
||||
u32 num_sys_pages;
|
||||
u32 num_static_sys_pages;
|
||||
u32 total_num_bfregs;
|
||||
|
在新工单中引用
屏蔽一个用户