From owner-freebsd-stable@freebsd.org Tue Dec 29 23:36:08 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 E1F144CE2B7 for ; Tue, 29 Dec 2020 23:36:08 +0000 (UTC) (envelope-from sreeharisreedev1@gmail.com) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 4D59lq58fLz3pBk; Tue, 29 Dec 2020 23:36:07 +0000 (UTC) (envelope-from sreeharisreedev1@gmail.com) Received: by mail-lf1-x12a.google.com with SMTP id l11so34259443lfg.0; Tue, 29 Dec 2020 15:36:07 -0800 (PST) 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=98hLZAq+s7QAJABo9eDexqlPsqNrXcnHDXS3zsEXzo0=; b=aftIs0aGklK3XFC1t09YMGckoBnY9lUvrBAE/thjNkB3VGosbuy/jIyx1EoWdAvLNd qDpznty9NYloPip3kTUGY6q+8CMK7bDFBAJHfM2HWEIdrtZe4uHpD3eP7IyMpZsmoCW6 Dtr3lFK2CRCw4NTSSvJTiQfLeM2IWN/h1PxczCYUBWCnjNTLSML9DrvffQh6YaV82hEc 3XyDGm8fjvda+37OVSRPoualvizwU3he9tawlVlyKp1BRp50ydZ/3u0/6K0t757WXoq0 ODq0rR0mKjuFsPJhuexJPsSeRjDwz1BKHVKjZYUUe4t6/fA7KewyRyD8m0Ffq9h+FeRw 12kg== 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=98hLZAq+s7QAJABo9eDexqlPsqNrXcnHDXS3zsEXzo0=; b=mNAiTAEQx5/rGoZlYYbNAbSaaouNpc2fSvh6cekntiXLt3Ax5PQojYkKmrQ6Ic++Hc UCRRCALtfdW8zwAJ5Hg1J8k7bJCjyjfemWljPrbxv6te4fHAlfnBBWtcVCpOBrwdLEMy wQNS0x7oQm19kuQwFce+iTppZdQwPasmHna1qME++F8uyhnua3X3dxWBRa+ZKvDDWr3R X0dMHW9RY7TiN3Yv1OLvn7GTFcrcmCq6prSxPji/4XC+CWG+gy5iUYhYhy5lRWVqFgFy r6f05CkXWXQzcqMunwGSdFyR8UL7CdCjhKOcuP6R8t7YR8/3JRJFdrj8SIkh1rYQuY+F I2mw== X-Gm-Message-State: AOAM532kczpIK6H+ynisBUQkQ4kC9M8rPC1gbEtlsbKIFmKB8SqwSOQo nN01omk1nsHbIs31K5u43OemkMFs81XW9+3n/bQRh24h7G0= X-Google-Smtp-Source: ABdhPJzPydqPEpApKPtgG3NlWUU9Pp6erpU6sOFK4nWeYAejZdxQZGbk7wQdjiTgdCVdPV9CQW2jXVldFFMCkJzXLfY= X-Received: by 2002:a17:907:206a:: with SMTP id qp10mr48353898ejb.432.1609284614285; Tue, 29 Dec 2020 15:30:14 -0800 (PST) MIME-Version: 1.0 References: <20201007223858.GS4213@funkthat.com> <20201008043602.GV53210@home.opsec.eu> <20201008063620.GT4213@funkthat.com> <20201008075314.GU4213@funkthat.com> <20201029193613.GL31099@funkthat.com> In-Reply-To: <20201029193613.GL31099@funkthat.com> From: sreehari Date: Tue, 29 Dec 2020 15:30:03 -0800 Message-ID: Subject: Re: 12.2-RC1: RTL8251/8153 1000BASE-T seemingly stuck at 100Mbps To: sreehari , Kurt Jaeger , "FreeBSD-stable@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4D59lq58fLz3pBk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aftIs0aG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sreeharisreedev1@gmail.com designates 2a00:1450:4864:20::12a as permitted sender) smtp.mailfrom=sreeharisreedev1@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::12a:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::12a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[FreeBSD-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2020 23:36:08 -0000 Sounds good! On Thu, Oct 29, 2020 at 12:36 PM John-Mark Gurney wrote: > > sreehari wrote this message on Thu, Oct 08, 2020 at 16:04 -0700: > > ok I tried cherry picking the commit from head to stable/12 according to > > one person's suggestion and I get some hunk failed's when i try patch -C > > -p0. Is there any way I can simulate the MFC? Sorry I'm just not familiar > > with svn > > Sorry, I missed this reply... I'll be merging the change into stable/12 > in the comming week... > > > On Thu, Oct 8, 2020, 00:53 John-Mark Gurney wrote: > > > > > sreehari wrote this message on Wed, Oct 07, 2020 at 23:56 -0700: > > > > 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? > > > > > > Nothing in particular... iperf or iperf3 works well... do normal > > > transfers and make sure you don't see packet drops that are unexpected > > > (checksumming was enabled)... If you have vlans, use those... Just be > > > aware of any unexpected behaviors.. > > > > > > Thanks for the additional testing! And letting mek now that it works > > > is useful! > > > > > > > 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."