]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Simplify tx bd assignments
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 27 Jul 2011 14:20:47 +0000 (14:20 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 08:41:11 +0000 (16:41 +0800)
commitcde35d1f42a8f4e7522c4e4e5773c856934c154f
tree44a6b716a03f1ef9ed95c8f85cfe5527265ae944
parent2f1010a4f7ca4cd62ae02ecde3c48011d6ffc61a
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>
(cherry picked from commit 92cd3a17ce9c719abb4c28dee3438e0c641f8de4)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c