diff options
author | Michael Chan <mchan@broadcom.com> | 2008-06-20 03:41:57 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-20 03:41:57 +0400 |
commit | f0ea2e63859cf234b7017a2d7bba2a5a1db3bf25 (patch) | |
tree | 6b5e2e18ce331d0467a729cbde0e5680c6d447b3 /drivers/net/smc91x.c | |
parent | 43e80b89b65cbc62b5e0fde09b47c9fc572a8b11 (diff) | |
download | linux-f0ea2e63859cf234b7017a2d7bba2a5a1db3bf25.tar.xz |
bnx2: Use one handler for all MSI-X vectors.
Use the same MSI-X handler to schedule NAPI. Change the dev_instance
void pointer to the bnx2_napi struct instead so we can have the proper
context for each MSI-X vector.
Add a new bnx2_poll_msix() that is optimized for handling MSI-X
NAPI polling of rx/tx work only. Remove the old bnx2_tx_poll() that
is no longer needed. Each MSI-X vector handles 1 tx and 1 rx ring.
The first vector handles link events as well.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smc91x.c')
0 files changed, 0 insertions, 0 deletions