On March 23, 2016 1:01:28 PM PDT, Petri Gynther <pgynt...@google.com> wrote:
>1. Add bytes_compl local variable to collect transmitted bytes
>   - dev->stats updates can then be moved outside the while-loop
>   - bytes_compl is also needed for future BQL support
>2. When bcmgenet device uses Tx checksum offload, each transmitted
>   skb has an extra 64-byte header prepended to it. This needs to
>   be deducted when counting transmitted bytes.
>3. skb->len covers the entire length of skb, whether it is linear or
>   fragmented. Thus, when we clean the fragments, do not increase
>   transmitted bytes.
>
>Signed-off-by: Petri Gynther <pgynt...@google.com>

Acked-by: Florian Fainelli <f.faine...@gmail.com>

Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file")

-- 
Florian

Reply via email to