[PATCH rdma-next v1 0/2] Packet pacing enhancement with burst control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Changelog v0->v1:
 * Fixed padding in mlx5-abi.h

---------------------------------------------------------------------
>From Bodong:

This is an enhancement for packet pacing. It is defined to achieve
best performance and accuracy for the rate limit. It is achieved by
specific the following two new parameters:

max_burst_sz: The device will schedule bursts of packets for a
QP connected to this rate, smaller than or equal to this value.
Value 0x0 indicates packet bursts will be limited to the device
defaults. This field should be used if bursts of packets must be
strictly kept under a certain value.

typical_pkt_size: When the rate limit is intended for a stream of
similar packets, stating the typical packet size can improve the
accuracy of the rate limiter. The expected packet size will be
the same for all QPs associated with the same rate limit index.

Now, a rate limit index will be chosen based on 3 parameters:
rate_limit, max_burst_sz, and typical_pkt_size.

The burst control information is passed by user through user data.
Mlx5 driver {net, IB} is updated to support this enhancement and
report the capabilities accordingly.

Thanks

Bodong Wang (2):
  net/mlx5: Packet pacing enhancement
  IB/mlx5: Packet packing enhancement for RAW QP

 drivers/infiniband/hw/mlx5/main.c                 |  4 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h              |  2 +-
 drivers/infiniband/hw/mlx5/qp.c                   | 94 ++++++++++++++++++-----
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 19 +++--
 drivers/net/ethernet/mellanox/mlx5/core/rl.c      | 63 +++++++++------
 include/linux/mlx5/driver.h                       | 15 +++-
 include/linux/mlx5/mlx5_ifc.h                     | 12 ++-
 include/uapi/rdma/mlx5-abi.h                      | 19 ++++-
 8 files changed, 174 insertions(+), 54 deletions(-)

--
2.14.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux