linux-stable/drivers/infiniband/core
Michael S. Tsirkin f4fd0b224d IB: Add CQ comp_vector support
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>
2007-05-06 21:18:11 -07:00
..
addr.c IB: Remove redundant "_wq" from workqueue names 2007-02-10 08:00:50 -08:00
agent.c IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
agent.h [PATCH] missing include in infiniband 2005-10-29 10:35:07 -07:00
cache.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
cm.c IB/cm: Remove ca_guid from cm_device structure 2007-02-22 17:54:33 -08:00
cm_msgs.h [IB] cm: Add missing break in switch 2005-10-20 12:29:36 -07:00
cma.c RDMA/cma: Initialize rdma_bind_list in cma_alloc_any_port() 2007-03-06 12:41:44 -08:00
core_priv.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
device.c IB/core: Use ARRAY_SIZE macro for mandatory_table 2007-02-10 08:00:47 -08:00
fmr_pool.c IB/fmr_pool: Add prefix to all printks 2007-05-06 21:18:11 -07:00
iwcm.c RDMA/iwcm: iw_cm_id destruction race fixes 2007-02-16 13:57:35 -08:00
iwcm.h RDMA: iWARP Connection Manager. 2006-09-22 15:22:46 -07:00
mad.c IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00
mad_priv.h IB/core: Use the new verbs DMA mapping functions 2006-12-12 14:28:30 -08:00
mad_rmpp.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
mad_rmpp.h [IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped 2005-10-25 10:51:39 -07:00
Makefile IB/sa: Track multicast join/leave requests 2007-02-16 14:20:02 -08:00
multicast.c IB/sa: Track multicast join/leave requests 2007-02-16 14:20:02 -08:00
packer.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
sa.h IB/sa: Track multicast join/leave requests 2007-02-16 14:20:02 -08:00
sa_query.c IB/sa: Set src_path_bits correctly in ib_init_ah_from_path() 2007-04-24 16:31:12 -07:00
smi.c IB/mad: Change SMI to use enums rather than magic return codes 2007-04-24 16:31:12 -07:00
smi.h IB/mad: Change SMI to use enums rather than magic return codes 2007-04-24 16:31:12 -07:00
sysfs.c IB: Set class_dev->dev in core for nice device symlink 2007-04-24 21:30:38 -07:00
ucm.c IB/ucm: Simplify ib_ucm_event() 2007-04-24 16:31:11 -07:00
ucma.c RDMA/ucma: Simplify ucma_get_event() 2007-04-24 16:31:11 -07:00
ud_header.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
user_mad.c IB/umad: Implement GRH handling for sent/received MADs 2007-04-24 16:31:12 -07:00
uverbs.h IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
uverbs_cmd.c IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00
uverbs_main.c IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00
uverbs_marshall.c RDMA/cma: Export rdma cm interface to userspace 2006-12-12 11:50:22 -08:00
uverbs_mem.c IB/core: Use the new verbs DMA mapping functions 2006-12-12 14:28:30 -08:00
verbs.c IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00