Skip to content

tools/net/ynl: rework async notification handling

Donald Hunter netdev 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Simplify timeout logic - thanks Jakub!

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2Revert "tools/net/ynl: improve async notification handling"tools/net/ynl/cli.py tools/net/ynl/lib/ynl.py+23 -360 replies
2/2tools/net/ynl: add async notification handlingtools/net/ynl/cli.py tools/net/ynl/lib/ynl.py+34 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH net-next v3 0/2] tools/net/ynl: rework async notification handling

Revert patch 1bf70e6c3a53 which modified check_ntf() and instead add a new poll_ntf() with async notification semantics. See patch 2 for a detailed description.

v2 -> v3:
- Simplify timeout logic - thanks Jakub!

v1 -> v2:
- Use python selector module (select / epoll)
- Remove interval parameter from poll_ntf()
- Handle KeyboardInterrupt in cli.py instead of lib code

Donald Hunter (2):
Revert "tools/net/ynl: improve async notification handling" tools/net/ynl: add async notification handling

 tools/net/ynl/cli.py     | 20 +++++++-------
 tools/net/ynl/lib/ynl.py | 57 ++++++++++++++++++++++++----------------
 2 files changed, 44 insertions(+), 33 deletions(-)
Signature · 1 line
2.47.0