From owner-freebsd-stable@freebsd.org Thu Oct 8 06:57:09 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 293B2447878 for ; Thu, 8 Oct 2020 06:57:09 +0000 (UTC) (envelope-from sreeharisreedev1@gmail.com) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C6MT026hRz4fNy; Thu, 8 Oct 2020 06:57:08 +0000 (UTC) (envelope-from sreeharisreedev1@gmail.com) Received: by mail-ej1-x62c.google.com with SMTP id u8so6536317ejg.1; Wed, 07 Oct 2020 23:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=9SJBRhAvdKMC8gbsTXESRrmhuchl8/jci7OjlX+9MEg=; b=T/C9FmXF09Gt7vhZ51jU0QazbdD98iVukCWM0MxFUIQNPn57VKNswW0fTgaKeIed+w uWRn4+HrgjvezOaGA8ZqX7dtRaUhjXT1reW9Le8kc5wAHi9yfPG3a+CWnVxaleIl8JWg M4114Zp5CCTwV6CzUhrh2OAqtlu5RoJDrCwWLQxGQNchA/MFvmUDTuG4rQf70ZT2cE9w wKig4Pp8sDu+uuiseitATtvD6q51qo5CsfKrznHg7Jd0I2lUTX6SUbtaNayBUHdlOxlT jHjxCm4ftb+HOtSQGjhkHKYGYpP08uIYFCEptls0bSvU4IEQ5dZTWBKhYJ/jjlbsBQW+ LJGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=9SJBRhAvdKMC8gbsTXESRrmhuchl8/jci7OjlX+9MEg=; b=INu0WnvDPRdpN7yNNsrin5aGJho3UrPAgQwNiaVKIWlTvh2yLCDDuydYL/08B73Ip1 iqUh+0SiYu9JxmPinExeozLsQlrh+1qSa7hf4FiIBmP7LJ5jxbR4SkopB9XrYpMIP4bZ uaNSxhYh6nQfjPIDQUVMpJZzW4Ua3LdqwLlyQ22E1YIvE2giRjPT7DxmMDlO8QHWJV8Z g5CLTyYRNMG2gYSmQghku/ZwWxOg16bjJbD3jgLHo6wwHXjb9kPdl5HDlkPQ6L2IOCH0 dCEnlqZ1ysvw1251fhuUmvhMJ1bIGLJ0o3yYtHgxl5jWee8iza8vmXadwV+UcMjUHxy9 J0Gw== X-Gm-Message-State: AOAM532SEpWs4Mi//RS7Ro00LIHilVi+WWcu2O01VMKT7z012ke5kvZ8 iS+Nc/UUgjBQFoWwYiG6sZXfCXzX62Kf6+m83KFioBgHDBA= X-Google-Smtp-Source: ABdhPJymtOWj0x6IqwiKpqi6dcc0zfkvUMfaMOtvLGscwXcP06V24NHOZK7/5p1pbtvhpkGCiAJr57xc+azENk0K+0U= X-Received: by 2002:a17:906:2dd7:: with SMTP id h23mr7507930eji.175.1602140226461; Wed, 07 Oct 2020 23:57:06 -0700 (PDT) MIME-Version: 1.0 References: <20201007223858.GS4213@funkthat.com> <20201008043602.GV53210@home.opsec.eu> <20201008063620.GT4213@funkthat.com> In-Reply-To: <20201008063620.GT4213@funkthat.com> From: sreehari Date: Wed, 7 Oct 2020 23:56:54 -0700 Message-ID: Subject: Re: 12.2-RC1: RTL8251/8153 1000BASE-T seemingly stuck at 100Mbps To: Kurt Jaeger , sreehari , "FreeBSD-stable@FreeBSD.org" X-Rspamd-Queue-Id: 4C6MT026hRz4fNy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=T/C9FmXF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sreeharisreedev1@gmail.com designates 2a00:1450:4864:20::62c as permitted sender) smtp.mailfrom=sreeharisreedev1@gmail.com X-Spamd-Result: default: False [-3.44 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-0.99)[-0.985]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62c:from]; NEURAL_HAM_SHORT(-0.43)[-0.435]; NEURAL_HAM_MEDIUM(-1.02)[-1.016]; FREEMAIL_TO(0.00)[freebsd.org,gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[FreeBSD-stable]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2020 06:57:09 -0000 I see. Since I have the hardware and freebsd head seems broken on my laptop, I'll try compiling stable/12 with the ure patch from head within the next few days. I have gigabit internet and other machines to test the ethernet with the full 1000Mbps. Are there any actions you suggest I take to benchmark or stress test the hardware or make sure everything is working properly? On Wed, Oct 7, 2020, 23:36 John-Mark Gurney wrote: > Kurt Jaeger wrote this message on Thu, Oct 08, 2020 at 06:36 +0200: > > > sreehari wrote this message on Tue, Oct 06, 2020 at 21:02 -0700: > > > > I have a USB C hub that supports gigabit ethernet under any other OS, > > > > but under FreeBSD it seems to detect it properly, but I never get > > > > speeds exceeding 100Mbps transfer rate on the whole thing. Is this a > > > > known issue? Also is there any way to check what the perceived link > > > > speed is? I've attached dmesg.boot if that helps. > > > > > > This is a known issue w/ the ure driver on FreeBSD. This has been > > > fixed in -current, and in a few months I'll look at merging it to > > > stable/12, but it definitly will not make the 12.2 release: > > > https://reviews.freebsd.org/D25809 > > > > The changes seem to be limited to the driver itself -- is some > > structural change in 13 stopping a merge to 12.2 ? > > The issue is that IMO, it's too close to the release of 12.2. It only > recently got committed to 13, and so hasn't had enough time to be tested > in more environments than mine. There have been a few others that have > tested it. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." >