All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mat Martineau <mathew.j.martineau at linux.intel.com>
To: mptcp at lists.01.org
Subject: [MPTCP] Re: [PATCH MPTCP 0/5] mptcp: add reset and fastclose option support
Date: Thu, 12 Nov 2020 14:55:31 -0800	[thread overview]
Message-ID: <44ea321-12f2-3c7d-2621-771db8a36fe8@linux.intel.com> (raw)
In-Reply-To: 20201112094817.GK23619@breakpoint.cc

[-- Attachment #1: Type: text/plain, Size: 1968 bytes --]

On Thu, 12 Nov 2020, Florian Westphal wrote:

> Mat Martineau <mathew.j.martineau(a)linux.intel.com> wrote:
>> I had a couple of minor questions on patch 3, but nothing that would keep
>> this from going in to the export branch for some more testing. Might be
>> easier to coordinate with Paolo's refactor changes to the workqueue that
>> way.
>>
>> Do the selftests get any code coverage on this, for example in the
>> new-subflow-not-allowed case?
>
> How would you do that?  I could add a mib counter and check that in the
> script.  But other than that I do not see how to expose any of this to
> the script/mptcp_connect.

I meant it in a different sense: not that there's a specific self test 
result that looks at a count of MPTCP_RST, but that there is some self 
test (such as denying an additional subflow due to a configured limit) 
that would cause MPTCP_RST to be sent and processed. That way the new code 
is at least running during self test and, if memory leak 
checks/lockdep/etc. were enabled we would at least know some portion of 
the MPTCP_RST code was being exercised and checked during the tests even 
if they aren't explictly part of the results.

I should just answer my own question by capturing the pcaps during the 
self tests, but I haven't had a chance to build & run the changes yet and 
was curious if you had already checked.

If there are MIBs that make sense for real-world use, that's great and 
would make for better tests, but I'm not pushing for that now.

>
>> And thanks for looking at packetdrill tests for this,
>> saw the conversation on IRC.
>
> Yes, I plan to send a pull request for fastclose and reset.
>
> As for further direction, I think next step is to add genl notifications
> so mptcpd can learn about subflows that are added/removed, the reset
> code could then be exposed to userspace in the 'subflow was reset'
> case.
>

Good plan. Thanks.

--
Mat Martineau
Intel

             reply	other threads:[~2020-11-12 22:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-12 22:55 Mat Martineau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-12  9:48 [MPTCP] Re: [PATCH MPTCP 0/5] mptcp: add reset and fastclose option support Florian Westphal
2020-11-12  1:44 Mat Martineau

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=44ea321-12f2-3c7d-2621-771db8a36fe8@linux.intel.com \
    --to=unknown@example.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.