My understanding is that this does not disable auto-negotiation but rather 
just sets what is advertised during auto-negotiation as supported rates. 

We are working with an rather odd experimental system where we are trying to 
create a 10G link between two 82599 based NICs (ATTO FastFrame NS12 with 
dual SFP+ modules) over an optical link with 100 msec of latency in each 
direction.  We are experiencing long delays in getting a link light that we 
believe is related to auto-negotiation.  We would like to try running 
without auto-negotiation.  It appears the 82599 controller supports, so 

Does the 82599 support 1GbE and 10GbE via SFP+ without auto-negotiation? 

I was hoping to get some guidance on how to go about modifying the ixgbe 
driver so that I can try 1G and 10G without auto-negotiation. 

I need to be able to configure for two test cases: 

(1) 10G full duplex no auto-negotiation 

(2) 1G full duplex no auto-negotiation 

Would something like the following code achieve this?  Where would I place 
this code. 

10G:
     reg_data = IXGBE_READ_REG(hw, IXGBE_AUTOC);
     reg_data &= ~IXGBE_AUTOC_LMS_MASK;
     reg_data |= IXGBE_AUTOC_LMS_10G_LINK_NO_AN;
     IXGBE_WRITE_REG(hw, IXGBE_AUTOC, reg_data);
     IXGBE_WRITE_FLUSH(hw); 

1G:
     reg_data = IXGBE_READ_REG(hw, IXGBE_AUTOC);
     reg_data &= ~IXGBE_AUTOC_LMS_MASK;
     reg_data |= IXGBE_AUTOC_LMS_1G_LINK_NO_AN;
     IXGBE_WRITE_REG(hw, IXGBE_AUTOC, reg_data);
     IXGBE_WRITE_FLUSH(hw); 


Tantilov, Emil S writes: 

> You can use the advertise option of ethtool 
> 
> ethtool -s eth2 advertise 0x1000 (10Gbps/Full) 
> 
> ethtool -s eth2 advertise 0x020 (1Gbps/Full) 
> 
> Check the current and supported modes:
> ethtool eth2 
> 
> Thanks,
> Emil 
> 
> 
>>-----Original Message-----
>>From: [email protected] [mailto:[email protected]]
>>Sent: Sunday, March 10, 2013 5:12 AM
>>To: [email protected]
>>Subject: [E1000-devel] ixgbe for 82599, how to disable autoneg? 
>>
>>I am using the ixgbe driver with an Intel 82599 based NIC, specifically an
>>ATTO FastFrame NS12. 
>>
>>My understanding is that the ixgbe driver does not support disabling
>>auto-negotitation (ethtool -s eth2 speed 10000 autoneg off). 
>>
>>We have an application that requires running with either a fixed 1G or 10G
>>rate without auto-negotitation. 
>>
>>How would I go about modifying the ixgbe driver to support disabling
>>auto-negotiation? 
>>
>>---------------------------------------------------------------------------
>>---
>>Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
>>Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
>>endpoint security space. For insight on selecting the right partner to
>>tackle endpoint security challenges, access the full report.
>>http://p.sf.net/sfu/symantec-dev2dev
>>_______________________________________________
>>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
 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
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