On Mon, Aug 17, 2015 at 7:47 PM, Jason Gunthorpe <jguntho...@obsidianresearch.com> wrote: > On Sun, Aug 16, 2015 at 07:05:28PM +0300, Eran Ben Elisha wrote: > >> - if (attr.create_flags) { >> + if (attr.create_flags & ~IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK) { >> ret = -EINVAL; >> goto err_put; > > Shouldn't EINVAL still happen if the driver doesn't support this > feature? > > Jason
I expect the same behavior as if ib_create_qp was called with IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK in the create_flags. This is not a new flag, and driver should fail the command if not supported. Eran. > -- > 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 -- 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