]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: Put rx ring variables in a separate struct.
authorMichael Chan <mchan@broadcom.com>
Thu, 19 Jun 2008 23:38:19 +0000 (16:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jun 2008 23:38:19 +0000 (16:38 -0700)
commitc4f59ea7c24339792a70f48b16bdb9210653c887
tree602da9b7cab22a16f2f1fd77f5db51a3de44b085
parent9cfe493af60102938db5e0024edbaffaf41e679d
bnx2: Put rx ring variables in a separate struct.

In preparation for multi-ring support, rx ring variables are now put
in a separate bnx2_rx_ring_info struct.  With MSI-X, we can support
multiple rx rings.

The functions to allocate/free rx memory and to initialize rx 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>
drivers/net/bnx2.c
drivers/net/bnx2.h