linux_dsm_epyc7002/include/linux/mlx5
Bodong Wang 05d3ac978e net/mlx5: Packet pacing enhancement
Add two new parameters: max_burst_sz and typical_pkt_size (both
in bytes) to rate limit configurations.

max_burst_sz: The device will schedule bursts of packets for an
SQ 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 SQs associated with the same rate limit index.

Ethernet driver is updated according to this change, but these two
parameters will be kept as 0 due to lacking of proper way to get the
configurations from user space which requires to change
ndo_set_tx_maxrate interface.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-03-19 11:54:41 -06:00
..
accel.h net/mlx5: IPSec, Add support for ESN 2018-03-07 15:54:36 -08:00
cmd.h
cq.h net/mlx5: CQ hold/put API 2018-02-15 00:30:01 -08:00
device.h IB/mlx5: Expose more priorities for bypass namespace 2018-03-14 16:05:16 -04:00
doorbell.h IB/mlx5: Use blue flame register allocator in mlx5_ib 2017-01-09 20:25:08 +02:00
driver.h net/mlx5: Packet pacing enhancement 2018-03-19 11:54:41 -06:00
eswitch.h net/mlx5: E-Switch, Add definition of IB representor 2018-02-23 12:36:38 -08:00
fs_helpers.h {net,IB}/mlx5: Add flow steering helpers 2018-03-06 22:20:14 -08:00
fs.h net/mlx5: Add flow-steering commands for FPGA IPSec implementation 2018-03-07 15:54:35 -08:00
mlx5_ifc_fpga.h net/mlx5: IPSec, Add support for ESN 2018-03-07 15:54:36 -08:00
mlx5_ifc.h net/mlx5: Packet pacing enhancement 2018-03-19 11:54:41 -06:00
port.h net/mlx5: QPTS and QPDPM register firmware command support 2017-11-04 21:26:21 -07:00
qp.h net/mlx5: Add DCT command interface 2018-01-08 11:38:49 -07:00
srq.h net/mlx5: Add XRQ support 2017-08-29 08:30:20 -04:00
transobj.h net/mlx5: Enable setting hairpin queue size 2018-01-19 22:41:32 +02:00
vport.h {net, IB}/mlx5: Manage port association for multiport RoCE 2018-01-08 11:42:22 -07:00