]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'mlx5-packet-credit-fc' into rdma.git
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 7 Dec 2018 20:25:12 +0000 (13:25 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 7 Dec 2018 20:25:12 +0000 (13:25 -0700)
commitfe15bcc6e23f4d5273dfbc056bae8710723f03d0
tree58541d69d68a4f88e5b2d6bcc2803ecb482b75aa
parente7521d82b33593c9b3ffd1e49a7ea2999ddc2285
parent7e11b911b520de6a3189fafa94740f5fde2a2c98
Merge branch 'mlx5-packet-credit-fc' into rdma.git

Danit Goldberg says:

Packet based credit mode

Packet based credit mode is an alternative end-to-end credit mode for QPs
set during their creation. Credits are transported from the responder to
the requester to optimize the use of its receive resources.  In
packet-based credit mode, credits are issued on a per packet basis.

The advantage of this feature comes while sending large RDMA messages
through switches that are short in memory.

The first commit exposes QP creation flag and the HCA capability. The
second commit adds support for a new DV QP creation flag. The last commit
report packet based credit mode capability via the MLX5DV device
capabilities.

* branch 'mlx5-packet-credit-fc':
  IB/mlx5: Report packet based credit mode device capability
  IB/mlx5: Add packet based credit mode support
  net/mlx5: Expose packet based credit mode

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c
include/linux/mlx5/mlx5_ifc.h