All of lore.kernel.org
 help / color / mirror / Atom feed
From: Victor Nogueira <victor@mojatatu.com>
To: jhs@mojatatu.com, xiyou.wangcong@gmail.com, davem@davemloft.net,
	kuba@kernel.org
Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com,
	jiri@resnulli.us, Victor Nogueira <victor@mojatatu.com>
Subject: [PATCH net 0/2] Notify user space if any actions were flushed before error
Date: Thu, 23 Jun 2022 11:07:40 -0300	[thread overview]
Message-ID: <20220623140742.684043-1-victor@mojatatu.com> (raw)

This patch series fixes the behaviour of actions flush so that the
kernel always notifies user space whenever it deletes actions during a
flush operation, even if it didn't flush all the actions. This series
also introduces tdc tests to verify this new behaviour.

Victor Nogueira (2):
  net/sched: act_api: Notify user space if any actions were flushed
    before error
  selftests: tc-testing: Add testcases to test new flush behaviour

 net/sched/act_api.c                           | 22 ++++--
 .../tc-testing/tc-tests/actions/gact.json     | 77 +++++++++++++++++++
 2 files changed, 91 insertions(+), 8 deletions(-)

-- 
2.36.1


             reply	other threads:[~2022-06-23 14:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-23 14:07 Victor Nogueira [this message]
2022-06-23 14:07 ` [PATCH net 1/2] net/sched: act_api: Notify user space if any actions were flushed before error Victor Nogueira
2022-06-23 15:10   ` Jamal Hadi Salim
2022-06-23 14:07 ` [PATCH net 2/2] selftests: tc-testing: Add testcases to test new flush behaviour Victor Nogueira
2022-06-23 15:12   ` Jamal Hadi Salim
2022-06-28  5:00 ` [PATCH net 0/2] Notify user space if any actions were flushed before error patchwork-bot+netdevbpf

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=20220623140742.684043-1-victor@mojatatu.com \
    --to=victor@mojatatu.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=xiyou.wangcong@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.