linux/drivers/net/ethernet/cisco/enic
Sandeep Pillai ca7f41a495 enic: increment devcmd2 result ring in case of timeout
Firmware posts the devcmd result in result ring. In case of timeout, driver
does not increment the current result pointer and firmware could post the
result after timeout has occurred. During next devcmd, driver would be
reading the result of previous devcmd.

Fix this by incrementing result even in case of timeout.

Fixes: 373fb0873d ("enic: add devcmd2")
Signed-off-by: Sandeep Pillai <sanpilla@cisco.com>
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-09 04:48:01 -05:00
..
cq_desc.h
cq_enet_desc.h
enic_api.c enic: fix lockdep around devcmd_lock 2014-06-23 14:32:19 -07:00
enic_api.h drivers/net: enic: Add an interface for USNIC to interact with firmware 2013-08-20 13:41:01 -07:00
enic_clsf.c flow_dissector: Add flags argument to skb_flow_dissector functions 2015-09-01 15:06:22 -07:00
enic_clsf.h enic: Add ethtool support to show classifier filters added by the driver 2014-07-21 20:22:46 -07:00
enic_dev.c net: ethernet: cisco: enic: enic_dev: Remove some unused functions 2015-01-02 16:36:08 -05:00
enic_dev.h net: ethernet: cisco: enic: enic_dev: Remove some unused functions 2015-01-02 16:36:08 -05:00
enic_ethtool.c enic: allow adaptive coalesce setting for msi/legacy intr 2015-07-20 12:39:34 -07:00
enic_main.c net: provide generic busy polling to all NAPI drivers 2015-11-18 16:17:42 -05:00
enic_pp.c net: enic: slight optimization of addr compare 2013-12-31 16:48:31 -05:00
enic_pp.h
enic_res.c enic: Add Accelerated RFS support 2014-06-23 14:32:19 -07:00
enic_res.h drivers/net: enic: Adding support for Cisco Low Latency NIC 2013-08-20 13:41:01 -07:00
enic.h enic: increment devcmd2 result ring in case of timeout 2016-02-09 04:48:01 -05:00
Kconfig net: Remove bogus dependencies on INET 2012-11-19 19:13:59 -05:00
Makefile enic: devcmd for adding IP 5 tuple hardware filters 2014-06-23 14:32:19 -07:00
rq_enet_desc.h
vnic_cq.c enic: use netdev_<foo> or dev_<foo> instead of pr_<foo> 2015-08-17 15:25:29 -07:00
vnic_cq.h enic: Add support for adaptive interrupt coalescing 2014-05-21 17:04:13 -04:00
vnic_dev.c enic: increment devcmd2 result ring in case of timeout 2016-02-09 04:48:01 -05:00
vnic_dev.h enic: do hang reset only in case of tx timeout 2015-10-05 03:51:35 -07:00
vnic_devcmd.h enic: add devcmd2 2015-08-17 15:25:29 -07:00
vnic_enet.h enic: Add Accelerated RFS support 2014-06-23 14:32:19 -07:00
vnic_intr.c enic: use netdev_<foo> or dev_<foo> instead of pr_<foo> 2015-08-17 15:25:29 -07:00
vnic_intr.h
vnic_nic.h
vnic_resource.h enic: add devcmd2 resources 2015-08-17 15:25:29 -07:00
vnic_rq.c enic: use netdev_<foo> or dev_<foo> instead of pr_<foo> 2015-08-17 15:25:29 -07:00
vnic_rq.h enic: use atomic_t instead of spin_lock in busy poll 2015-06-25 05:23:01 -07:00
vnic_rss.h enic: use netdev_rss_key_fill() helper 2014-11-23 21:01:42 -05:00
vnic_stats.h enic: add stats for dma mapping error 2014-12-31 13:08:45 -05:00
vnic_vic.c
vnic_vic.h
vnic_wq.c enic: Fix namespace pollution causing build errors. 2015-08-18 14:24:30 -07:00
vnic_wq.h enic: reduce ioread in devcmd2 2015-08-25 16:05:48 -07:00
wq_enet_desc.h