]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Change default Tx work limit size to 256 buffers
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 31 Aug 2011 00:01:06 +0000 (00:01 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:02:34 +0000 (22:02 +0800)
commit4625c53703312f2c9d5b0258bb1160a0fced4c77
tree1fe272cc4313ed34b107af2a97e5f4fb396493f5
parent36dfb88a015ac8eaf826926e6a907a390c026049
ixgbe: Change default Tx work limit size to 256 buffers

This change makes it so that the default Tx work limit is 256 buffers or
1/2 of an entire ring instead of a full ring size so that it is much more
likely that we will be able to actually reach the work limit value.
Previously with the value set to an entire ring it would not have been
possible for us to trigger an event due to the fact that the Tx work is
stopped at the point where we cannot place one more buffer on the ring and
it is not restarted until cleanup is complete.

(cherry picked from commit 592245559e9007845ef6603cc930c784031eb076)
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.h
drivers/net/ixgbe/ixgbe_main.c