]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fix missing DA cable check
authorSerey Kong <serey.kong@intel.com>
Mon, 16 May 2016 17:26:39 +0000 (10:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 27 Jun 2016 22:51:54 +0000 (15:51 -0700)
commit7dbd9b5863f473bee0fea974e8f3d0c40cd7ff32
treee9477fa063069db28faf0a8b1df615cfb58ae2d6
parentee153c92dfc9cfd48f1c316ef12bdc81db06c6cb
i40e: fix missing DA cable check

When a Direct Attach (DA) cable is used, if the i40e_set_settings
function is called it would return an error. Add the DA type so
the function won't fail.

Change-ID: I2b802f27a5d91cfefa72fd1f852acb4d74647a8e
Signed-off-by: Serey Kong <serey.kong@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_ethtool.c