IB/uverbs: Allow resize CQ operation to return driver-specific data
authorRalph Campbell <ralph.campbell@qlogic.com>
Fri, 22 Sep 2006 22:22:24 +0000 (15:22 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:24 +0000 (15:22 -0700)
commit64f817ba98095156149ba5991592d5d039f6da74
tree72aaa87275033036bbf0e886c1cb7cf1e9d38bb5
parentfab97220c9e409a98b1956ba677ddd2dd43b0b95
IB/uverbs: Allow resize CQ operation to return driver-specific data

Add a ib_uverbs_resize_cq_resp.driver_data field so that low-level
drivers can return data from a resize CQ operation to userspace.  Have
ib_uverbs_resize_cq() only copy the cqe field, to avoid having to bump
the userspace ABI.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs_cmd.c
include/rdma/ib_user_verbs.h