Hi Bilal,

Ethtool setting and getting pause parameters is working as designed - if you 
have autoneg on, and connected to another device (Link Partner) that has both 
RX and TX = on with its Autoneg  ON, your igb-device  would not allowed you to 
force RX and TX OFF without setting Autoneg OFF.
So, to force flow control parameters (RX, TX), you have to set autoneg to OFF.

Also, at half duplex, igb-drivers do not support flow control.

Please let me know if you have additional questions,

Regards,

Akeem G. Abodunrin
Linux Development
LAN Access Division
Intel Corporation


-----Original Message-----
From: Bilal Nurhusien [mailto:[email protected]] 
Sent: Friday, July 20, 2012 10:42 AM
To: [email protected]
Subject: [E1000-devel] Fwd: Ethtool not setting pause parameters when 
auto-negotiation is on

Hi,

I would really appreciate your help.

These are my ethernet driver settings:

>ethtool -i eth0
driver: igb
version: 3.0.6-k2
firmware-version: 3.2-3
bus-info: 0000:01:00.0  

And ethernet device properties:
>ethtool eth0
Settings for eth0:  
        Supported ports: [ TP ]  
        Supported link modes:   10baseT/Half 10baseT/Full  
                                100baseT/Half 100baseT/Full  
                                1000baseT/Full  
        Supports auto-negotiation: Yes  
        Advertised link modes:  10baseT/Half 10baseT/Full  
                                100baseT/Half 100baseT/Full  
                                1000baseT/Full  
        Advertised pause frame use: No  
        Advertised auto-negotiation: Yes  
        Speed: 1000Mb/s  
        Duplex: Full  
        Port: Twisted Pair  
        PHYAD: 1  
        Transceiver: internal  
        Auto-negotiation: on  
        MDI-X: Unknown  
        Supports Wake-on: pumbg  
        Wake-on: g  
        Current message level: 0x00000003 (3)  
                               drv probe  
        Link detected: yes  

The pause parameters are as follows:

>ethtool -a eth0
Pause parameters for eth0:  
Autonegotiate:  on  
RX:             on  
TX:             on  

When I type in:

>ethtool -A rx off tx off   

It has no effect on the pause parameters:

>ethtool -a eth0
Pause parameters for eth0:  
Autonegotiate:  on  
RX:             on  
TX:             on  

When I turn off the autoneg pause parameter, I am allowed to modify tx and rx:

>ethtool -A eth0 rx off tx off autoneg off
Pause parameters for eth0:  
Autonegotiate:  off  
RX:             off  
TX:             off  

Why am I not allowed to modify the tx and rx pause parameters when the autoneg 
pause parameter is on?

Also, how can I set the Advertised pause frame so that it s tx-only or tx&rx?

Also, I am allowed to change the pause parameters when the auto-negotiated 
duplex is half, but not when duplex is full.

Thanks for your help,
Bilal 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to