Skip to content

Commit

Permalink
bnx2: Put tx ring variables in a separate struct.
Browse files Browse the repository at this point in the history
In preparation for multi-ring support, tx ring variables are now put
in a separate bnx2_tx_ring_info struct.  Multi tx ring will not be
enabled until it is fully supported by the stack.  Only 1 tx ring
will be used at the moment.

The functions to allocate/free tx memory and to initialize tx rings
are now modified to handle multiple rings.

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>
  • Loading branch information
Michael Chan authored and David S. Miller committed Jun 19, 2008
1 parent 4497b07 commit 35e9010
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 129 deletions.
Loading

0 comments on commit 35e9010

Please sign in to comment.