]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:37:03 +0000 (08:37 -0800)
commit909cf137c74729e2a5c1a1f0acf25aba37c14564
tree89aa1b19c7d80e79636ff32aafeedc975254b13e
parentada24f853459ce8aa5f473d47a24143944aec3ce
i40e: add 20G speed for Tx bandwidth calculations

Orabug: 22342532

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>
(cherry picked from commit 07f169c3e9df898afe951d74734a0e54ac89ee9d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c