From: Donald Hunter <donald.hunter@gmail.com>
To: netdev@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Xiao Liang <shaw.leon@gmail.com>, Jiri Pirko <jiri@resnulli.us>
Cc: donald.hunter@redhat.com, Donald Hunter <donald.hunter@gmail.com>
Subject: [PATCH net-next v3 0/2] tools/net/ynl: rework async notification handling
Date: Wed, 13 Nov 2024 09:08:41 +0000 [thread overview]
Message-ID: <20241113090843.72917-1-donald.hunter@gmail.com> (raw)
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(-)
--
2.47.0
next reply other threads:[~2024-11-13 9:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 9:08 Donald Hunter [this message]
2024-11-13 9:08 ` [PATCH net-next v3 1/2] Revert "tools/net/ynl: improve async notification handling" Donald Hunter
2024-11-13 9:08 ` [PATCH net-next v3 2/2] tools/net/ynl: add async notification handling Donald Hunter
2024-11-15 3:06 ` [PATCH net-next v3 0/2] tools/net/ynl: rework " Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241113090843.72917-1-donald.hunter@gmail.com \
--to=donald.hunter@gmail.com \
--cc=davem@davemloft.net \
--cc=donald.hunter@redhat.com \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shaw.leon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).