Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: Stefan Metzmacher <metze@samba.org>
To: Tom Talpey <tom@talpey.com>, David Howells <dhowells@redhat.com>
Cc: Steve French <smfrench@gmail.com>,
	Namjae Jeon <linkinjeon@kernel.org>,
	Long Li <longli@microsoft.com>, Hyunchul Lee <hyc.lee@gmail.com>,
	CIFS <linux-cifs@vger.kernel.org>
Subject: Re: RDMA (smbdirect) testing
Date: Fri, 27 May 2022 10:27:18 +0200	[thread overview]
Message-ID: <69922c7e-d463-1f98-d0a0-7c7822fae1dc@samba.org> (raw)
In-Reply-To: <3d0f1538-629e-d4a7-8ac4-500f908b0c2a@talpey.com>


Hi Tom,

>>>> Can you share the capture file?
>>>
>>> See attached.
>>>
>>>> What version of wireshark are you using?
>>>
>>> wireshark-3.6.2-1.fc35.x86_64
>>> Wireshark 3.7.0 (v3.7.0rc0-1686-g64dfed53330f)
>>
>> Works fine for me with 3.6.2-2 on ubuntu and also a recent wireshark master version.
>>
>> I just fixed a minor problem with fragmented iwrap_ddp_rdma_send messages in
>> frames 91-96. Which seem to happen because ksmbd.ko negotiated a preferred send size of 8192,
>> which is accepted by the cifs.ko. Windows only uses 1364, which means each send operation fits into
>> a single ethernet frame...
> 
> That was not an accident. :)
> 
> There's a talk somewhere in which I mentioned how we tried to optimize
> the smbdirect fragment size and always landed back on 1364.

Yes, I remember 4096/3 :-)

> However, this is only an implementation choice, the protocol supports a wide
> range. So it's appropriate for wireshark to be accommodating.

Yes, but the past 20 years showed more than once that, everything but matching
Windows just leads to bugs, because of untested code paths.

>> See https://gitlab.com/wireshark/wireshark/-/merge_requests/7025
> 
> I get a blank frame when I view both changes on this link. Do I need
> a gitlab account??

I don't think so, I'm seeing it even without being logged in.

Does https://gitlab.com/wireshark/wireshark/-/merge_requests/7025.patch
or https://gitlab.com/wireshark/wireshark/-/merge_requests/7025/diffs
work?

metze

  reply	other threads:[~2022-05-27  8:27 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19 20:41 RDMA (smbdirect) testing Steve French
2022-05-19 23:06 ` Namjae Jeon
2022-05-20  6:01   ` Hyunchul Lee
2022-05-20 18:03     ` Tom Talpey
2022-05-20 18:12       ` David Howells
2022-05-21 11:54         ` Tom Talpey
2022-05-22 23:06           ` Namjae Jeon
2022-05-23 13:45             ` Tom Talpey
2022-05-23 15:05               ` Namjae Jeon
2022-05-23 16:05                 ` Tom Talpey
2022-05-23 19:17                   ` Long Li
2022-05-24  1:01                     ` Namjae Jeon
2022-05-24 21:08                       ` Long Li
2022-06-02 23:32                         ` Namjae Jeon
2022-06-03  0:07                           ` Long Li
2022-06-07 17:26                             ` Tom Talpey
2022-06-07 22:25                               ` Namjae Jeon
2022-05-24  0:59                   ` Namjae Jeon
2022-05-24  9:16                   ` David Howells
2022-05-24 17:49                     ` Steve French
2022-05-24 18:12                       ` Tom Talpey
2022-05-25  9:29                 ` David Howells
2022-05-25  9:41                   ` David Howells
2022-05-25 10:00                     ` Stefan Metzmacher
2022-05-25 10:20                       ` David Howells
2022-05-26 14:56                         ` Stefan Metzmacher
2022-05-26 15:52                           ` Tom Talpey
2022-05-27  8:27                             ` Stefan Metzmacher [this message]
2022-05-27 11:46                               ` David Howells
2022-05-27 13:45                                 ` Stefan Metzmacher
2022-05-27 22:22                                   ` David Howells
2022-08-02 15:10                   ` David Howells
2022-08-03  0:55                     ` Namjae Jeon
2022-08-03  2:36                       ` Namjae Jeon
2022-08-03  6:16                         ` David Howells
     [not found]           ` <747882.1653311226@warthog.procyon.org.uk>
2022-05-23 13:37             ` Tom Talpey
2022-05-23 14:03           ` Stefan Metzmacher
2022-05-25  9:35             ` David Howells
2022-05-20  6:20   ` David Howells
2022-05-20  8:37     ` Namjae Jeon
2022-05-24 20:12 ` David Howells
2022-05-27 10:33 ` UAF in smbd_reconnect() when using softIWarp David Howells

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=69922c7e-d463-1f98-d0a0-7c7822fae1dc@samba.org \
    --to=metze@samba.org \
    --cc=dhowells@redhat.com \
    --cc=hyc.lee@gmail.com \
    --cc=linkinjeon@kernel.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=longli@microsoft.com \
    --cc=smfrench@gmail.com \
    --cc=tom@talpey.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