From: Mitch Williams Date: Wed, 9 Apr 2014 05:58:56 +0000 (+0000) Subject: i40evf: don't round Tx rate down to 0 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~115^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dac9b31a18d2cd50625fd1fe3a4704dbc6d25457;p=pandora-kernel.git i40evf: don't round Tx rate down to 0 Because the hardware configures VF Tx rates in increments of 50 Mbps, values smaller than that would be rounded down to 0, which was interpreted as no limit at all. Rather than do this, we round up to 50 Mbps and notify the user. Change-ID: I5275848233fe7514cf93e11323661c68f4c38737 Signed-off-by: Mitch Williams Tested-by: Sibai Li Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed