net/sfc: restart TxQ in case of exception on event queue
authorIvan Malov <ivan.malov@oktetlabs.ru>
Fri, 2 Dec 2016 07:41:21 +0000 (07:41 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:27 +0000 (19:39 +0100)
commit4a18304d24c0939cbf552519428beb31053c6a05
tree082c777d251fd5d718ab1641dc1be777fe83754a
parent77f2d0534d1bc3db3fc18e76425d478aa87151c4
net/sfc: restart TxQ in case of exception on event queue

Examples of recoverable exceptions because of Tx error are:
 - Tx descriptor PCI read error
 - invalid Tx option descriptor
 - Tx option descriptor not supported by the firmware variant
 - unexpected Tx option descriptor (e.g. missing FATSO2A before
   FATSO2B, missing FATSO2B after FATSO2A)
 - incomplete packet push (CONT bit set in the latest pushed DMA
   descriptor)

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
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_ev.c