diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2011-10-10 08:53:41 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-10-31 18:55:15 (GMT) |
commit | bcacb897569f0e7aab7643b22567d8de22ef9dfc (patch) | |
tree | 3f04a8eb2b01b203edc2ca4bb3278cf7016ca582 /drivers/infiniband/hw | |
parent | a8312755db7ac800c83ec036058c3109892e0949 (diff) | |
download | linux-bcacb897569f0e7aab7643b22567d8de22ef9dfc.tar.xz |
IB/mlx4: Enable 4K mtu for IBoE
The IBoE port MTU is derived from the corresponding Ethernet netdevice
MTU, which can support jumbo frames of 9K, and hence surely supports
the max IB mtu of 4K.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/mlx4/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index fa643f4..e953cf9 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c @@ -227,7 +227,7 @@ static int eth_link_query_port(struct ib_device *ibdev, u8 port, props->pkey_tbl_len = 1; props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46)); props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48)); - props->max_mtu = IB_MTU_2048; + props->max_mtu = IB_MTU_4096; props->subnet_timeout = 0; props->max_vl_num = out_mad->data[37] >> 4; props->init_type_reply = 0; |