aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2018-09-03 18:06:24 +0300
committerDavid S. Miller <[email protected]>2018-09-04 12:17:33 -0700
commit639505d4397b8c654a8e2616f9cb70ece40c83f9 (patch)
tree47f3bb3050bd9f0e80850236e54b6994709aa226 /scripts/gdb/linux/lists.py
parentfc3e3bf55f48e5b18481075b0591ca938c9dba78 (diff)
net/mlx5: Fix SQ offset in QPs with small RQ
Correct the formula for calculating the RQ page remainder, which should be in byte granularity. The result will be non-zero only for RQs smaller than PAGE_SIZE, as an RQ size is a power of 2. Divide this by the SQ stride (MLX5_SEND_WQE_BB) to get the SQ offset in strides granularity. Fixes: d7037ad73daa ("net/mlx5: Fix QP fragmented buffer allocation") Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Eran Ben Elisha <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions