All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] enic: Check for DMA mapping error
@ 2014-12-24 10:29 Govindarajulu Varadarajan
  2014-12-24 10:29 ` [PATCH net-next 1/3] enic: make vnic_wq_buf doubly linked Govindarajulu Varadarajan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Govindarajulu Varadarajan @ 2014-12-24 10:29 UTC (permalink / raw)
  To: davem, netdev, sassmann; +Cc: ssujith, benve, Govindarajulu Varadarajan

After dma mapping the buffers, enic does not call dma_mapping_error() to check
if mapping is successful.

This series fixes the issue by checking return value of pci_dma_mapping_error()
after pci_map_single().

This is reported by redhat here
https://bugzilla.redhat.com/show_bug.cgi?id=1145016

Govindarajulu Varadarajan (3):
  enic: make vnic_wq_buf doubly linked
  enic: check dma_mapping_error
  enic: add stats for dma mapping error

 drivers/net/ethernet/cisco/enic/enic.h         |  14 +++
 drivers/net/ethernet/cisco/enic/enic_ethtool.c |  19 +++-
 drivers/net/ethernet/cisco/enic/enic_main.c    | 152 +++++++++++++++----------
 drivers/net/ethernet/cisco/enic/vnic_stats.h   |   5 +
 drivers/net/ethernet/cisco/enic/vnic_wq.c      |   3 +
 drivers/net/ethernet/cisco/enic/vnic_wq.h      |   1 +
 6 files changed, 135 insertions(+), 59 deletions(-)

-- 
2.2.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-05 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-24 10:29 [PATCH net-next 0/3] enic: Check for DMA mapping error Govindarajulu Varadarajan
2014-12-24 10:29 ` [PATCH net-next 1/3] enic: make vnic_wq_buf doubly linked Govindarajulu Varadarajan
2015-01-05 17:30   ` David Laight
2014-12-24 10:29 ` [PATCH net-next 2/3] enic: check dma_mapping_error Govindarajulu Varadarajan
2015-01-05 17:28   ` David Laight
2014-12-24 10:29 ` [PATCH net-next 3/3] enic: add stats for dma mapping error Govindarajulu Varadarajan
2014-12-31 18:09 ` [PATCH net-next 0/3] enic: Check for DMA " David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.