mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
RDMA/efa: Support remote read access in MR registration
Enable remote read access for memory regions in order to support RDMA operations. Link: https://lore.kernel.org/r/20191121141509.59297-3-galpress@amazon.com Signed-off-by: Daniel Kranzdorf <dkkranzd@amazon.com> Reviewed-by: Yossi Leybovich <sleybo@amazon.com> Signed-off-by: Gal Pressman <galpress@amazon.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
committed by
Jason Gunthorpe
parent
bcf7cc534c
commit
e6c4f3ff43
@@ -178,12 +178,7 @@ struct efa_com_reg_mr_params {
|
||||
* address mapping
|
||||
*/
|
||||
u8 page_shift;
|
||||
/*
|
||||
* permissions
|
||||
* 0: local_write_enable - Write permissions: value of 1 needed
|
||||
* for RQ buffers and for RDMA write:1: reserved1 - remote
|
||||
* access flags, etc
|
||||
*/
|
||||
/* see permissions field of struct efa_admin_reg_mr_cmd */
|
||||
u8 permissions;
|
||||
u8 inline_pbl;
|
||||
u8 indirect;
|
||||
|
||||
Reference in New Issue
Block a user