OSDN Git Service

Merge branch 'nps_enet_fixes'
authorDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2015 23:08:54 +0000 (16:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2015 23:08:54 +0000 (16:08 -0700)
Noam Camus says:

====================
*** nps_enet fixups ***

Change v2
TX done is handled back with NAPI poll.

Change v1
This patch set is a bunch of fixes to make nps_enet work correctly with
all platforms, i.e. real device, emulation system, and simulation system.
The main trigger for this patch set was that in our emulation system
the TX end interrupt is "edge-sensitive" and therefore we cannot use the
cause register since it is not sticky.
Also:
TX is handled during HW interrupt context and not NAPI job.
race with TX done was fixed.
added acknowledge for TX when device is "level sensitive".
enable drop of control frames which is not needed for regular usage.

So most of this patch set is about TX handling, which is now more complete.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge