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_api.h
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_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
enic_pp.h
enic_res.c
enic_res.h
enic.h enic: increment devcmd2 result ring in case of timeout 2016-02-09 04:48:01 -05:00
Kconfig
Makefile
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
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
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