Download Mellanox OFED Linux User`s Manual

Transcript
Mellanox OFED for Linux User’s Manual
Rev 1.5.3-1.0.0
<kernel-source>/Documentation/networking/bonding.txt.
Currently only fail-over modes are supported by the EoIB driver, load-balancing modes including
static and dynamic (LACP) configurations are not supported.
4.6.3.5
Jumbo Frames
EoIB supports jumbo frames up to the InfiniBand limit of 4K bytes. The default Maximum Transmit Unit (MTU) for EoIB driver is 1500 bytes.
To configure EoIB to work with jumbo frames:
1. Make sure that the IB HCA and Switches hardware support 4K MTU.
2. Configure Mellanox low level driver to support 4K MTU. Add:
mlx4_core module parameter to set_4k_mtu=1
3. Change the MTU value of the vNic, for example, run:
ifconfig eth2 mtu 4038
Due to EoIB protocol overhead, the maximum MTU value that can be set for the vNic
interface is: 4038 bytes. If the vNic is configured to use VLANs, then the maximum
MTU is: 4034 bytes (due to VLAN header insertion).
4.6.4 Advanced EoIB Settings
4.6.4.1
Module Parameters
The mlx4_vnic driver supports the following module parameters. These parameters are intended to
enable more specific configuration of the mlx4_vnic driver to customer needs. The mlx4_vnic is
also effected by module parameters of other modules such as set_4k_mtu of mlx4_core. This modules are not addressed in this section.
The available module parameters include:
y tx_rings_num: Number of TX rings, use 0 for #cpus [default 0, max 32]
y tx_rings_len: Length of TX rings, must be power of two [default 1024, max 8K]
y rx_rings_num: Number of RX rings, use 0 for #cpus [default 0, max 32]
y rx_rings_len: Length of RX rings, must be power of two [default 2048, max 8K]
y vnic_net_admin: Network administration enabled [default 1]
y lro_num: Number of LRO sessions per ring, use 0 to disable LRO [default 32, max 32]
y eport_state_enforce: Bring vNic up only when corresponding External Port is up
[default 0]
For all module parameters list and description, run:
mlx4_vnic_info -I
Mellanox Technologies
75