History

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.

Or Gerlitz committed 15 years ago

Commit bcacb891 parent a8312751 file · +1 −1Browse files

Unified · Split

drivers/infiniband/hw/mlx4/main.c+1−1
@@ -227,7 +227,7 @@ static int eth_link_query_port(struct ib_device *ibdev, u8 port, · 226 unmodified lines
227227 props->pkey_tbl_len = 1;
228228 props->bad_pkey_cntr = be16_to_cpup((__be16 *) (out_mad->data + 46));
229229 props->qkey_viol_cntr = be16_to_cpup((__be16 *) (out_mad->data + 48));
230− props->max_mtu = IB_MTU_2048;
230+ props->max_mtu = IB_MTU_4096;
231231 props->subnet_timeout = 0;
232232 props->max_vl_num = out_mad->data[37] >> 4;
233233 props->init_type_reply = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t