From nobody Fri Mar 04 21:45:00 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A11CD1A06EFD for ; Fri, 4 Mar 2022 21:45:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K9Lx83RJmz3R5X for ; Fri, 4 Mar 2022 21:45:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 50F25141BC for ; Fri, 4 Mar 2022 21:45:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 224Lj0VP065468 for ; Fri, 4 Mar 2022 21:45:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 224Lj0e0065467 for bugs@FreeBSD.org; Fri, 4 Mar 2022 21:45:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262316] em(4) does not autonegotiate when fixed media is set Date: Fri, 04 Mar 2022 21:45:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fbsd@opal.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646430300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SOvGiOn7sZnSmZ+o/Aj0B38Nm73oajhfBBIdlKeIvYc=; b=uUDgvMHDbKY6G47VRKnDjxjXq3+VQRJkO+2e95SiwLImhVXi+0TqPNUOZJgly4xVNkl+Df iZOg/o/g/iGA3gBIgXt3/fEPaON+mDA7ebM50yVjDZyba54yeGOLXNORLl8wH3Q9QqQklq /4xrpqQvNQtVY6riVhdCXkcZJMNa+cz18ufbeycsH1LdNLDeHjB+shRAw8rGkM/NiHIRvx ayyZrEWGgErdZoTxNyKRLGbZfAtqLeK4/5T81NE7qZzpbhb6BxcrCHPYsPH2JRhe4R5Qrs iCOJ7IK6KFwAMHiQz99xZyaOUuSwWsQAMDAWFK7/CyiCodKsz79kL0LabhGNKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646430300; a=rsa-sha256; cv=none; b=vxd4OWNXByqc8PrsvEpfbjMBluyNBGT0ta52BITnvyRKTQeEqI6eIDjiIBngkPD2srhO7M SiEkk9fhXEJdPyLP02bgzWNaVxgm4WdLGiBjgQ7T371iVdTIkuFzEouEHaX0XwxgeYAX1m QnJNIaym8K2EGxGJOriGcWwigxzSLaNkX4xl9xBqXd3g3yEO006kS4j2AksNMG72vTY1JL 4kmDWxX2hMeiu2wHTc96KRsEz5LTBWwkAgpxkt4g7XtF+3JBndl/5uAXZGo40oUeTDPiHa JYYIScYORPS49oUDc7ZKGHR7PZltREtqRRmz+aIq+CDY9CS1Oe8EXzTuOQhX7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262316 --- Comment #6 from J.R. Oldroyd --- (In reply to Stefan E=C3=9Fer from comment #4) To be clear, I would also oppose any commit that violates the Ethernet standard. I do now have the latest standard here, the 2018 version, in addition to my 2008 version. The standard does say that auto-negotiation is optional. And it defines half-duplex mode as the choice for when a peer does not respond to autoneg.= =20 This was to allow very old devices that did not have autoneg support to sti= ll work with newer devices that do have autoneg. But the statements: > the standard required a device to either participate in auto-negotiation = or to be manually configured. > A manually configured Ethernet device must ignore the auto-negotiation r= equest. are not correct by my reading. I do not see such statements. As I read it, a manually configured device may (in fact, it is highly recommended to) still participate in auto-negotiaton but it should limit wh= at capabilities it advertizes to just those that have been configured. That w= ay, the other end can match the configured capability if it has them. If not, autoneg will fail and the non-manually configured end is required to go to half-duplex which may result in a duplex mismatch. The standard requires participation in autoneg when manually configured for 1000base and that is already implemented in the em(4) driver. It is option= al but not prohibited for 100base and 10base. By my reading, it is "highly recommended" that a device participate in autoneg if it has the capability. --=20 You are receiving this mail because: You are the assignee for the bug.=