+ memcpy(ctx->reg->mr->sig_attrs, sig_attrs, sizeof(struct ib_sig_attrs));Why do we need to do a struct copy here instead of setting up a pointer?
Yea, can't we use the mr->sig_attrs directly?
+ memcpy(ctx->reg->mr->sig_attrs, sig_attrs, sizeof(struct ib_sig_attrs));Why do we need to do a struct copy here instead of setting up a pointer?
Yea, can't we use the mr->sig_attrs directly?