bna: check for dma mapping errors
authorIvan Vecera <ivecera@redhat.com>
Wed, 16 Sep 2015 13:27:43 +0000 (15:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 04:36:57 +0000 (21:36 -0700)
commitba5ca7848be05db6235aeb703586b821aa00e381
treedbe9ef73db9c780773ec68531c2f4a11566ff361
parentc2e7204d180f8efc80f27959ca9cf16fa17f67db
bna: check for dma mapping errors

Check for DMA mapping errors, recover from them and register them in
ethtool stats like other errors.

Cc: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
drivers/net/ethernet/brocade/bna/bna_types.h
drivers/net/ethernet/brocade/bna/bnad.c
drivers/net/ethernet/brocade/bna/bnad.h
drivers/net/ethernet/brocade/bna/bnad_ethtool.c