[BNX2]: Introduce new bnx2_napi structure.
commit35efa7c1f4aa868d4a948a9069f20ccef1b3b28d
authorMichael Chan <mchan@broadcom.com>
Fri, 21 Dec 2007 03:56:37 +0000 (20 19:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:35 +0000 (28 14:57 -0800)
tree9369da5bfcd93139ce0ac961059d29b57c66626c
parent6d866ffc69b0c3e584782f212a3f783708d31e9a
[BNX2]: Introduce new bnx2_napi structure.

Introduce a bnx2_napi structure that will hold a napi_struct and
other fields to handle NAPI polling for the napi_struct.  Various tx
and rx indexes and status block pointers will be moved from the main
bnx2 structure to this bnx2_napi structure.

Most NAPI path functions are modified to be passed this bnx2_napi
struct pointer.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h