lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8852211-e3ba-4c9e-a9ab-798e1b8d802e@lunn.ch>
Date: Wed, 23 Jul 2025 15:05:27 +0200
From: Andrew Lunn <andrew@...n.ch>
To: yicongsrfy@....com
Cc: andrew+netdev@...n.ch, davem@...emloft.net, linux-usb@...r.kernel.org,
	netdev@...r.kernel.org, oneukum@...e.com, yicong@...inos.cn
Subject: Re: [PATCH] usbnet: Set duplex status to unknown in the absence of
 MII

On Wed, Jul 23, 2025 at 09:29:26AM +0800, yicongsrfy@....com wrote:
> On Tue, 22 Jul 2025 15:06:37 +0200	[thread overview] Andrew <andrew@...n.ch> wrote:
> >
> > On Tue, Jul 22, 2025 at 10:09:33AM +0800, yicongsrfy@....com wrote:
> > > Thanks for your reply!
> > >
> > > According to the "Universal Serial Bus Class Definitions for Communications Devices v1.2":
> > > In Section 6.3, which describes notifications such as NetworkConnection and ConnectionSpeedChange,
> > > there is no mention of duplex status.In particular, for ConnectionSpeedChange, its data payload
> > > only contains two 32-bit unsigned integers, corresponding to the uplink and downlink speeds.
> >
> > Thanks for checking this.
> >
> > Just one more question. This is kind of flipping the question on its
> > head. Does the standard say devices are actually allowed to support
> > 1/2 duplex? Does it say they are not allowed to support 1/2 duplex?
> >
> > If duplex is not reported, maybe it is because 1/2 duplex is simply
> > not allowed, so there is no need to report it.
> >
> 
> No, the standard does not mention anything about duplex at all.

O.K. So please set duplex to unknown.

     Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ