]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: add 20G speed for Tx bandwidth calculations
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 23 Dec 2015 20:05:49 +0000 (12:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Feb 2016 02:59:32 +0000 (18:59 -0800)
commit5f7a79150fbb08cad27e2f190795fef708441e68
tree0caa33e56f2a5c5c1b08e18a0b502b0f5d2cd8d7
parent84b0b2035294a96bc4b99efea0d0a5648f1ceeb1
i40e: add 20G speed for Tx bandwidth calculations

When calculating TX bandwidth for VFs, we need to know the link speed to
make sure we don't allocate more bandwidth than is available. Add 20G
link speed to the switch statement so we can support devices that link
at that speed.

Change-ID: I5409f6139d549e5832777db9c22ca0664e0c5f8b
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c