]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: get media type during link info
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 20 Nov 2013 10:02:50 +0000 (10:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Dec 2013 00:19:22 +0000 (16:19 -0800)
commit72e3afde779394f0c7b65a975d52fbf0ec912401
tree84f1bf80c28d1ecfae3b1b98dc7bbae8803ac3f7
parenta534897b20f839f95613059df50395b7649dc6c1
i40e: get media type during link info

Set the media type in the hardware structure, based
on the external connection type.

Add Direct Attach to the type of media reported by ethtool.

Change-Id: I4ad2f5bf882766d6e737fac4477abf049491b3b3
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_type.h