linux_dsm_epyc7002/drivers/infiniband/hw/efa
Gal Pressman 0133654d8e RDMA/efa: Set maximum pkeys device attribute
The max_pkeys device attribute was not set in query device verb, set it to
one in order to account for the default pkey (0xffff). This information is
exposed to userspace and can cause malfunction

Fixes: 40909f664d ("RDMA/efa: Add EFA verbs implementation")
Link: https://lore.kernel.org/r/20200614103534.88060-1-galpress@amazon.com
Reviewed-by: Firas JahJah <firasj@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>
2020-06-18 09:41:07 -03:00
..
efa_admin_cmds_defs.h RDMA/efa: Report host information to the device 2020-05-21 10:05:00 -03:00
efa_admin_defs.h RDMA/efa: Unified getters/setters for device structs bitmask access 2020-02-28 12:12:04 -04:00
efa_com_cmd.c RDMA/efa: Report host information to the device 2020-05-21 10:05:00 -03:00
efa_com_cmd.h RDMA/efa: Report host information to the device 2020-05-21 10:05:00 -03:00
efa_com.c RDMA/efa: Count admin commands errors 2020-05-02 20:32:14 -03:00
efa_com.h RDMA/efa: Count admin commands errors 2020-05-02 20:32:14 -03:00
efa_common_defs.h RDMA/efa: Unified getters/setters for device structs bitmask access 2020-02-28 12:12:04 -04:00
efa_main.c RDMA/efa: Report host information to the device 2020-05-21 10:05:00 -03:00
efa_regs_defs.h RDMA/efa: Properly document the interrupt mask register 2020-02-28 12:12:12 -04:00
efa_verbs.c RDMA/efa: Set maximum pkeys device attribute 2020-06-18 09:41:07 -03:00
efa.h RDMA/efa: Count mmap failures 2020-05-02 20:32:14 -03:00
Kconfig RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00
Makefile RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00