From: Max Filippov Date: Fri, 31 Jan 2014 05:41:07 +0000 (+0400) Subject: net: ethoc: implement ethtool get/set ring parameters X-Git-Tag: v3.14-rc3~36^2~65^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee7bacd18612564b85dc0b3e54063316c5bb32d;p=pandora-kernel.git net: ethoc: implement ethtool get/set ring parameters TX and RX rings share memory and descriptors. Maximal number of descriptors reported is one less than the total available nuber of descriptors. For the set operation the requested number of TX descriptors is rounded down to the nearest power of two (driver logic requirement). Signed-off-by: Max Filippov Signed-off-by: David S. Miller --- Reading git-diff-tree failed