]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'mlx5-dump-fill-mkey' into rdma.git for-next
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Jul 2018 19:19:46 +0000 (13:19 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Jul 2018 19:23:46 +0000 (13:23 -0600)
commit8193abb6a8171c775503acd041eb957cc7e9e7f4
treed51adbded2d00a8d365bdb029494fbb469531aa3
parentc1dfc0114c901b4f46c85ceff0491debf2b2a2ec
parent25bb36e75d7d62dc14ae2306dca38d672e0c3fa0
Merge branch 'mlx5-dump-fill-mkey' into rdma.git for-next

For dependencies, branch based on 'mellanox/mlx5-next' of
git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git

Pull Dump and fill MKEY from Leon Romanovsky:

====================
MLX5 IB HCA offers the memory key, dump_fill_mkey to increase performance,
when used in a send or receive operations.

It is used to force local HCA operations to skip the PCI bus access, while
keeping track of the processed length in the ibv_sge handling.

In this three patch series, we expose various bits in our HW spec
file (mlx5_ifc.h), move unneeded for mlx5_core FW command and export such
memory key to user space thought our mlx5-abi header file.
====================

Botched auto-merge in mlx5_ib_alloc_ucontext() resolved by hand.

* branch 'mlx5-dump-fill-mkey':
  IB/mlx5: Expose dump and fill memory key
  net/mlx5: Add hardware definitions for dump_fill_mkey
  net/mlx5: Limit scope of dump_fill_mkey function
  net/mlx5: Rate limit errors in command interface

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/cmd.c
drivers/infiniband/hw/mlx5/cmd.h
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
include/linux/mlx5/mlx5_ifc.h
include/uapi/rdma/mlx5-abi.h