From nobody Tue Oct 11 16:45:43 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 4Mn1qq4L3bz4dwmj for ; Tue, 11 Oct 2022 16:45:43 +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 4Mn1qq1dp3z43gc for ; Tue, 11 Oct 2022 16:45:43 +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 4Mn1qq0g5dz120m for ; Tue, 11 Oct 2022 16:45:43 +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 29BGjhLg083937 for ; Tue, 11 Oct 2022 16:45:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29BGjhb8083936 for bugs@FreeBSD.org; Tue, 11 Oct 2022 16:45:43 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 266973] [e1000] incorrect behavior when media and mediaopt are set to 100BaseTX full-duplex Date: Tue, 11 Oct 2022 16:45:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: thomas.pasqualini@orange.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=1665506743; 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; bh=J6nUzWrl+GQDmCZ2rdr9N7zfI1z8I0CdUaZ2rFoFR+c=; b=x7wrraM2W3N/prJfyBhqQ5BIPDfnTdXEohMm4oYyLu5bDWlcXLfWn5wEqyxqYV2SbK4zKI le5HSt2NixehHjY7A0My9ybQAgDTmoipmnSU0OVYCC5uQvz7ehaWkv722e6tU5HM/VznP2 WZ7zZr0R/+wnWl1rr5yrbRwhsVcwm1z38Ci6w7qenUoYMSG6kqNdBemniHf7UkCI1i3CvJ 0hDnrtGcZ00I1xXAfjOyOF02EBV5ApzHlo+6VklaQxUA+ASgct7GsAxqxw+O/bxuqstFjy yfo7v1+s8bURsKsNDDcG+fBrztfxZBRWsd3V3286qK4ER5AuFs5CREcF9QQp5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665506743; a=rsa-sha256; cv=none; b=tS+5MA2oBV7tLSO+KuvgCSVwvQVBhk52a5XXPgPPl7c9mbJvAP1Izvy6QQeDR9SFQ2z3Ke SWZFVhA2FB6NrMI56x76N+YsmXx7u3Of8pIf4n1nYJnDmWER6JD5Cig7I0Z/uHxtxDsx8E qF5klWwHu8HlgijfkpXTs6Tv43PwptthkipkvaPmQmPgPVk/P5yvVHH/U8/qfC4bgl+L/h oQEOBc7T6smWrxKR0fZ7GqIOBKsOo7n3zZFeSl9P2swNDpKqxqxR61+93C2VNC3//MGUAT niHfzkmD7V5hFVwuUa+/rzmEf8CnxPf5gNoBbKJgvxuzbig3Cg9eWcqZRgzMrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266973 Bug ID: 266973 Summary: [e1000] incorrect behavior when media and mediaopt are set to 100BaseTX full-duplex Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: thomas.pasqualini@orange.com Using the e1000 driver, when a igb interface is configured with: `media 100BaseTX mediaopt full-duplex` and connected to a switchport which is configured accordingly with autonegotiation disabled speed =3D 100Mbps duplex =3D full and connected with a straight cable (as it should), the resulting interface status is `no carrier`, while it should not. I am able to reproduce this behavior with both Cisco and Netgear switches. Switching back the igb to `media auto` entails the status to become active,= but with a duplex resolved to `half`, as it is expected in this case. Switching the igb to `media 100BaseTX mediaopt full-duplex`, and the switch= port to autoneg, entails both side to be up (ie igb status: active), but the dup= lex to be resolved as `full` on the switch side, while it should be resolved to 'half' instead in this case. To be clean the configuration should be either set to autoneg on both sides, either forced to 100-full on both sides. In this second case, when an igb interface is forced to media `100BaseTX mediaopt full-duplex` and connected= to a switchport also set to `100-full`, the igb status remains at `no-carrier` while the expected one is `active`. The same configuration with other NIC drivers, e.g. bge or bce, entails a correct behavior. --=20 You are receiving this mail because: You are the assignee for the bug.=