What opcodes are supposed to be submitted by users?

Currently we do not define opcodes in the UAPI and kinda rely that
userspace uses the same ones as the kernel.

For thos defines by libibverbs (RDMA_WRITE, RDMA_WRITE_WITH_IMM,
SEND, SEND_WITH_IMM, RDMA_READ, ATOMIC_CMP_AND_SWP and
ATOMIC_FETCH_AND_ADD) this happens to work fine.

Additionally uvers takes care of SEND_WITH_INV (but not READ_WITH_INV)
and copies the right fields into the kernel WR, but it also allows
all other opcodes without taking care of their fields.

My send_wr split that I'm going to repost soon will disallow all
those not handled explicitly as the current situration seems
dangerous.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to