]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tg3: Move producer ring struct to tg3_napi
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 15 Sep 2010 08:59:58 +0000 (08:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2010 21:16:13 +0000 (14:16 -0700)
commit8fea32b9555726d35b91492d17fc21c7874d36f9
treed7bdab4fa4020eaa483761fc8271a3a03121fc13
parent6fd45cb814709767a1704b541aa91647b7f275cf
tg3: Move producer ring struct to tg3_napi

Now that each NAPI instance has its own producer ring, it no longer
makes sense to keep the producer ring structure external.  This patch
migrates the producer ring struct to tg3_napi and pivots the code to the
new implementation.

Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h