Spike Du <spi...@nvidia.com> writes:
> Host port shaper can be configured with QSHR(QoS Shaper Host Register). > Add check in build files to enable this function or not. > > The host shaper configuration affects all the ethdev ports belonging to the > same host port. > > Host shaper can configure shaper rate and lwm-triggered for a host port. > The shaper limits the rate of traffic from host port to wire port. > If lwm-triggered is enabled, a 100Mbps shaper is enabled automatically > when one of the host port's Rx queues receives fill threshold event. > > Signed-off-by: Spike Du <spi...@nvidia.com> > --- > doc/guides/nics/mlx5.rst | 35 +++++++++++ > doc/guides/rel_notes/release_22_07.rst | 1 + > drivers/common/mlx5/linux/meson.build | 13 +++++ > drivers/common/mlx5/mlx5_prm.h | 25 ++++++++ > drivers/net/mlx5/mlx5.h | 2 + > drivers/net/mlx5/mlx5_rx.c | 103 > +++++++++++++++++++++++++++++++++ > drivers/net/mlx5/rte_pmd_mlx5.h | 30 ++++++++++ > drivers/net/mlx5/version.map | 2 + > 8 files changed, 211 insertions(+) > Acked-by: Ray Kinsella <m...@ashroe.eu>