]> git.baikalelectronics.ru Git - kernel.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)
commita7a5fe16782ce34ba8e0c982871fc6e9eae31e40
treed7bdab4fa4020eaa483761fc8271a3a03121fc13
parentddf8563ca745e8fd5c2c8799ec894a581043e333
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