f4fd0b224d
Add a num_comp_vectors member to struct ib_device and extend ib_create_cq() to pass in a comp_vector parameter -- this parallels the userspace libibverbs API. Update all hardware drivers to set num_comp_vectors to 1 and have all ULPs pass 0 for the comp_vector value. Pass the value of num_comp_vectors to userspace rather than hard-coding a value of 1. We want multiple CQ event vector support (via MSI-X or similar for adapters that can generate multiple interrupts), but it's not clear how many vectors we want, or how we want to deal with policy issues such as how to decide which vector to use or how to set up interrupt affinity. This patch is useful for experimenting, since no core changes will be necessary when updating a driver to support multiple vectors, and we know that we want to make at least these changes anyway. Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com> |
||
---|---|---|
.. | ||
ehca_av.c | ||
ehca_classes.h | ||
ehca_classes_pSeries.h | ||
ehca_cq.c | ||
ehca_eq.c | ||
ehca_hca.c | ||
ehca_irq.c | ||
ehca_irq.h | ||
ehca_iverbs.h | ||
ehca_main.c | ||
ehca_mcast.c | ||
ehca_mrmw.c | ||
ehca_mrmw.h | ||
ehca_pd.c | ||
ehca_qes.h | ||
ehca_qp.c | ||
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 | ||
Kconfig | ||
Makefile |