iavf: Fix reporting 2.5 Gb and 5Gb speeds
authorBrett Creeley <brett.creeley@intel.com>
Fri, 5 Jun 2020 17:09:45 +0000 (10:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 11 Jun 2020 22:11:42 +0000 (15:11 -0700)
commit18c012d922620bb35ff2ab6838f1269bc12cf647
treea5bb64f52f8acb582ee632eead0b3a3d44ea4077
parent5071bda2947f61da0b1c271cf0b16be45c9b81e9
iavf: Fix reporting 2.5 Gb and 5Gb speeds

Commit 4ae4916b5643 ("i40e: fix 'Unknown bps' in dmesg for 2.5Gb/5Gb
speeds") added the ability for the PF to report 2.5 and 5Gb speeds,
however, the iavf driver does not recognize those speeds as the values were
not added there. Add the proper enums and values so that iavf can properly
deal with those speeds.

Fixes: 4ae4916b5643 ("i40e: fix 'Unknown bps' in dmesg for 2.5Gb/5Gb speeds")
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Witold Fijalkowski <witoldx.fijalkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
drivers/net/ethernet/intel/iavf/iavf_main.c
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c