net/mlx4_core: Allow MTTs starting at any index
Allow obtaining MTTs starting at any index, thus give a better cache utilization. For this, allow setting log_mtts_per_seg to 0, and use this in default. Signed-off-by: NTariq Toukan <tariqt@mellanox.com> Signed-off-by: NEli Cohen <eli@mellanox.co.il> Signed-off-by: NAnaty Rahamim Bar Kat <anaty@mellanox.com> Reviewed-by: NJack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录