]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Simplify transmit cleanup path
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 15 Jul 2011 03:05:14 +0000 (03:05 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:00:53 +0000 (22:00 +0800)
commit353550c00ce2b1d9188ad3b29ad554b8d8295963
tree1dca0ea71ba2c533d54700ce2d914298cb8924f0
parent362429a20b97d02509b9d40d4a1d1254212f56f5
ixgbe: Simplify transmit cleanup path

This patch helps to simplify the work being done by the transmit path by
removing the unnecessary compares between count and the work limit.  Instead
we can simplify this by just adding a budget value that will act as a count
down from the work limit value.

(cherry picked from commit 30065e63d8366b6ea4c8962fa255adfac157ce06)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c