summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx4/cq.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2007-06-18 08:13:53 -0700
committerRoland Dreier <rolandd@cisco.com>2007-06-18 08:13:53 -0700
commit54e95f8dcbd7d86f79b423e8d11053ec9a2d9946 (patch)
treee16c04dc92d72f21e82287fb73b22907f9fcdd35 /drivers/infiniband/hw/mlx4/cq.c
parent0e6e74162164d908edf7889ac66dca09e7505745 (diff)
IB/mlx4: Get rid of max_inline_data calculation
The calculation of max_inline_data in set_kernel_sq_size() is bogus, since it doesn't take into account the fact that inline segments may not cross a 64-byte boundary, and hence multiple inline segments will probably need to be used to post large inline sends. We don't support inline sends for kernel QPs anyway, so there's no point in doing this calculation anyway, since the field is just zeroed out a little later. So just delete the bogus calculation. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/cq.c')
0 files changed, 0 insertions, 0 deletions