From: Shannon Nelson Date: Fri, 4 Apr 2014 04:43:12 +0000 (+0000) Subject: i40e: remove hardcode of stats struct size in ethtool X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~177^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31cd840e6c373c562e1755804c32824ce2c0370c;p=pandora-kernel.git i40e: remove hardcode of stats struct size in ethtool Base the queue stats length on the queue stats struct rather than assuming it is 2 fields. This is in prep for adding data fields which are configuration dependent. Change-ID: I937f471f389d2e0f8cec733960c5d9a06b14f3ec Signed-off-by: Shannon Nelson Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed