igb: Make Tx budget for NAPI user adjustable
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 5 Oct 2011 13:35:24 +0000 (13:35 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Oct 2011 05:46:55 +0000 (22:46 -0700)
commit13fde97a48b622a192ae7d0a8011248be891cdd4
tree99be7848bab986104caa2221ba3abfc59e46da57
parentb64e9dd5d04561c2cee7e9d9d70bd6d45cc01e7c
igb: Make Tx budget for NAPI user adjustable

This change is to make the NAPI budget limits for transmit
adjustable.  Currently they are only set to 128, and when
the changes/improvements to NAPI occur to allow for adjustability,
it would be possible to tune the value for optimal
performance with applications such as routing.

v2: remove tie between NAPI and interrupt moderation
    fix work limit define name (s/IXGBE/IGB/)
    Update patch description to better reflect patch

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_ethtool.c
drivers/net/ethernet/intel/igb/igb_main.c