IB/ipath: Fix maximum MTU reporting
authorRobert Walsh <robert.walsh@qlogic.com>
Mon, 18 Jun 2007 21:24:35 +0000 (14:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:25 +0000 (20:12 -0700)
commite7340f04426416a6655ffaead4651bfb9e1b0848
tree1ce7d3c405bc9e4ea69871e40504b057eeb30e66
parent380bf5d38f3cc2799ed2fae554f7af1c4b0ed35b
IB/ipath: Fix maximum MTU reporting

Although our chip supports 4K MTUs, our driver doesn't yet support
this feature, so limit the maximum MTU to 2K until we get support for
4K MTUs implemented.

Signed-off-by: Robert Walsh <robert.walsh@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_fs.c
drivers/infiniband/hw/ipath/ipath_init_chip.c
drivers/infiniband/hw/ipath/ipath_mad.c
drivers/infiniband/hw/ipath/ipath_qp.c
drivers/infiniband/hw/ipath/ipath_verbs.c