android_kernel_xiaomi_sm8350/drivers/infiniband/hw/ehca
Alexander Schmidt b9012e0a42 IB/ehca: Generate flush status CQ entries
When a QP goes into error state, it is required that CQ entries with a
flush error status are delivered to the application for any
outstanding work requests.  eHCA does not do this in hardware, so this
patch adds software flush CQE generation to the ehca driver.

Whenever a QP gets into error state, it is added to the QP error list
of its respective CQ.  If the error QP list of a CQ is not empty,
poll_cq() generates flush CQEs before polling the actual CQ.

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-09-20 20:05:21 -07:00
..
ehca_av.c
ehca_classes_pSeries.h
ehca_classes.h IB/ehca: Generate flush status CQ entries 2008-09-20 20:05:21 -07:00
ehca_cq.c IB/ehca: Generate flush status CQ entries 2008-09-20 20:05:21 -07:00
ehca_eq.c
ehca_hca.c
ehca_irq.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2008-07-24 12:56:07 -07:00
ehca_irq.h
ehca_iverbs.h IB/ehca: Generate flush status CQ entries 2008-09-20 20:05:21 -07:00
ehca_main.c
ehca_mcast.c
ehca_mrmw.c
ehca_mrmw.h
ehca_pd.c
ehca_qes.h IB/ehca: Discard double CQE for one WR 2008-08-12 11:34:59 -07:00
ehca_qp.c IB/ehca: Generate flush status CQ entries 2008-09-20 20:05:21 -07:00
ehca_reqs.c IB/ehca: Generate flush status CQ entries 2008-09-20 20:05:21 -07:00
ehca_sqp.c
ehca_tools.h removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
ehca_uverbs.c
hcp_if.c
hcp_if.h
hcp_phyp.c
hcp_phyp.h
hipz_fns_core.h
hipz_fns.h
hipz_hw.h
ipz_pt_fn.c IB/ehca: Release mutex in error path of alloc_small_queue_page() 2008-07-22 14:18:10 -07:00
ipz_pt_fn.h
Kconfig
Makefile