| 1f93bee4 | 06-Jan-2021 |
Xueming Li <[email protected]> |
vdpa/mlx5: add hardware queue moderation
The next parameters control the HW queue moderation feature. This feature helps to control the traffic performance and latency trade-off.
Each packet comple
vdpa/mlx5: add hardware queue moderation
The next parameters control the HW queue moderation feature. This feature helps to control the traffic performance and latency trade-off.
Each packet completion report from HW to SW requires CQ processing by SW and triggers interrupt for the guest driver. Interrupt report and handling cost CPU cycles and time and the amount of this affects directly on packet performance and latency.
hw_latency_mode parameters [int] 0, HW default. 1, Latency is counted from the first packet completion report. 2, Latency is counted from the last packet completion. hw_max_latency_us parameters [int] 0 - 4095, The maximum time in microseconds that packet completion report can be delayed. hw_max_pending_comp parameter [int] 0 - 65535, The maximum number of pending packets completions in an HW queue.
Signed-off-by: Xueming Li <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
| 05421ec9 | 02-Dec-2020 |
Xueming Li <[email protected]> |
vdpa/mlx5: set default event mode to polling
For better performance and latency, this patch sets default event handling mode to polling mode which uses dedicate thread per device to poll and process
vdpa/mlx5: set default event mode to polling
For better performance and latency, this patch sets default event handling mode to polling mode which uses dedicate thread per device to poll and process event.
Signed-off-by: Xueming Li <[email protected]> Acked-by: Matan Azrad <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|