]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Add prodring parameter to tg3_alloc_rx_skb()
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 13 Nov 2009 13:03:44 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 06:14:48 +0000 (22:14 -0800)
commit1be849d8a4eb4c7803ccaf0dcaa78aad0a160a95
tree504efd6573241c592e75d7139715cece3a15bc46
parent8b7b2db366711c72ac462af768b3bd8daf21e644
tg3: Add prodring parameter to tg3_alloc_rx_skb()

This patch changes the tg3_alloc_rx_skb() implementation to accept the
destination producer ring set pointer as a parameter rather than
assuming the source and destination producer rings are the same.

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