Commit 4c0283fc authored by Roland Dreier's avatar Roland Dreier

IB/core: Remove IB_DEVICE_SEND_W_INV capability flag

In 2.6.26, we added some support for send with invalidate work
requests, including a device capability flag to indicate whether a
device supports such requests.  However, the support was incomplete:
the completion structure was not extended with a field for the key
contained in incoming send with invalidate requests.

Full support for memory management extensions (send with invalidate,
local invalidate, fast register through a send queue, etc) is planned
for 2.6.27.  Since send with invalidate is not very useful by itself,
just remove the IB_DEVICE_SEND_W_INV bit before the 2.6.26 final
release; we will add an IB_DEVICE_MEM_MGT_EXTENSIONS bit in 2.6.27,
which makes things simpler for applications, since they will not have
quite as confusing an array of fine-grained bits to check.
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 8079ffa0
...@@ -455,8 +455,7 @@ int __devinit c2_rnic_init(struct c2_dev *c2dev) ...@@ -455,8 +455,7 @@ int __devinit c2_rnic_init(struct c2_dev *c2dev)
IB_DEVICE_CURR_QP_STATE_MOD | IB_DEVICE_CURR_QP_STATE_MOD |
IB_DEVICE_SYS_IMAGE_GUID | IB_DEVICE_SYS_IMAGE_GUID |
IB_DEVICE_ZERO_STAG | IB_DEVICE_ZERO_STAG |
IB_DEVICE_MEM_WINDOW | IB_DEVICE_MEM_WINDOW);
IB_DEVICE_SEND_W_INV);
/* Allocate the qptr_array */ /* Allocate the qptr_array */
c2dev->qptr_array = vmalloc(C2_MAX_CQS * sizeof(void *)); c2dev->qptr_array = vmalloc(C2_MAX_CQS * sizeof(void *));
......
...@@ -105,7 +105,6 @@ enum ib_device_cap_flags { ...@@ -105,7 +105,6 @@ enum ib_device_cap_flags {
*/ */
IB_DEVICE_UD_IP_CSUM = (1<<18), IB_DEVICE_UD_IP_CSUM = (1<<18),
IB_DEVICE_UD_TSO = (1<<19), IB_DEVICE_UD_TSO = (1<<19),
IB_DEVICE_SEND_W_INV = (1<<21),
}; };
enum ib_atomic_cap { enum ib_atomic_cap {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment