aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp/ipoib
diff options
context:
space:
mode:
authorJon Mason <jon@opengridcomputing.com>2008-09-30 14:51:19 -0700
committerRoland Dreier <rolandd@cisco.com>2008-09-30 14:51:19 -0700
commitc752c78275fbf3fcb1d6d0af9b03ac999fe1963d (patch)
tree85c8332c2197b68e53fff1de31eb8dc912d9da11 /drivers/infiniband/ulp/ipoib
parent9824b8f11373b0df806c135a342da9319ef1d893 (diff)
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: Jon Mason <jon@opengridcomputing.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib')
0 files changed, 0 insertions, 0 deletions