[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGVrzca_KuHbtxJVjDQWN38TKUVjOaM=XSmXr0_xUKxVWKnZhA@mail.gmail.com>
Date: Mon, 4 Apr 2016 17:58:57 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Petri Gynther <pgynther@...gle.com>, opendmb@...il.com
Cc: netdev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Jaedon Shin <jaedon.shin@...il.com>
Subject: Re: [PATCH net-next 1/3] net: bcmgenet: cleanup for bcmgenet_xmit()
2016-04-04 17:09 GMT-07:00 Petri Gynther <pgynther@...gle.com>:
> 1. Readability: Move nr_frags assignment a few lines down in order
> to bundle index -> ring -> txq calculations together.
> 2. Readability: Add parentheses around nr_frags + 1.
> 3. Minor fix: Stop the Tx queue and throw the error message only if
> the Tx queue hasn't already been stopped.
>
> Signed-off-by: Petri Gynther <pgynther@...gle.com>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
Powered by blists - more mailing lists