linux/drivers/net/ethernet/intel
Paul Greenwalt 5a056cd7ea ice: add lp_advertising flow control support
Add support for reporting link partner advertising when
ETHTOOL_GLINKSETTINGS defined. Get pause param reports the Tx/Rx
pause configured, and then ethtool issues ETHTOOL_GSET ioctl and
ice_get_settings_link_up reports the negotiated Tx/Rx pause. Negotiated
pause frame report per IEEE 802.3-2005 table 288-3.

$ ethtool --show-pause ens6f0
Pause parameters for ens6f0:
Autonegotiate:  on
RX:             on
TX:             on
RX negotiated:  on
TX negotiated:  on

$ ethtool ens6f0
Settings for ens6f0:
        Supported ports: [ FIBRE ]
        Supported link modes:   25000baseCR/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: None BaseR RS
        Advertised link modes:  25000baseCR/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: None BaseR RS
        Link partner advertised link modes:  Not reported
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 25000Mb/s
        Duplex: Full
        Port: Direct Attach Copper
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

When ETHTOOL_GLINKSETTINGS is not defined, get pause param reports the
negotiated Tx/Rx pause.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-07-31 10:23:04 -07:00
..
e1000 net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
e1000e e1000e: add workaround for possible stalled packet 2019-07-24 13:55:09 -07:00
fm10k fm10k: Use dev_get_drvdata 2019-07-23 13:02:41 -07:00
i40e net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
iavf net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
ice ice: add lp_advertising flow control support 2019-07-31 10:23:04 -07:00
igb igb: Use dev_get_drvdata where possible 2019-07-23 13:02:42 -07:00
igbvf net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
igc igc: Add more SKUs for i225 device 2019-07-24 13:55:09 -07:00
ixgb net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
ixgbe net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
ixgbevf net/ixgbevf: fix a compilation error of skb_frag_t 2019-07-24 15:28:43 -07:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00