Link state configuration, Viewing vf properties – Dell Emulex Family of Adapters User Manual

Page 845

Advertising
background image

Emulex Drivers Version 10.2 for Linux User Manual

P010081-01A Rev. A

3. Configuration

Ethernet Driver Configuration

845

Note: Transparent VLAN tagging does not occur on any VLAN packets that are sent

with VLAN configuration mode in the guest operating system on the VF.

Transmission Rate Configuration

Configure the transmission rate limit (TX-RATE) on a VF interface from the hypervisor

using the following IP command syntax:

# ip link set eth<X> vf <VFN> rate <TX-RATE>

where:

eth<X> is the interface corresponding to the physical function.

<VFN> is the VF number corresponding to the interface that you are

configuring the TX-rate.

<TX-RATE> is the transmission rate limit, in Mb/s.

For example, to set a TX-RATE of 5000 Mb/s for the VF 0, run

# ip link set eth0 vf 0 rate 5000

Link State Configuration

This section provides link state configuration for a VF in the newer CNAs (for example,

the OCe14000-series adapters).
Configure the link state on a VF interface from the hypervisor using the following IP

command syntax:

#ip link set eth<X> vf <VFN> state < auto | enable | disable >

where:

eth<X> is the interface corresponding to the physical function

<VFN> is the VF number corresponding to the interface for which the link state

is being configured

auto - VF link state will reflect the PF link state

enable - VF link state will be always up

disable - VF link state will be always down

Viewing VF Properties

To view the properties configured to VFs attached to a PF, use the following IP

command syntax:

# ip link show eth<X>

where eth<X> is the interface corresponding to the physical function.
For example, to view the properties of a PF at “eth0” (which has VFs 0, 1 associated

with it), run the following command in the hypervisor:

# ip link show eth0

Expected example output:

eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000

link/ether 00:00:c9:bb:16:ee brd ff:ff:ff:ff:ff:ff

Advertising