commit | a09036221092989b88c55d24d1f12ceb1d7d361f | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Tue Aug 21 16:07:58 2018 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Wed Sep 05 17:08:33 2018 -0700 |
tree | e235e50a7bbeda8b57607a12aa15c57ec5a6cafa | |
parent | 8d71e818506718e8d7032ce824b5c74a17d4f7a5 [diff] |
net/mlx5: Use u16 for Work Queue buffer strides offset Minimal stride size is 16. Hence, the number of strides in a fragment (of PAGE_SIZE) is <= PAGE_SIZE / 16 <= 4K. u16 is sufficient to represent this. Fixes: d7037ad73daa ("net/mlx5: Fix QP fragmented buffer allocation") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>