Re: [PATCH rdma-core 1/2] verbs: Extend verbs packet pacing QP rate limiting with burst info

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

 



On Wed, Mar 14, 2018 at 05:15:09PM +0200, Yishai Hadas wrote:
> From: Bodong Wang <bodong@xxxxxxxxxxxx>
> 
> Allow user space verbs application finer grain control of QP send rate
> limit by setting a max_burst_sz [bytes] and typical_pkt_sz [bytes].
> 
> Expose new ibv_modify_qp_rate_limit() user space verb which gets
> a structure with below user input:
> 
> rate_limit:
> Rate limit in kbps for packet pacing.
> 
> max_burst_sz:
> Max total burst size in bytes, 0 for device default.
> Used by the device to calculate inter-burst gap delay.
> 
> typical_pkt_sz:
> Bytes value of typical packet size sent in burst, 0 to use device
> default, which is port's MTU.  Used by the device to calculate number of
> packets (WR) in a burst.
> 
> Signed-off-by: Bodong Wang <bodong@xxxxxxxxxxxx>
> Signed-off-by: Alex Rosenbaum <alexr@xxxxxxxxxxxx>
> Reviewed-by: Yishai Hadas <yishaih@xxxxxxxxxxxx>
> ---
>  libibverbs/driver.h                       |  2 +
>  libibverbs/dummy_ops.c                    |  8 ++++
>  libibverbs/man/CMakeLists.txt             |  1 +
>  libibverbs/man/ibv_modify_qp_rate_limit.3 | 67 +++++++++++++++++++++++++++++++
>  libibverbs/verbs.h                        | 27 +++++++++++++
>  5 files changed, 105 insertions(+)
>  create mode 100644 libibverbs/man/ibv_modify_qp_rate_limit.3

Pull request for this series merged, thanks

Jason
--
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