aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHonggang Li <[email protected]>2019-09-28 01:43:52 +0800
committerJason Gunthorpe <[email protected]>2019-10-08 15:17:32 -0300
commitb2e872f451992e5ac3d6b79a62b66f1721e29521 (patch)
tree03d158430659baa75f37cbb5b465566beb4a5943 /tools/perf/scripts/python
parent547ed331bbe89575ff91939e1ac9a023fe526b74 (diff)
RDMA/srp: Calculate max_it_iu_size if remote max_it_iu length available
The default maximum immediate size is too big for old srp clients, which do not support immediate data. According to the SRP and SRP-2 specifications, the IOControllerProfile attributes for SRP target ports contains the maximum initiator to target iu length. The maximum initiator to target iu length can be obtained by sending MAD packets to query subnet manager port and SRP target ports. We should calculate the max_it_iu_size instead of the default value, when remote maximum initiator to target iu length available. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Honggang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions