]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: add missing link advertise setting
authorStefan Assmann <sassmann@kpanic.de>
Mon, 27 Jun 2016 13:03:43 +0000 (15:03 +0200)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:31:05 +0000 (19:31 -0500)
commit8e0c9004fe9fc90d89d69d6cb6633a1789f17d08
treeabfce2f2f942ae5ac341c6f4d07178a38d856ad5
parent9ce3f78a2e576636841ab7d0e5d76058eeefa8df
i40e: add missing link advertise setting

Orabug: 24568124

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>
(cherry picked from commit 9169827b7ad7d4dcae635a051d32cc7421ed8202)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c