Skip to content
Commit c752c782 authored by Jon Mason's avatar Jon Mason Committed by Roland Dreier
Browse files

RDMA/cxgb3: Set active_mtu in ib_port_attr



When running ibv_devinfo, the active_mtu returned is garbage.  This is
due to the field not being populated in the query_port function in the
driver.  The patch below populates the active_mtu field with a MTU of
2k.  It also zeros the struct, so that any new additions to it will
return 0.

Signed-off-by: default avatarJon Mason <jon@opengridcomputing.com>
Acked-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 9824b8f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment