[Bug 285532] ure driver needs a stop/init when changing the mtu
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Mar 2025 17:38:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285532
Bug ID: 285532
Summary: ure driver needs a stop/init when changing the mtu
Product: Base System
Version: 13.4-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: usb
Assignee: usb@FreeBSD.org
Reporter: mibelanger@qnx.com
In ure_ioctl, the handling of SIOCSIFMTU should be changed from
if (if_getmtu(ifp) != ifr->ifr_mtu)
if_setmtu(ifp, ifr->ifr_mtu);
to
if (if_getmtu(ifp) != ifr->ifr_mtu) {
/* call stop/init as the mtu is written to the HW */
ure_stop(ue);
if_setmtu(ifp, ifr->ifr_mtu);
ure_init(ue);
}
There are HW registers that need to be updated when the MTU is changed.
--
You are receiving this mail because:
You are the assignee for the bug.