RE: [PATCH rdma v1 1/1] IB/core: Fix input len in multiple user verbs

Amrani, Ram
2017-06-28T10:02:45Z

> > Most user verbs pass user data to the kernel with the inclusion of the
> > ib_uverbs_cmd_hdr structure. This is problematic because the vendor has
> > no ideas if the verb was called by a legacy verb or an extended verb.
>
> Why vendor should know about it? It has midlayer (ib/core) between him
> and user to handle it.
>

Knowing the inlen can be used to determine if the library is newer than
the kernel and what features it supports or not.

Ram