diff options
author | Michael Chan <mchan@broadcom.com> | 2008-06-19 19:41:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-19 19:41:08 -0400 |
commit | 43e80b89b65cbc62b5e0fde09b47c9fc572a8b11 (patch) | |
tree | 894984eda36c720a44e00a6bd1c1c2567b45102b /lib/prio_heap.c | |
parent | bb4f98abf590cf9899017f14f1a54984f02a0009 (diff) |
bnx2: Optimize fast-path tx and rx work.
Add hw_tx_cons_ptr and hw_rx_cons_ptr to speed up the retreival of
the tx and rx consumer index, since the MSI-X and default status
blocks have different structures.
Combine status_blk and status_blk_msix into a union. We'll only use
one type of status block for each vector.
Separate the code to detect more rx and tx work from the code to
detect link related work.
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 'lib/prio_heap.c')
0 files changed, 0 insertions, 0 deletions