mbox series

[rdma-next,v2,0/4] Rely on firmware to get special mkeys

Message ID cover.1673960981.git.leon@kernel.org (mailing list archive)
Headers show
Series Rely on firmware to get special mkeys | expand

Message

Leon Romanovsky Jan. 17, 2023, 1:14 p.m. UTC
Changelog:
v2:
 * Took a liberty and rewrote net/mlx5 patches
 * change logic around terminate_scatter_list_mkey
 * Added capability checks to be before executing command
v1: https://lore.kernel.org/all/cover.1672917578.git.leonro@nvidia.com
 * Use already stored mkeys.terminate_scatter_list_mkey.
v0: https://lore.kernel.org/all/cover.1672819469.git.leonro@nvidia.com

-----------------------------------------------------------------------
This series from Or extends mlx5 driver to rely on firmware to get
special mkey values.

Thanks

Or Har-Toov (4):
  net/mlx5: Expose bits for querying special mkeys
  net/mlx5: Change define name for 0x100 lkey value
  net/mlx5e: Use query_special_contexts for mkeys
  RDMA/mlx5: Use query_special_contexts for mkeys

 drivers/infiniband/hw/mlx5/cmd.c              | 45 +++++++++++--------
 drivers/infiniband/hw/mlx5/cmd.h              |  3 +-
 drivers/infiniband/hw/mlx5/main.c             | 10 ++---
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |  9 +++-
 drivers/infiniband/hw/mlx5/odp.c              | 27 ++++-------
 drivers/infiniband/hw/mlx5/srq.c              |  2 +-
 drivers/infiniband/hw/mlx5/wr.c               |  2 +-
 .../net/ethernet/mellanox/mlx5/core/en_main.c | 22 ++++++++-
 include/linux/mlx5/mlx5_ifc.h                 | 10 ++++-
 include/linux/mlx5/qp.h                       |  2 +-
 10 files changed, 81 insertions(+), 51 deletions(-)

Comments

Jason Gunthorpe Feb. 17, 2023, 8:30 p.m. UTC | #1
On Tue, Jan 17, 2023 at 03:14:48PM +0200, Leon Romanovsky wrote:
> Changelog:
> v2:
>  * Took a liberty and rewrote net/mlx5 patches
>  * change logic around terminate_scatter_list_mkey
>  * Added capability checks to be before executing command
> v1: https://lore.kernel.org/all/cover.1672917578.git.leonro@nvidia.com
>  * Use already stored mkeys.terminate_scatter_list_mkey.
> v0: https://lore.kernel.org/all/cover.1672819469.git.leonro@nvidia.com
> 
> -----------------------------------------------------------------------
> This series from Or extends mlx5 driver to rely on firmware to get
> special mkey values.
> 
> Thanks
> 
> Or Har-Toov (4):
>   net/mlx5: Expose bits for querying special mkeys
>   net/mlx5: Change define name for 0x100 lkey value
>   net/mlx5e: Use query_special_contexts for mkeys
>   RDMA/mlx5: Use query_special_contexts for mkeys

I pulled this into rdma, Saeed/Leon if you need these commits in the
shared branch then you can fast-forward the shared branch to:

commit 1b1e4868836a4b5b375be75fd4c9583d29500517
Author: Or Har-Toov <ohartoov@nvidia.com>
Date:   Tue Jan 17 15:14:51 2023 +0200

    net/mlx5e: Use query_special_contexts for mkeys
    
Thanks,
Jason