linux-stable-rt/drivers/infiniband/hw/ehca
Stefan Roscher d227fa7288 IB/ehca: Allocate event queue size depending on max number of CQs and QPs
If a lot of QPs fall into Error state at once and the EQ of the
respective HCA is too small, it might overrun, causing the eHCA driver
to stop processing completion events and calling the application's
completion handlers, effectively causing traffic to stop.

Fix this by limiting available QPs and CQs to a customizable max
count, and determining EQ size based on these counts and a worst-case
assumption.

Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-04-29 13:46:53 -07:00
..
Kconfig
Makefile
ehca_av.c
ehca_classes.h IB/ehca: Allocate event queue size depending on max number of CQs and QPs 2008-04-29 13:46:53 -07:00
ehca_classes_pSeries.h
ehca_cq.c IB/ehca: Allocate event queue size depending on max number of CQs and QPs 2008-04-29 13:46:53 -07:00
ehca_eq.c
ehca_hca.c
ehca_irq.c
ehca_irq.h
ehca_iverbs.h
ehca_main.c IB/ehca: Allocate event queue size depending on max number of CQs and QPs 2008-04-29 13:46:53 -07:00
ehca_mcast.c
ehca_mrmw.c
ehca_mrmw.h
ehca_pd.c
ehca_qes.h
ehca_qp.c IB/ehca: Allocate event queue size depending on max number of CQs and QPs 2008-04-29 13:46:53 -07:00
ehca_reqs.c
ehca_sqp.c
ehca_tools.h
ehca_uverbs.c
hcp_if.c
hcp_if.h
hcp_phyp.c
hcp_phyp.h
hipz_fns.h
hipz_fns_core.h
hipz_hw.h
ipz_pt_fn.c
ipz_pt_fn.h