]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Sep 2011 03:29:14 +0000 (20:29 -0700)
commit1f7821eb6ee5a5de153e2ee1bf7ae871dc73cb0d
treec13aaa610a880da25c26313ec0136caa840a0ecd
parent93b59afb30df1ab08b5b8341b25f82d24fd31c10
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.

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