IB/core: Add ib_is_udata_cleared
authorMatan Barak <matanb@mellanox.com>
Tue, 15 Dec 2015 18:30:10 +0000 (20:30 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Dec 2015 04:25:59 +0000 (23:25 -0500)
commit301a721e1fcb890afc29997f46de9561686ed391
treef71758b19e20fedb62b9887541919e9705de2168
parent972ecb82137949be9649c7184782d00ff102a212
IB/core: Add ib_is_udata_cleared

Extending core and vendor verb commands require us to check that the
unknown part of the user's given command is all zeros.
Adding ib_is_udata_cleared in order to do so.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_verbs.h