[Bug 258057] muge(4) crashes with large tx batches

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 26 Aug 2021 11:18:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258057

            Bug ID: 258057
           Summary: muge(4) crashes with large tx batches
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: dan.kotowski@a9development.com

When initiating a large number of flows, the muge(4) driver seems to fall over
and the interface flaps until physically removed from and reseated in the USB
port.

I've been able to reliably reproduce this with the following:

* freebsd-src/main@9781c28c6d63
* ports/main@58a8a0aa37a8
* poudriere bulk -j $JAIL -p $PORTS devel/gh

The devel/gh port seems to initiate a large number of outbound TCP sessions,
which seem to trash the TX queue to the point of making the interface unusable.

* dmesg flooded with `ue0: link state changed to DOWN|UP`
* ping returns "sendto: No buffer space available" until exit

Hardware: https://bsd-hardware.info/?probe=8a7b477512

-- 
You are receiving this mail because:
You are the assignee for the bug.