diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2016-02-23 11:48:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-24 16:55:58 -0500 |
commit | e19d0839e75718a0b06db66f6f7ec2df515ae0c2 (patch) | |
tree | 90b3be276b108488051352cf2d9b8c2c38ed3f11 /firmware/r128 | |
parent | 9e4e6206c67ae11d68fc96882256f37c237087d4 (diff) | |
download | linux-e19d0839e75718a0b06db66f6f7ec2df515ae0c2.tar.bz2 |
gianfar: Map head TxBD first
Move the mapping of the head BD before the mapping of fragments.
The TOE (h/w offload) decision logic block can be also moved up
(as the TOE flag belongs to the head BD), resulting in more
localized code (TOE logic vs BD mapping code blocks).
Note that, for this h/w, the R (status) bit for the head BD of a S/G
frame needs to be written last for a reliable transmission.
For the fragmented skb case, a local variable is used to temporarily
store the status info of the first BD, replacing a BD status read.
A merge of 2 "if(do_tstamp)" blocks was also possible.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/r128')
0 files changed, 0 insertions, 0 deletions