]> err.no Git - linux-2.6/commit
[TG3]: Set minimal hw interrupt mitigation.
authorDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2005 05:49:26 +0000 (22:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2005 05:49:26 +0000 (22:49 -0700)
commit15f9850d3c2d46f5851a424d2990a18b5bb5ebfd
treea96514f0f797e0a315e12450279d103a888d1083
parentfac9b83ea79aa3112ed245d9a4fc2a5c3ec2b7ec
[TG3]: Set minimal hw interrupt mitigation.

Even though we do software interrupt mitigation
via NAPI, it still helps to have some minimal
hw assisted mitigation.

This helps, particularly, on systems where register
I/O overhead is much greater than the CPU horsepower.

For example, it helps on NUMA systems.  In such cases
the PIO overhead to disable interrupts for NAPI accounts
for the majority of the packet processing cost.  The
CPU is fast enough such that only a single packet is
processed by each NAPI poll call.

Thanks to Michael Chan for reviewing this patch.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h