net/sfc: maintain management event queue
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 29 Nov 2016 16:19:11 +0000 (16:19 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:26 +0000 (19:39 +0100)
commit9a75f75cb1f2432a9e735656fca167fecb057338
treee5235147836c3aeda36dac5be7fa1088e3356769
parent98200dd9ddfedba909e313d05edfe43ef1ae8a49
net/sfc: maintain management event queue

The event queue is required for device level events (e.g. link status
change) and flush events.
Provide thread-safe function to poll the event queue since it may be
really done from different contexts.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_ev.c
drivers/net/sfc/sfc_ev.h