net/sfc: restart RxQ in case of exception on event queue
authorAndrew Rybchenko <arybchenko@solarflare.com>
Fri, 2 Dec 2016 07:41:20 +0000 (07:41 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:27 +0000 (19:39 +0100)
commit77f2d0534d1bc3db3fc18e76425d478aa87151c4
tree24e5aae9d18c15d84c7df7e813fe63c5e670adcb
parent428c7ddd2f16417ec8e03669b4200b3ea6786322
net/sfc: restart RxQ in case of exception on event queue

Examples of recoverable exceptions are:
 - unexpected Rx event (Rx scatter abort with non-zero size,
   too big Rx descriptors batch completed)
 - Rx error due to invalid Rx descriptors push
 - Rx error due to Rx descriptor read error (e.g. unmapped Rx ring
   and denied by IOMMU)

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andrew Lee <alee@solarflare.com>
Reviewed-by: Robert Stonehouse <rstonehouse@solarflare.com>
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_ev.c