aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>2022-02-08 14:25:09 -0500
committerJason Gunthorpe <jgg@nvidia.com>2022-03-04 17:22:02 -0400
commitb135e324d7a2e7fa0a7ef925076136e799b79f44 (patch)
treed1426f13c5688c28d42e059966dd534bcf5ba69f /tools/perf/scripts/python/export-to-postgresql.py
parentRDMA/core: Remove unnecessary statements (diff)
downloadlinux-dev-b135e324d7a2e7fa0a7ef925076136e799b79f44.tar.xz
linux-dev-b135e324d7a2e7fa0a7ef925076136e799b79f44.zip
IB/hfi1: Allow larger MTU without AIP
The AIP code signals the phys_mtu in the following query_port() fragment: props->phys_mtu = HFI1_CAP_IS_KSET(AIP) ? hfi1_max_mtu : ib_mtu_enum_to_int(props->max_mtu); Using the largest MTU possible should not depend on AIP. Fix by unconditionally using the hfi1_max_mtu value. Fixes: 6d72344cf6c4 ("IB/ipoib: Increase ipoib Datagram mode MTU's upper limit") Link: https://lore.kernel.org/r/1644348309-174874-1-git-send-email-mike.marciniszyn@cornelisnetworks.com Reviewed-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions