]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Add support for disabling all link and change bits needed for PHY interactions
authorKevin Scott <kevin.c.scott@intel.com>
Tue, 3 May 2016 22:13:09 +0000 (15:13 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:41:27 +0000 (10:41 -0700)
commitfff0bcdc1883308a3591cbd7722019668e50c77c
treef9f83f6aab12af4377b87d59c8884d9ff54e95ac
parent9874261d8704dc9f7ce84764a832a2ca1c89d0e1
i40e: Add support for disabling all link and change bits needed for PHY interactions

Orabug: 23176970

Add flag to tell firmware to disable link on all ports.

This patch changes the bits set for telling firmware the PHY needs
to be modified by driver.  Without this patch, the setting will only
set that mode for the current port on the device.  Because the
MDIO interface is common for the copper device. The command needs to
set the mode for all ports.

Change-ID: I8baa7da91d384291ac95b41ae1a516604f8eb67f
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 06c0e39bbefd04b19ca50f29be698eeed21630b5)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c