linux_dsm_epyc7002/drivers/net/igb
Lior Levy 17dc566c5e igb: add support for VF Transmit rate limit using iproute2
Implemented igb_ndo_set_vf_bw function which is being used
by iproute2 tool. In addition, updated igb_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.
The rate limit value can be ranged between 0 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 only by 82576 device.

Signed-off-by: Lior Levy <lior.levy@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2011-02-24 02:39:03 -08:00
..
e1000_82575.c igb: Enable PF side of SR-IOV support for i350 devices 2011-02-11 08:42:47 -08:00
e1000_82575.h igb: Add Anti-spoofing feature support 2010-12-24 21:36:51 -08:00
e1000_defines.h igb: add support for VF Transmit rate limit using iproute2 2011-02-24 02:39:03 -08:00
e1000_hw.h igb: Add support for i340 Quad Port Fiber Adapter 2011-01-24 00:14:09 -08:00
e1000_mac.c igb: add support for reporting 5GT/s during probe on PCIe Gen2 2010-04-27 12:53:28 -07:00
e1000_mac.h igb: remove adaptive IFS from driver 2010-02-17 13:21:34 -08:00
e1000_mbx.c igb: Enable PF side of SR-IOV support for i350 devices 2011-02-11 08:42:47 -08:00
e1000_mbx.h igb: rework use of VMOLR in regards to PF and VFs 2009-10-28 03:25:40 -07:00
e1000_nvm.c igb: Add new function to read part number from EEPROM in string format 2010-12-10 22:14:01 -08:00
e1000_nvm.h igb: Add new function to read part number from EEPROM in string format 2010-12-10 22:14:01 -08:00
e1000_phy.c Intel Wired LAN drivers: Use static const 2010-12-10 22:12:32 -08:00
e1000_phy.h igb: Add support for DH89xxCC 2010-09-22 21:20:04 -07:00
e1000_regs.h igb: add support for VF Transmit rate limit using iproute2 2011-02-24 02:39:03 -08:00
igb_ethtool.c igb: fix stats handling 2010-10-18 07:54:29 -07:00
igb_main.c igb: add support for VF Transmit rate limit using iproute2 2011-02-24 02:39:03 -08:00
igb.h igb: add support for VF Transmit rate limit using iproute2 2011-02-24 02:39:03 -08:00
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00