commit | c752c78275fbf3fcb1d6d0af9b03ac999fe1963d | [log] [tgz] |
---|---|---|
author | Jon Mason <jon@opengridcomputing.com> | Tue Sep 30 14:51:19 2008 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Sep 30 14:51:19 2008 -0700 |
tree | 85c8332c2197b68e53fff1de31eb8dc912d9da11 | |
parent | 9824b8f11373b0df806c135a342da9319ef1d893 [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>