diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-16 21:09:32 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-16 21:09:32 -0700 |
commit | 139b2db7951ed0c808884cfebca02a884aebe0c3 (patch) | |
tree | df4a799be1302f4776db9b612d38e0c1ca8eab79 /drivers/infiniband/hw/amso1100/c2_rnic.c | |
parent | 0f39cf3d54e67a705773fd0ec56ca3dcd3e9272f (diff) | |
download | blackbird-op-linux-139b2db7951ed0c808884cfebca02a884aebe0c3.tar.gz blackbird-op-linux-139b2db7951ed0c808884cfebca02a884aebe0c3.zip |
RDMA/amso1100: Add support for "send with invalidate" work requests
Handle IB_WR_SEND_WITH_INV work requests.
This resurrects a patch sent long ago by Mikkel Hagen <mhagen@iol.unh.edu>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2_rnic.c')
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2_rnic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_rnic.c b/drivers/infiniband/hw/amso1100/c2_rnic.c index b1441aeb60c2..9a054c6941a4 100644 --- a/drivers/infiniband/hw/amso1100/c2_rnic.c +++ b/drivers/infiniband/hw/amso1100/c2_rnic.c @@ -455,7 +455,8 @@ int __devinit c2_rnic_init(struct c2_dev *c2dev) IB_DEVICE_CURR_QP_STATE_MOD | IB_DEVICE_SYS_IMAGE_GUID | IB_DEVICE_ZERO_STAG | - IB_DEVICE_MEM_WINDOW); + IB_DEVICE_MEM_WINDOW | + IB_DEVICE_SEND_W_INV); /* Allocate the qptr_array */ c2dev->qptr_array = vmalloc(C2_MAX_CQS * sizeof(void *)); |