Re: [PATCH] tilepro ethernet driver: fix a few minor issues
From: Chris Metcalf <hidden>
Date: 2012-04-04 12:18:12
Also in:
lkml
On 4/3/2012 6:23 PM, David Miller wrote:
From: Chris Metcalf <redacted> Date: Fri, 30 Mar 2012 19:23:35 -0400quoted
This commit fixes a number of issues seen with the driver: - Improve handling of return credits to the hardware shim - Use skb_frag_size() appropriately - Add netpoll support to run console over UDP Signed-off-by: Chris Metcalf <redacted>Please do not mix pure bug fixes and new features.
Fair point. The (trivial) netpoll change went in in response to an internal bug saying "hey, console over UDP is broken with the tile driver" so it seemed like a bug. :-)
Submit the pure bug fixes separately for 'net' tree submission and then submit feature additions like netpoll support in a patch targetting the 'net-next' tree.
To use management-speak, there seem to be some "dotted-line reporting" issues for this code. It didn't occur to me that you would push it through the net tree; I assumed I would push it through the tile tree. (In fact, shortly before I got your email I had asked Linus to pull it.) I'm happy to do it either way; would you prefer to take this stuff for the net trees going forward?
quoted
+ /* Handle completions if needed to make room. */ + /* NOTE: Return NETDEV_TX_BUSY if there is still no room. */Do not format comments like this, use something like this instead:
I will do a follow-up patch to fix up the comment style throughout the whole driver. Thanks! -- Chris Metcalf, Tilera Corp. http://www.tilera.com