]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: add missing link advertise setting
authorStefan Assmann <sassmann@kpanic.de>
Mon, 27 Jun 2016 13:03:43 +0000 (15:03 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2016 07:07:06 +0000 (00:07 -0700)
commit655f20eee0e0e7629e3aefbc5e8ee3b4a2d1696c
tree8de0baa66416eb3703b2dc5235e650eb28c911a0
parentddd809738f2623b4ba0e558f51d87a0dda21c0b3
i40e: add missing link advertise setting

Adding the missing link advertise for some X710 NICs.
This can be observed by simply calling ethtool on the interface.
root@rhel7:~ # ethtool eth0
Settings for eth0:
        Supported ports: [ FIBRE ]
        Supported link modes:   10000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: No
        Advertised link modes:  Not reported
[...]
With fix applied.
root@rhel7:~ # ethtool eth0
Settings for eth0:
        Supported ports: [ FIBRE ]
        Supported link modes:   10000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: No
        Advertised link modes:  10000baseT/Full
[...]

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
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