All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: Mat Martineau <martineau@kernel.org>, Geliang Tang <geliang@kernel.org>
Cc: mptcp@lists.linux.dev, Geliang Tang <tanggeliang@kylinos.cn>
Subject: Re: [PATCH mptcp-next v12 10/15] selftests: mptcp: dump userspace addrs list
Date: Fri, 16 Feb 2024 11:30:38 +0100	[thread overview]
Message-ID: <81ba80af-b387-49e1-b720-92cb750e98ec@kernel.org> (raw)
In-Reply-To: <3478f286-365b-1bb3-1f9f-9b6611888888@kernel.org>

Hi Mat, Geliang,

On 15/02/2024 23:57, Mat Martineau wrote:
> On Wed, 14 Feb 2024, Geliang Tang wrote:
> 
>> From: Geliang Tang <tanggeliang@kylinos.cn>
>>
>> This patch adds two new tests for userspace pm dump address and subflow.
>> Use userspace_pm_add_addr() and userspace_pm_add_sf() to add an address
>> and a suflow.
>>
> 
> Hi Geliang -
> 
> The kernel code looks good to me, but I realized the selftests need some
> changes.
> 
> In order to run the new tests with old kernels (without userspace dump
> address support), mptcp_lib_kallsyms_has checks are needed so the new
> functionality is skipped on old kernels (right Matthieu?).

Good point!

I didn't check what can be done, but yes, something needs to be done:
looking for a counter, a symbol, the output of a command, etc.

> Also, since our tests already take a long time to run, could the
> userspace dump addrs checks be integrated with an existing test like
> "userspace pm add & remove address"?

Good idea! (maybe even more tests doing the same actions, but checking
different things, could be merged with a new title)

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.

  reply	other threads:[~2024-02-16 10:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14 11:39 [PATCH mptcp-next v12 00/15] dump for userspace pm Geliang Tang
2024-02-14 11:39 ` [PATCH mptcp-next v12 01/15] mptcp: export mptcp_genl_family & mptcp_nl_fill_addr Geliang Tang
2024-02-14 11:39 ` [PATCH mptcp-next v12 02/15] mptcp: implement mptcp_userspace_pm_dump_addr Geliang Tang
2024-02-14 11:39 ` [PATCH mptcp-next v12 03/15] mptcp: add token for get-addr in yaml Geliang Tang
2024-02-15 23:00   ` Mat Martineau
2024-02-14 11:39 ` [PATCH mptcp-next v12 04/15] mptcp: dump addrs in userspace pm list Geliang Tang
2024-02-14 11:39 ` [PATCH mptcp-next v12 05/15] mptcp: check userspace pm flags Geliang Tang
2024-02-14 11:39 ` [PATCH mptcp-next v12 06/15] selftests: mptcp: add userspace pm subflow flag Geliang Tang
2024-02-14 11:39 ` [PATCH mptcp-next v12 07/15] selftests: mptcp: add token for dump_addr Geliang Tang
2024-02-14 11:39 ` [PATCH mptcp-next v12 08/15] selftests: mptcp: add check_output helper Geliang Tang
2024-02-14 11:40 ` [PATCH mptcp-next v12 09/15] selftests: mptcp: dump after creating id 0 subflow Geliang Tang
2024-02-14 11:40 ` [PATCH mptcp-next v12 10/15] selftests: mptcp: dump userspace addrs list Geliang Tang
2024-02-15 22:57   ` Mat Martineau
2024-02-16 10:30     ` Matthieu Baerts [this message]
2024-02-14 11:40 ` [PATCH mptcp-next v12 11/15] mptcp: add userspace_pm_lookup_addr_by_id helper Geliang Tang
2024-02-14 11:40 ` [PATCH mptcp-next v12 12/15] mptcp: implement mptcp_userspace_pm_get_addr Geliang Tang
2024-02-14 11:40 ` [PATCH mptcp-next v12 13/15] mptcp: get addr in userspace pm list Geliang Tang
2024-02-14 11:40 ` [PATCH mptcp-next v12 14/15] selftests: mptcp: add token for get_addr Geliang Tang
2024-02-14 11:40 ` [PATCH mptcp-next v12 15/15] selftests: mptcp: userspace pm get addr tests Geliang Tang
2024-02-14 12:37   ` selftests: mptcp: userspace pm get addr tests: Tests Results MPTCP CI
2024-02-14 12:48   ` MPTCP CI

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=81ba80af-b387-49e1-b720-92cb750e98ec@kernel.org \
    --to=matttbe@kernel.org \
    --cc=geliang@kernel.org \
    --cc=martineau@kernel.org \
    --cc=mptcp@lists.linux.dev \
    --cc=tanggeliang@kylinos.cn \
    /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.