qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Misc fixes for throttle
@ 2023-06-25  8:56 zhenwei pi
  2023-06-25  8:56 ` [PATCH 1/5] throttle: introduce enum ThrottleTimerType zhenwei pi
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: zhenwei pi @ 2023-06-25  8:56 UTC (permalink / raw)
  To: berto; +Cc: arei.gonglei, qemu-devel, qemu-block, berrange, zhenwei pi

Hi,

v1:
- introduce enum ThrottleTimerType instead of timers[0], timer[1]...
- support read-only and write-only for throttle
- adapt related test codes
- cryptodev uses a write-only throttle timer

Zhenwei Pi (5):
  throttle: introduce enum ThrottleTimerType
  test-throttle: use enum ThrottleTimerType
  throttle: support read-only and write-only
  test-throttle: test read only and write only
  cryptodev: use NULL throttle timer cb for read direction

 backends/cryptodev.c       |  3 +-
 include/qemu/throttle.h    | 12 +++++--
 tests/unit/test-throttle.c | 72 ++++++++++++++++++++++++++++++++++++--
 util/throttle.c            | 28 ++++++++++-----
 4 files changed, 98 insertions(+), 17 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-06-27  5:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-25  8:56 [PATCH 0/5] Misc fixes for throttle zhenwei pi
2023-06-25  8:56 ` [PATCH 1/5] throttle: introduce enum ThrottleTimerType zhenwei pi
2023-06-26 21:24   ` Alberto Garcia
2023-06-27  5:06     ` zhenwei pi
2023-06-25  8:56 ` [PATCH 2/5] test-throttle: use " zhenwei pi
2023-06-26 21:27   ` Alberto Garcia
2023-06-25  8:56 ` [PATCH 3/5] throttle: support read-only and write-only zhenwei pi
2023-06-26 21:38   ` Alberto Garcia
2023-06-27  5:25     ` zhenwei pi
2023-06-25  8:56 ` [PATCH 4/5] test-throttle: test read only and write only zhenwei pi
2023-06-26 21:31   ` Alberto Garcia
2023-06-25  8:56 ` [PATCH 5/5] cryptodev: use NULL throttle timer cb for read direction zhenwei pi
2023-06-26 21:30   ` Alberto Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).