[dpdk-dev] [PATCH v3] ixgbe: support link speed auto-neg on x550em_x

Bruce Richardson bruce.richardson at intel.com
Tue Mar 8 18:34:33 CET 2016


On Fri, Feb 26, 2016 at 11:05:29AM +0800, Wenzhuo Lu wrote:
> Normally the auto-negotiation is supported by FW. SW need not care about
> that. But on x550em_x, FW doesn't support auto-neg. As the ports of x550em_x
> are 10G, if we connect the port will a peer which is 1G, the link will always
> be down.
> We need support auto-neg by SW to avoid this link down issue. As we already
> have the code to handle the link speed setting, what we need is a trigger.
> When the advertised link speed changes, a PHY interruption will be triggered.
> So, we should handle this interruption and call ixgbe_handle_lasi to set the
> link speed correctly.
> 
> Please be aware it's working when auto-neg is on. If the auto-neg of the peer
> port is turned off and its speed is indicated manually, we should also set
> the speed of our own port manually.
> 
> V2:
>  *Fix the wrong signoff name.
> 
> V3:
>  *Change the tittle and add the explanation of the implementation in commit log.
> 
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
> Acked-by: Shaopeng He <shaopeng.he at intel.com>
> ---
Applied to dpdk-next-net/rel_16_04

/Bruce



More information about the dev mailing list