From: Guenter Roeck Date: Wed, 29 Oct 2014 17:45:07 +0000 (-0700) Subject: net: dsa: Provide additional RMON statistics X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~319^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17ee3e04ddbf921e723fd0b0877220791f6f4c9a;p=pandora-kernel.git net: dsa: Provide additional RMON statistics Display sw_in_discards, sw_in_filtered, and sw_out_filtered for chips supported by mv88e6123_61_65 and mv88e6352 drivers. The variables are provided in port registers, not the normal status registers. Mark by adding 0x100 to the register offset and add special handling code to mv88e6xxx_get_ethtool_stats. Signed-off-by: Guenter Roeck Signed-off-by: David S. Miller --- Reading git-diff-tree failed