diff options
author | Eli Cohen <[email protected]> | 2008-07-14 23:48:45 -0700 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2008-07-14 23:48:45 -0700 |
commit | d1f2cd895f8733faa9d79d09d825a2ed80002ac7 (patch) | |
tree | 45d8f35de710b091af17611f3362f82834b5630f /net/unix/sysctl_net_unix.c | |
parent | e7e55829999deaab3f43e201a087731c02c54cf9 (diff) |
IB/mlx4: Configure QPs' max message size based on real device capability
ConnectX returns the max message size it supports through the
QUERY_DEV_CAP firmware command. When modifying a QP to RTR, the max
message size for the QP must be specified. This value must not exceed
the value declared through QUERY_DEV_CAP. The current code ignores
the max allowed size and unconditionally sets the value to 2^31. This
patch sets all QPs to the max value allowed as returned from firmware.
Signed-off-by: Eli Cohen <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions