]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 27 Aug 2011 07:00:03 +0000 (00:00 -0700)
commitf5d3d8b527d0687c0ad882c40399e4f699bb0629
treeddcb54b08d92118ec082048f8f6fee686064160f
parent25d65ad7af47f5b3ab261ac40250ba8212c09e7e
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.

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c