]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/efa: Allow passing of optional access flags for MR registration
authorMichael Guralnik <michaelgur@mellanox.com>
Wed, 8 Jan 2020 18:05:37 +0000 (20:05 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 16 Jan 2020 19:55:46 +0000 (15:55 -0400)
commit86dd738cf20cee4ac316274743e5707c4ccb6039
tree61cc5614505a038800f60216099bb5e1511fe6cc
parent68d384b906cfc850b65561fd846adbb8b406d9e5
RDMA/efa: Allow passing of optional access flags for MR registration

As part of adding a range of optional access flags that drivers need to be
able to accept, mask this range inside efa driver.  This will prevent the
driver from failing when an access flag from that range is passed.

Link: https://lore.kernel.org/r/1578506740-22188-8-git-send-email-yishaih@mellanox.com
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa_verbs.c