linux/drivers/infiniband/ulp/ipoib
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
..
ipoib_cm.c IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2007-04-27 09:39:27 -07:00
ipoib_main.c IB/ipoib: Use ib_init_ah_from_path to initialize ah_attr 2007-04-24 16:31:12 -07:00
ipoib_multicast.c IPoIB: Fix race in detaching from mcast group before attaching 2007-03-22 14:32:09 -07:00
ipoib_verbs.c IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00
ipoib_vlan.c IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
ipoib.h IPoIB: Remove unused local_rate tracking 2007-02-21 20:28:05 -08:00
Kconfig IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
Makefile IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00