On Tue, Nov 21, 2017 at 03:53:10PM +0200, Leon Romanovsky wrote: > > + if (flags & IBV_REREG_MR_KEEP_VALID) > > + return ENOTSUP; > > You need to write the supported flags here, so the people will > be able to extend ibv_rereg_mr_flags without worries about your driver. And doesn't the kernel check flags anyhow? Why do you need to also check it in userspace? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html