From: Emil Tantilov Date: Fri, 30 Aug 2013 07:55:24 +0000 (+0000) Subject: ixgbe: limit setting speed to only one at a time for QSFP modules X-Git-Tag: v3.12-rc2~14^2~48^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed33ff66d8064e7b84459ad8ba49aad4cc67c269;p=pandora-kernel.git ixgbe: limit setting speed to only one at a time for QSFP modules QSFP+ modules do not support auto negotiation and should advertise only one speed at a time. This patch adds logic in ethtool to allow setting and reporting the advertised speed at either 1Gbps or 10Gbps, but not both. Also limits the speed set in ixgbe_sfp_link_config_subtask() to highest supported. Previously the link was set to whatever the supported speeds were. Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed