[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zsxuh3WR3qrOWzaq@shredder.mtl.com>
Date: Mon, 26 Aug 2024 15:01:11 +0300
From: Ido Schimmel <idosch@...dia.com>
To: Petr Machata <petrm@...dia.com>
Cc: Shuah Khan <shuah@...nel.org>, linux-kselftest@...r.kernel.org,
netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
Amit Cohen <amcohen@...dia.com>,
Benjamin Poirier <bpoirier@...dia.com>,
Hangbin Liu <liuhangbin@...il.com>,
Vladimir Oltean <vladimir.oltean@....com>, mlxsw@...dia.com
Subject: Re: [RFC PATCH net-next 3/5] selftests: mlxsw: sch_red_core: Use
defer for stopping traffic
On Thu, Aug 22, 2024 at 03:49:42PM +0200, Petr Machata wrote:
> Tests interrupted part-way through leave behind a running mausezahn. Use
> defer to schedule a traffic stop after traffic is started. Mark the
> functions that run traffic as defer-scoped, such that the traffic is
> stopped right after the function returns.
>
> Signed-off-by: Petr Machata <petrm@...dia.com>
Reviewed-by: Ido Schimmel <idosch@...dia.com>
Powered by blists - more mailing lists