netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Arjun Mehta <arjunmeht@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Rx issues with Linux Bridge and thunderbolt-net
Date: Thu, 7 Dec 2023 14:37:58 -0800	[thread overview]
Message-ID: <20231207143758.72764b9f@hermes.local> (raw)
In-Reply-To: <C6FFF684-8F05-47B5-8590-5603859128FC@gmail.com>

On Thu, 7 Dec 2023 12:57:08 -0700
Arjun Mehta <arjunmeht@gmail.com> wrote:

> Hi there, I’d like to report what I believe to be a bug with either Linux Bridge (maybe and/or thunderbolt-net as well).
> 
> Problem: Rx on bridged Thunderbolt interface are blocked
> 
> Reported Behavior:
> Tested on Proxmox host via iperf3, between B550 Vision D-P and MacBook Pro (2019 intel). On a direct interface, thunderbolt bridge Tx and Rx speeds are equal and full speed (in my case 9GB/s each). However, when a thunderbolt bridge is passed through via Linux Bridge to a VM or container (in my case a Proxmox LXC container or VM) the bridge achieves full Tx speeds, but Rx speeds are reporting limited to ~30kb/s
> 
> Expected:
> The VM/CT should have the same general performance for Tx AND Rx as the host
> 
> Reproducing:
> - Setup for the bridge was done by following this guide: https://gist.github.com/scyto/67fdc9a517faefa68f730f82d7fa3570
> - Both devices on Thunderbolt interfaces have static IPs
> - VM is given the same IP, but unique MAC address
> - BIOS has Thunderbolt security mode set to “No security”
> 
> Further reading:
> The problem is outlined more with screenshots and further details in this Reddit post: https://www.reddit.com/r/Proxmox/comments/17kq5st/slow_rx_speed_from_thunderbolt_3_port_to_vm_over/.
> 
> Please let me know if there is any further action I can do to help investigate or where else I can direct the bug/concern

Most likely this is a hardware issue on the thunderbolt interface where it will not
allow sending with a different source MAC address.  Some Wifi interfaces have this
problem.

Is Promox using a kernel from upstream Linux repository directly.
Netdev developers are unwilling to assist if there are any non-upstream kernel modules in use.


  reply	other threads:[~2023-12-07 22:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 19:57 Rx issues with Linux Bridge and thunderbolt-net Arjun Mehta
2023-12-07 22:37 ` Stephen Hemminger [this message]
2023-12-08 17:30   ` Arjun Mehta
2023-12-08 17:34     ` Arjun Mehta
2023-12-08 17:37     ` Stephen Hemminger

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=20231207143758.72764b9f@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=arjunmeht@gmail.com \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).