From: Hariprasad Shenai Date: Thu, 9 Oct 2014 00:18:46 +0000 (+0530) Subject: cxgb4vf: Add 40G support for cxgb4vf driver X-Git-Tag: omap-for-v3.19/prcm-cleanup~112^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=897d55df3ca794ad4522472d46aa2dbbface8c37;p=pandora-kernel.git cxgb4vf: Add 40G support for cxgb4vf driver Add 40G support for cxgb4vf driver. ethtool speed values are just numbers of megabits and there is no SPEED_40000 in ethtool speed values. To be consistent, use integer constants directly for all speeds. Use is_x_10g_port()("is 10Gb/s or higher") in cfg_queues() instead of is_10g_port() ("is exactly 10Gb/s"). Else we will end up using a single "Queue Set" on 40Gb/s adapters. Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- Reading git-diff-tree failed