]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Simplify tx bd assignments
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 27 Jul 2011 14:20:47 +0000 (14:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 05:39:31 +0000 (22:39 -0700)
commit6681ad984b87c200c16c495759515379abd79b14
treef4883d546a721e2ee9320f66d918f5845cfedf77
parentd471d7368bbd6bbc53a99e078d4c24479cb1894f
tg3: Simplify tx bd assignments

In the following patches, the process the driver will use to assign skb
fragments to transmit BDs will get more complicated.  To prepare for
that new code, this patch seeks to simplify how transmit BDs are
populated.  It does this by separating the code that assigns the BD
members from the logic that controls how the fields are set.

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