linux/drivers/net/ixgbe
Lior Levy ff4ab20611 ixgbe: add support for VF Transmit rate limit using iproute2
Implemented ixgbe_ndo_set_vf_bw function which is being used by iproute2
tool. In addition, updated ixgbe_ndo_get_vf_config function to show the
actual rate limit to the user.

The rate limitation can be configured only when the link is up and the
link speed is 10Gb.
The rate limit value can be 0 or ranged between 11 and actual link
speed measured in Mbps. A value of '0' disables the rate limit for
this specific VF.

iproute2 usage will be 'ip link set ethX vf Y rate Z'.
After the command is made, the rate will be changed instantly.
To view the current rate limit, use 'ip link show ethX'.

The rates will be zeroed only upon driver reload or a link speed change.

This feature is being supported by 82599 and X540 devices.

Signed-off-by: Lior Levy <lior.levy@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2011-03-12 04:15:08 -08:00
..
ixgbe.h ixgbe: add support for VF Transmit rate limit using iproute2 2011-03-12 04:15:08 -08:00
ixgbe_82598.c ixgbe: update PHY code to support 100Mbps as well as 1G/10G 2011-03-12 04:14:01 -08:00
ixgbe_82599.c ixgbe: Enable flow control pause parameter auto-negotiation support 2011-03-07 18:06:43 -08:00
ixgbe_common.c ixgbe: fix spelling errors 2011-03-07 18:08:25 -08:00
ixgbe_common.h ixgbe: cleanup copyright string for 2011 2011-03-03 04:43:24 -08:00
ixgbe_dcb.c ixgbe: DCB, set minimum bandwidth per traffic class 2011-03-12 04:14:48 -08:00
ixgbe_dcb.h ixgbe: IEEE 802.1Qaz, implement priority assignment table 2011-03-12 04:12:54 -08:00
ixgbe_dcb_82598.c ixgbe: cleanup copyright string for 2011 2011-03-03 04:43:24 -08:00
ixgbe_dcb_82598.h ixgbe: cleanup copyright string for 2011 2011-03-03 04:43:24 -08:00
ixgbe_dcb_82599.c ixgbe: IEEE 802.1Qaz, implement priority assignment table 2011-03-12 04:12:54 -08:00
ixgbe_dcb_82599.h ixgbe: IEEE 802.1Qaz, implement priority assignment table 2011-03-12 04:12:54 -08:00
ixgbe_dcb_nl.c ixgbe: IEEE 802.1Qaz, implement priority assignment table 2011-03-12 04:12:54 -08:00
ixgbe_ethtool.c ixgbe: fix setting and reporting of advertised speeds 2011-03-07 18:10:22 -08:00
ixgbe_fcoe.c ixgbe: DCB remove ixgbe_fcoe_getapp routine 2011-03-12 04:11:11 -08:00
ixgbe_fcoe.h ixgbe: add support to FCoE DDP in target mode 2011-03-07 18:04:35 -08:00
ixgbe_main.c ixgbe: add support for VF Transmit rate limit using iproute2 2011-03-12 04:15:08 -08:00
ixgbe_mbx.c ixgbe: remove timer reset to 0 on timeout 2011-03-12 04:13:41 -08:00
ixgbe_mbx.h ixgbe: cleanup copyright string for 2011 2011-03-03 04:43:24 -08:00
ixgbe_phy.c ixgbe: update PHY code to support 100Mbps as well as 1G/10G 2011-03-12 04:14:01 -08:00
ixgbe_phy.h ixgbe: update PHY code to support 100Mbps as well as 1G/10G 2011-03-12 04:14:01 -08:00
ixgbe_sriov.c ixgbe: add support for VF Transmit rate limit using iproute2 2011-03-12 04:15:08 -08:00
ixgbe_sriov.h ixgbe: add support for VF Transmit rate limit using iproute2 2011-03-12 04:15:08 -08:00
ixgbe_type.h ixgbe: add support for VF Transmit rate limit using iproute2 2011-03-12 04:15:08 -08:00
ixgbe_x540.c ixgbe: add function description 2011-03-07 18:07:21 -08:00
Makefile