From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,URIBL_CSS autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4000 invoked from network); 2 Aug 2022 08:50:24 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 2 Aug 2022 08:50:24 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 56B2E3428E for ; Tue, 2 Aug 2022 04:50:23 -0400 (EDT) (envelope-from bounce.mM7a798f1d29caac2cbe00034f.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 51E402F5F96A; Tue, 2 Aug 2022 04:50:23 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1659430223; bh=0JI67aJgTpP9YDTv3PIE+NMUM3Efa09rsWNvB f++zlc=; b=hkmmPJJ+cGhS+h2WpBgxmEipygUSCVIKBwnXOFb78OYQmpE80ngMB 0wEWdk4KVYAKc91mPwELo17/midW6KRAvUwtAQQE7p1rtOI7AOdD7VhmxfZjLNxi cKg1ngrUELJFN49vyv4YqKKQMlkUgrZsCdCX+G06qSDyye2ekzpmDs= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1659430223; b=BAsjbLvi4efiQvV86eT85HM9FxshZcHtHHL7CVu+GtAw0lWlzE bOtjwohEG/X3wqSqjUMm1ZrbBWZb/PR+VjNzZSlI3Xil4FIAHIAKOLwAy0p00g5z aJpEYKUyt8VzhbGW82RxTMahpLWOIInBPWq2KyxSc5jOKle/NTRIXHyyQ= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:from:date:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t= 1659430223; x=1659516623; bh=O/CBj6fdIcqt1BDBAeYbmR+yG9emSUkvHr6 wcyuTyIo=; b=T97pwbe7dKjWMe3j4d8YkJRiI668FcprC6vmFfTiULa3zdibQE2 q6OY9TgkZ8HCAvSM4Zh7m/CnTCan5ZvATxmEr0wQ+iAcDciRgQO7S1cF6gJ7on+I URxg78S5yt3OScRw8mOJqIJKQ3oyw9wHs1Gj57SarStHHRVosxcEjfDI= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id DB174166C43F for <9fans@9fans.net>; Tue, 2 Aug 2022 04:50:11 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 96124730FDA; Tue, 2 Aug 2022 04:50:11 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1659430211; b=C/qjHTalSin4u+vCOmxCSB1ccnbj4yxW3Qs8HYBvaO9tSHRSVn eXU4XxvZmZWhqUj5iUi+4Vye6kgDeKYYl2mC1l+n+/zbKdK38txNwMfEJx9Kx/OO EY9dH0x1hLMEGRp1bwV1RdXkfsAEK73ujNuKVUIDJ9v/jWJ+JUGkWWaRKBdiNoZC xzs1zv1ZYGIBmVBtLCudgOAObf0M2PKM4gZJNxc2pvKvKzEwW8SkM7ckCyILaj2q uDH0wx1L9msGOy8V2g0Yvq1GZ94gCbAdnIrqCAiPn2gTzLPMfJRRCxuLViRsl8GQ 0CDwKtpK6EkXOiPh5uJrynhuZVWQkyEoRrLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1659430211; bh=dIwtxkPOal53iwCI9VBm6AfbXCPtLjTH42KURjnsKsA=; b= UAR5131vn68nKt+s7seB0nX4lLDxxJ5dHhucbnwe8GSaoTW156MVmD/G7R4WB4Oe CQ7WRbH1NNXjKrawHbnzi0YgSFZY/QP8MpCLNQPqvxzFMvFspkq1VOYx5vgyHBBF FBsb2wK8n/GYMpG/QQ+cMGG0vP2WTwsBrMp21XoBYsewdNBlhM7u2SsVr8FX1DU9 uGRqvMMOKHHQOOB+0yWf5DFBBddboUNEU0EUwbs9YrVlOd4AF1ZMEfdpmtkm+APa /t7Sg3aOMlkscZbDjFV0Ipo2bdsk+PWePp3fc1Uoae9o8cYRrJUKZqZwrGRZPoZr My/rjDQBtBuyw08nwFF4HA== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvhedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuhf ffjgggtgfgsehtjehjtddttddvnecuhfhrohhmpeftihgthhgrrhguucfoihhllhgvrhcu oeelfhgrnhhssehhrghmnhgrvhhovgdrtghomheqnecuggftrfgrthhtvghrnhepvedtfe dtjeefhfellefhtddthffhgffhfedufeetgffhheefhffftedvheegjeeunecukfhppeeg iedrvdefhedrvddvjedrvdegpdekkedrleejrddvjedrkeefnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehinhgvthepgeeirddvfeehrddvvdejrddvgedphhgvlhho pehmgidvrdhmhihthhhitgdqsggvrghsthhsrdgtohhmpdhmrghilhhfrhhomhepoehmih hllhgvrheshhgrmhhnrghvohgvrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (hamnavoe.com: Sender is authorized to use 'miller@hamnavoe.com' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="miller@hamnavoe.com"; helo=mx2.mythic-beasts.com; client-ip=46.235.227.24 Received: from mx2.mythic-beasts.com (mx2.mythic-beasts.com [46.235.227.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 2 Aug 2022 04:50:10 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from [88.97.27.83] (port=33444 helo=hamnavoe.com) by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from ) id 1oInbN-002wep-Lz for 9fans@9fans.net; Tue, 02 Aug 2022 09:50:10 +0100 Message-ID: To: 9fans@9fans.net Subject: Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4) From: Richard Miller <9fans@hamnavoe.com> Date: Tue, 2 Aug 2022 09:50:06 +0100 In-Reply-To: <16593713580.F1ef9C5A9.763092@composer.9fans.topicbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BlackCat-Spam-Score: 1 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 216aaa06-1240-11ed-95e7-9c2059eddd58 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNjY4NjQzZDExMTQ5ZmFiNC1NN2E3OThmMWQyOWNhYWMyY2JlMDAw?= =?UTF-8?B?MzRmPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M7a798f1d29caac2cbe00034f:1:v-PulotWu4C4vBwhIMdIRBJTNCUrVCnz2SzFKAGbt2I > So bad maxpkt... etherusb check for maxpkt < 512 which is the max for > bulk transfers in usb2 high speed. Using 1024 instead fixes the problem. Thanks, the code was correct when written but the world has moved on! Is your adapter transmitting packets successfully now? > Should it chek for the speed of the usb device and set the limit accordin= gly? Actually the limit on maxpkt in that context wasn't strictly necessary anyw= ay. Just remove the check. diff /n/dump/2022/0802/sys/src/9/bcm/etherusb.c /sys/src/9/bcm/etherusb.c 328c328 < if(maxpkt < 8 || maxpkt > 512) --- > if(maxpkt < 8) ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T668643d11149fab4-M7a798= f1d29caac2cbe00034f Delivery options: https://9fans.topicbox.com/groups/9fans/subscription