Re: [PATCH v7] app/testpmd: add Host Shaper command

2022-06-15 Thread Thomas Monjalon
Few comments below, 14/06/2022 14:01, Spike Du: > Add command line options to support host shaper configure. > - Command syntax: > mlx5 set port host_shaper avail_thresh_triggered <0|1> rate > > > - Example commands: > To enable avail_thresh_triggered on port 1 and disable current host > shap

RE: [PATCH v7] app/testpmd: add Host Shaper command

2022-06-15 Thread Matan Azrad
From: Spike Du > Add command line options to support host shaper configure. > - Command syntax: > mlx5 set port host_shaper avail_thresh_triggered <0|1> rate > > > - Example commands: > To enable avail_thresh_triggered on port 1 and disable current host > shaper: > testpmd> mlx5 set port 1

[PATCH v7] app/testpmd: add Host Shaper command

2022-06-14 Thread Spike Du
Add command line options to support host shaper configure. - Command syntax: mlx5 set port host_shaper avail_thresh_triggered <0|1> rate - Example commands: To enable avail_thresh_triggered on port 1 and disable current host shaper: testpmd> mlx5 set port 1 host_shaper avail_thresh_triggered 1

[PATCH v7] app/testpmd: add Host Shaper command

2022-06-14 Thread Spike Du
this patch is taken out from series of "introduce per-queue available descriptor threshold and host shaper" to simplify the review, and it's the last one for non-PMD change. However it depends on a PMD commit for host shaper config API, should be merged after PMD patches. -- v7: - remove some t