From nobody Mon Dec 30 16:05:44 2024 X-Original-To: freebsd-net@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 4YMLYY4R07z5k6xC for ; Mon, 30 Dec 2024 16:05:53 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (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 (2048 bits) client-digest SHA256) (Client CN "vps1.elischer.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMLYX5vJ2z4nSN for ; Mon, 30 Dec 2024 16:05:52 +0000 (UTC) (envelope-from julian@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 204.109.63.16 is neither permitted nor denied by domain of julian@freebsd.org) smtp.mailfrom=julian@freebsd.org; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none) Received: from [192.168.20.22] (180-150-86-67.b49656.per.static.aussiebb.net [180.150.86.67]) (authenticated bits=0) by vps1.elischer.org (8.17.2/8.16.1) with ESMTPSA id 4BUG5nZg062613 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Dec 2024 08:05:51 -0800 (PST) (envelope-from julian@freebsd.org) X-Authentication-Warning: vps1.elischer.org: Host 180-150-86-67.b49656.per.static.aussiebb.net [180.150.86.67] claimed to be [192.168.20.22] Message-ID: Date: Tue, 31 Dec 2024 00:05:44 +0800 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: per-FIB socket binding To: freebsd-net@freebsd.org References: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> <7772475.EvYhyI6sBW@dhcp-151.access.rits.tisf.net> <202412240506.4BO56W2p075824@donotpassgo.dyslexicfish.net> Content-Language: en-US From: Julian Elischer In-Reply-To: <202412240506.4BO56W2p075824@donotpassgo.dyslexicfish.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.86 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.971]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[julian]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; HAS_XAW(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4YMLYX5vJ2z4nSN X-Spamd-Bar: -- On 12/24/24 1:06 PM, Jamie Landeg-Jones wrote: > Paul Vixie wrote: > >> i've been thinking along these lines for a few years now, since my vm server is multi-fib. >> each interface has a fib, mostly zero. for incoming TCP SYNs, i'd like to carry that fib# into >> the resulting PCB so that that fib's routing table and especially its default route will be >> used for that connection. yes, i can do that with ipfw, and am in fact doing so now. >> however, that's crocky. i think defaulting to the interface FIB for connections created and >> maintained by the kernel should always happen -- not opt-in, not opt-out, just always. is >> it worth me sending a patch that does this or would it be considered controversial? > > I like that. I isolate 5 seperate networks by assigning a fib to each interface, and was > initially surprised that I had to jump through ipfw hoops to get it to work properly, in > fact at the end of my ipfw rules for these interfaces, just to guarantee no leaking, > I have this, out of kludgy desperation! : > > 05111 deny log ip from any to any fib 1 not via em1 > 05112 deny log ip from any to any fib 2 not via em2 > 05113 deny log ip from any to any fib 3 not via em3 > 05114 deny log ip from any to any fib 4 not via em4 > 05115 deny log ip from any to any fib 5 not via em5 > > So, yes, I agree that it's crocky, and your proposal is how I originally expected it to > work, and indeed, I can so no reason for it not to work that way, but am prepared to > be enlightened if anyone else has an opinion on this. > I think I made it not act that way by default when I added fibs was to keep compatibility with old code. You could add a sysctl that makes it default behaviour or not. I think the suggested patch is probably the right way to go.. for TCP anyhow, UDP is another question. You would need to allow the receiving socket to report the FIB (do I already?) of the receiving interface and use it for the response. > Jamie > From nobody Mon Dec 30 17:29:11 2024 X-Original-To: freebsd-net@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 4YMNPp36J6z5hTd1 for ; Mon, 30 Dec 2024 17:29:18 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from util.redbarn.org (util.redbarn.org [IPv6:2001:559:8000:cd::222]) (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 "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMNPn6c5tz4vCT; Mon, 30 Dec 2024 17:29:17 +0000 (UTC) (envelope-from paul@redbarn.org) Authentication-Results: mx1.freebsd.org; none Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (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 "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (not verified)) by util.redbarn.org (Postfix) with ESMTPS id 35BA4160C24; Mon, 30 Dec 2024 17:29:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=redbarn.org; s=util; t=1735579754; bh=DEYWqkjro90mPzyv9mLaq5DxznU0hMn68HSHfrU6Ggc=; h=Date:Subject:In-Reply-To:References:From:To; b=PN7EBYWaSjjJA7L1Z1pgpiKkVrRFew1PYCJBLaaSNnEwnuR1XeD7UvNLswEDNxIf8 j29VMqJgvDDPuxu99ICJCzA4UomJ4Fz23Vs4MwsktNN9rVO/iOAigAHUj9z0/82aav TqUds7PATu8elAmpYwylZOwbQsnZWwZhJJg8jU6c= Received: from [192.168.1.174] (unknown [172.102.121.22]) (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 did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id CB822C3F22; Mon, 30 Dec 2024 17:29:13 +0000 (UTC) Date: Mon, 30 Dec 2024 09:29:11 -0800 Subject: Re: per-FIB socket binding Message-ID: <54249bca-0fdd-49d6-8dab-8d038927930c@redbarn.org> In-Reply-To: References: <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> <7772475.EvYhyI6sBW@dhcp-151.access.rits.tisf.net> <202412240506.4BO56W2p075824@donotpassgo.dyslexicfish.net> From: paul@redbarn.org To: Julian Elischer , freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="--_com.boxer.email_4162564184827460" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:33651, ipnet:2001:559:8000::/48, country:US] X-Rspamd-Queue-Id: 4YMNPn6c5tz4vCT X-Spamd-Bar: ---- ----_com.boxer.email_4162564184827460 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SnVsaWFuIDw8VURQIGlzIGFub3RoZXIgcXVlc3Rpb24uIFlvdSB3b3VsZCBuZWVkIHRvIGFsbG93 IHRoZSByZWNlaXZpbmcgc29ja2V0IAoKdG8gcmVwb3J0IHRoZSBGSUIgKGRvIEkgYWxyZWFkeT8p IG9mIHRoZSByZWNlaXZpbmcgaW50ZXJmYWNlIGFuZCB1c2UgCgppdCBmb3IgdGhlIHJlc3BvbnNl Lj4+IAoKCkZvciBVRFAgb25lIG11c3QgYWxyZWFkeSBzY2FuIHRoZSBpbnRlcmZhY2UgbGlzdCBi b3RoIGluaXRpYWxseSBhbmQgcGVyaW9kaWNhbGx5IHRvIGZpbmQgcG9zc2libGUgc291cmNlIGFk ZHJlc3NlcyBhbmQgYmluZCBhIHNvY2tldCB0byBlYWNoLiBUaGlzIGlzIHdoYXQgbWFrZXMgaXQg cG9zc2libGUgdG8gYW5zd2VyIGEgRE5TIHJlcXVlc3QgZnJvbSB0aGUgc291cmNlIGFkZHJlc3Mg aWYgdGhlIHJlcXVlc3QncyBkZXN0aW5hdGlvbiBhZGRyZXNzLiAKCgpXaGlsZSBpdCB3b3VsZCBi ZSBzaW1wbGUgdG8gcmV0cmlldmUgdGhlIEZJQiBvZiBlYWNoIGludGVyZmFjZSBkdXJpbmcgdGhl IHNjYW4gYW5kIGFwcGx5IHRoYXQgdG8gYWxsIHNvY2tldHMgYmluZCB0byBhZGRyZXNzZXMgb24g dGhhdCBpbnRlcmZhY2UsIEkgdGhpbmsgaXQgd291bGQgYmUgZXZlbiBiZXR0ZXIgdG8gbWFrZSBi aW5kKCkgc2V0IHRoZSBzb2NrZXQncyBGSUIgdG8gdGhlIEZJQiBvZiB0aGUgaW50ZXJmYWNlIHRo YXQgc29ja2V0IGlzIGJpbmRpbmcgdG8uIEZvciBib3RoIFRDUCwgVURQLCBhbmQgZXZlbiBzY3Rw LiAKCgpKdWxpYW4sIGlmIG5vdCB0aGlzLCB0aGVuIHdoYXQgdXNlIGNhc2VzIHdlcmUgeW91IGFj dGluZyBmcm9tIHdoZW4gZ2l2aW5nIGludGVyZmFjZXMgYSBGSUIgaW4gdGhlIGZpcnN0IHBsYWNl PyAKCgpWaXhpZSAKCgpTZW50IGZyb20gV29ya3NwYWNlIE9ORSBCb3hlciAKCgpPbiBEZWMgMzAs IDIwMjQgMDg6MDYsIEp1bGlhbiBFbGlzY2hlciA8anVsaWFuQGZyZWVic2Qub3JnPiB3cm90ZToK Ck9uIDEyLzI0LzI0IDE6MDYgUE0sIEphbWllIExhbmRlZy1Kb25lcyB3cm90ZTogCj4gUGF1bCBW aXhpZSA8cGF1bEByZWRiYXJuLm9yZz4gd3JvdGU6IAo+IAo+PiBpJ3ZlIGJlZW4gdGhpbmtpbmcg YWxvbmcgdGhlc2UgbGluZXMgZm9yIGEgZmV3IHllYXJzIG5vdywgc2luY2UgbXkgdm0gc2VydmVy IGlzIG11bHRpLWZpYi4gCj4+IGVhY2ggaW50ZXJmYWNlIGhhcyBhIGZpYiwgbW9zdGx5IHplcm8u IGZvciBpbmNvbWluZyBUQ1AgU1lOcywgaSdkIGxpa2UgdG8gY2FycnkgdGhhdCBmaWIjIGludG8g Cj4+IHRoZSByZXN1bHRpbmcgUENCIHNvIHRoYXQgdGhhdCBmaWIncyByb3V0aW5nIHRhYmxlIGFu ZCBlc3BlY2lhbGx5IGl0cyBkZWZhdWx0IHJvdXRlIHdpbGwgYmUgCj4+IHVzZWQgZm9yIHRoYXQg Y29ubmVjdGlvbi4geWVzLCBpIGNhbiBkbyB0aGF0IHdpdGggaXBmdywgYW5kIGFtIGluIGZhY3Qg ZG9pbmcgc28gbm93LiAKPj4gaG93ZXZlciwgdGhhdCdzIGNyb2NreS4gaSB0aGluayBkZWZhdWx0 aW5nIHRvIHRoZSBpbnRlcmZhY2UgRklCIGZvciBjb25uZWN0aW9ucyBjcmVhdGVkIGFuZCAKPj4g bWFpbnRhaW5lZCBieSB0aGUga2VybmVsIHNob3VsZCBhbHdheXMgaGFwcGVuIC0tIG5vdCBvcHQt aW4sIG5vdCBvcHQtb3V0LCBqdXN0IGFsd2F5cy4gaXMgCj4+IGl0IHdvcnRoIG1lIHNlbmRpbmcg YSBwYXRjaCB0aGF0IGRvZXMgdGhpcyBvciB3b3VsZCBpdCBiZSBjb25zaWRlcmVkIGNvbnRyb3Zl cnNpYWw/IAo+IAo+IEkgbGlrZSB0aGF0LiBJIGlzb2xhdGUgNSBzZXBlcmF0ZSBuZXR3b3JrcyBi eSBhc3NpZ25pbmcgYSBmaWIgdG8gZWFjaCBpbnRlcmZhY2UsIGFuZCB3YXMgCj4gaW5pdGlhbGx5 IHN1cnByaXNlZCB0aGF0IEkgaGFkIHRvIGp1bXAgdGhyb3VnaCBpcGZ3IGhvb3BzIHRvIGdldCBp dCB0byB3b3JrIHByb3Blcmx5LCBpbiAKPiBmYWN0IGF0IHRoZSBlbmQgb2YgbXkgaXBmdyBydWxl cyBmb3IgdGhlc2UgaW50ZXJmYWNlcywganVzdCB0byBndWFyYW50ZWUgbm8gbGVha2luZywgCj4g SSBoYXZlIHRoaXMsIG91dCBvZiBrbHVkZ3kgZGVzcGVyYXRpb24hIDogCj4gCj4gMDUxMTEgZGVu eSBsb2cgaXAgZnJvbSBhbnkgdG8gYW55IGZpYiAxIG5vdCB2aWEgZW0xIAo+IDA1MTEyIGRlbnkg bG9nIGlwIGZyb20gYW55IHRvIGFueSBmaWIgMiBub3QgdmlhIGVtMiAKPiAwNTExMyBkZW55IGxv ZyBpcCBmcm9tIGFueSB0byBhbnkgZmliIDMgbm90IHZpYSBlbTMgCj4gMDUxMTQgZGVueSBsb2cg aXAgZnJvbSBhbnkgdG8gYW55IGZpYiA0IG5vdCB2aWEgZW00IAo+IDA1MTE1IGRlbnkgbG9nIGlw IGZyb20gYW55IHRvIGFueSBmaWIgNSBub3QgdmlhIGVtNSAKPiAKPiBTbywgeWVzLCBJIGFncmVl IHRoYXQgaXQncyBjcm9ja3ksIGFuZCB5b3VyIHByb3Bvc2FsIGlzIGhvdyBJIG9yaWdpbmFsbHkg ZXhwZWN0ZWQgaXQgdG8gCj4gd29yaywgYW5kIGluZGVlZCwgSSBjYW4gc28gbm8gcmVhc29uIGZv ciBpdCBub3QgdG8gd29yayB0aGF0IHdheSwgYnV0IGFtIHByZXBhcmVkIHRvIAo+IGJlIGVubGln aHRlbmVkIGlmIGFueW9uZSBlbHNlIGhhcyBhbiBvcGluaW9uIG9uIHRoaXMuIAo+IAoKSSB0aGlu ayBJIG1hZGUgaXQgbm90IGFjdCB0aGF0IHdheSBieSBkZWZhdWx0IHdoZW4gSSBhZGRlZCBmaWJz IHdhcyB0byAKa2VlcCBjb21wYXRpYmlsaXR5IHdpdGggb2xkIGNvZGUuICBZb3UgY291bGQgYWRk IGEgc3lzY3RsIHRoYXQgbWFrZXMgCml0IGRlZmF1bHQgYmVoYXZpb3VyIG9yIG5vdC4gIEkgdGhp bmsgdGhlIHN1Z2dlc3RlZCBwYXRjaCBpcyBwcm9iYWJseSAKdGhlIHJpZ2h0IHdheSB0byBnby4u IGZvciBUQ1AgIGFueWhvdywgCgpVRFAgaXMgYW5vdGhlciBxdWVzdGlvbi4gWW91IHdvdWxkIG5l ZWQgdG8gYWxsb3cgdGhlIHJlY2VpdmluZyBzb2NrZXQgCnRvIHJlcG9ydCB0aGUgRklCIChkbyBJ IGFscmVhZHk/KSBvZiB0aGUgcmVjZWl2aW5nIGludGVyZmFjZSBhbmQgdXNlIAppdCBmb3IgdGhl IHJlc3BvbnNlLiAKCgoKCj4gSmFtaWUgCj4gCgoK ----_com.boxer.email_4162564184827460 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGh0bWw+CiA8aGVhZD48L2hlYWQ+CiA8Ym9keT4KICA8ZGl2IGRpcj0ibHRyIj4KICAgSnVsaWFu ICZsdDsmbHQ7VURQIGlzIGFub3RoZXIgcXVlc3Rpb24uIFlvdSB3b3VsZCBuZWVkIHRvIGFsbG93 IHRoZSByZWNlaXZpbmcgc29ja2V0CiAgPC9kaXY+CiAgPGRpdiBkaXI9Imx0ciI+CiAgIHRvIHJl cG9ydCB0aGUgRklCIChkbyBJIGFscmVhZHk/KSBvZiB0aGUgcmVjZWl2aW5nIGludGVyZmFjZSBh bmQgdXNlCiAgPC9kaXY+CiAgPGRpdiBkaXI9Imx0ciI+CiAgIGl0IGZvciB0aGUgcmVzcG9uc2Uu Jmd0OyZndDsKICA8L2Rpdj48YnI+CiAgPGRpdiBkaXI9Imx0ciI+CiAgIEZvciBVRFAgb25lIG11 c3QgYWxyZWFkeSBzY2FuIHRoZSBpbnRlcmZhY2UgbGlzdCBib3RoIGluaXRpYWxseSBhbmQgcGVy aW9kaWNhbGx5IHRvIGZpbmQgcG9zc2libGUgc291cmNlIGFkZHJlc3NlcyBhbmQgYmluZCBhIHNv Y2tldCB0byBlYWNoLiBUaGlzIGlzIHdoYXQgbWFrZXMgaXQgcG9zc2libGUgdG8gYW5zd2VyIGEg RE5TIHJlcXVlc3QgZnJvbSB0aGUgc291cmNlIGFkZHJlc3MgaWYgdGhlIHJlcXVlc3QncyBkZXN0 aW5hdGlvbiBhZGRyZXNzLgogIDwvZGl2Pjxicj4KICA8ZGl2IGRpcj0ibHRyIj4KICAgV2hpbGUg aXQgd291bGQgYmUgc2ltcGxlIHRvIHJldHJpZXZlIHRoZSBGSUIgb2YgZWFjaCBpbnRlcmZhY2Ug ZHVyaW5nIHRoZSBzY2FuIGFuZCBhcHBseSB0aGF0IHRvIGFsbCBzb2NrZXRzIGJpbmQgdG8gYWRk cmVzc2VzIG9uIHRoYXQgaW50ZXJmYWNlLCBJIHRoaW5rIGl0IHdvdWxkIGJlIGV2ZW4gYmV0dGVy IHRvIG1ha2UgYmluZCgpIHNldCB0aGUgc29ja2V0J3MgRklCIHRvIHRoZSBGSUIgb2YgdGhlIGlu dGVyZmFjZSB0aGF0IHNvY2tldCBpcyBiaW5kaW5nIHRvLiBGb3IgYm90aCBUQ1AsIFVEUCwgYW5k IGV2ZW4gc2N0cC4KICA8L2Rpdj48YnI+CiAgPGRpdiBkaXI9Imx0ciI+CiAgIEp1bGlhbiwgaWYg bm90IHRoaXMsIHRoZW4gd2hhdCB1c2UgY2FzZXMgd2VyZSB5b3UgYWN0aW5nIGZyb20gd2hlbiBn aXZpbmcgaW50ZXJmYWNlcyBhIEZJQiBpbiB0aGUgZmlyc3QgcGxhY2U/CiAgPC9kaXY+PGJyPgog IDxkaXYgZGlyPSJsdHIiPgogICBWaXhpZQogIDwvZGl2Pjxicj4KICA8ZGl2IGRpcj0ibHRyIj4K ICAgU2VudCBmcm9tIFdvcmtzcGFjZSBPTkUgQm94ZXIKICA8L2Rpdj48YnI+CiAgPGRpdiBjbGFz cz0iYngtaHRtbCI+CiAgIDxkaXYgY2xhc3M9ImJ4LWJvZHkiPgogICAgPGRpdiBjbGFzcz0icXVv dGUiPgogICAgIE9uIERlYyAzMCwgMjAyNCAwODowNiwgSnVsaWFuIEVsaXNjaGVyICZsdDtqdWxp YW5AZnJlZWJzZC5vcmcmZ3Q7IHdyb3RlOjxiciB0eXBlPSJhdHRyaWJ1dGlvbiI+CiAgICAgPGJs b2NrcXVvdGUgY2xhc3M9InF1b3RlIiBzdHlsZT0ibWFyZ2luOjAgMCAwIC44ZXg7Ym9yZGVyLWxl ZnQ6MXB4ICNjY2Mgc29saWQ7cGFkZGluZy1sZWZ0OjFleCI+CiAgICAgIDxwIGRpcj0ibHRyIj5P biAxMi8yNC8yNCAxOjA2IFBNLCBKYW1pZSBMYW5kZWctSm9uZXMgd3JvdGU6IDxicj4KICAgICAg ICAmZ3Q7IFBhdWwgVml4aWUgJmx0O3BhdWxAcmVkYmFybi5vcmcmZ3Q7IHdyb3RlOiA8YnI+CiAg ICAgICAgJmd0OyA8YnI+CiAgICAgICAgJmd0OyZndDsgaSd2ZSBiZWVuIHRoaW5raW5nIGFsb25n IHRoZXNlIGxpbmVzIGZvciBhIGZldyB5ZWFycyBub3csIHNpbmNlIG15IHZtIHNlcnZlciBpcyBt dWx0aS1maWIuIDxicj4KICAgICAgICAmZ3Q7Jmd0OyBlYWNoIGludGVyZmFjZSBoYXMgYSBmaWIs IG1vc3RseSB6ZXJvLiBmb3IgaW5jb21pbmcgVENQIFNZTnMsIGknZCBsaWtlIHRvIGNhcnJ5IHRo YXQgZmliIyBpbnRvIDxicj4KICAgICAgICAmZ3Q7Jmd0OyB0aGUgcmVzdWx0aW5nIFBDQiBzbyB0 aGF0IHRoYXQgZmliJ3Mgcm91dGluZyB0YWJsZSBhbmQgZXNwZWNpYWxseSBpdHMgZGVmYXVsdCBy b3V0ZSB3aWxsIGJlIDxicj4KICAgICAgICAmZ3Q7Jmd0OyB1c2VkIGZvciB0aGF0IGNvbm5lY3Rp b24uIHllcywgaSBjYW4gZG8gdGhhdCB3aXRoIGlwZncsIGFuZCBhbSBpbiBmYWN0IGRvaW5nIHNv IG5vdy4gPGJyPgogICAgICAgICZndDsmZ3Q7IGhvd2V2ZXIsIHRoYXQncyBjcm9ja3kuIGkgdGhp bmsgZGVmYXVsdGluZyB0byB0aGUgaW50ZXJmYWNlIEZJQiBmb3IgY29ubmVjdGlvbnMgY3JlYXRl ZCBhbmQgPGJyPgogICAgICAgICZndDsmZ3Q7IG1haW50YWluZWQgYnkgdGhlIGtlcm5lbCBzaG91 bGQgYWx3YXlzIGhhcHBlbiAtLSBub3Qgb3B0LWluLCBub3Qgb3B0LW91dCwganVzdCBhbHdheXMu IGlzIDxicj4KICAgICAgICAmZ3Q7Jmd0OyBpdCB3b3J0aCBtZSBzZW5kaW5nIGEgcGF0Y2ggdGhh dCBkb2VzIHRoaXMgb3Igd291bGQgaXQgYmUgY29uc2lkZXJlZCBjb250cm92ZXJzaWFsPyA8YnI+ CiAgICAgICAgJmd0OyA8YnI+CiAgICAgICAgJmd0OyBJIGxpa2UgdGhhdC4gSSBpc29sYXRlIDUg c2VwZXJhdGUgbmV0d29ya3MgYnkgYXNzaWduaW5nIGEgZmliIHRvIGVhY2ggaW50ZXJmYWNlLCBh bmQgd2FzIDxicj4KICAgICAgICAmZ3Q7IGluaXRpYWxseSBzdXJwcmlzZWQgdGhhdCBJIGhhZCB0 byBqdW1wIHRocm91Z2ggaXBmdyBob29wcyB0byBnZXQgaXQgdG8gd29yayBwcm9wZXJseSwgaW4g PGJyPgogICAgICAgICZndDsgZmFjdCBhdCB0aGUgZW5kIG9mIG15IGlwZncgcnVsZXMgZm9yIHRo ZXNlIGludGVyZmFjZXMsIGp1c3QgdG8gZ3VhcmFudGVlIG5vIGxlYWtpbmcsIDxicj4KICAgICAg ICAmZ3Q7IEkgaGF2ZSB0aGlzLCBvdXQgb2Yga2x1ZGd5IGRlc3BlcmF0aW9uISA6IDxicj4KICAg ICAgICAmZ3Q7IDxicj4KICAgICAgICAmZ3Q7IDA1MTExIGRlbnkgbG9nIGlwIGZyb20gYW55IHRv IGFueSBmaWIgMSBub3QgdmlhIGVtMSA8YnI+CiAgICAgICAgJmd0OyAwNTExMiBkZW55IGxvZyBp cCBmcm9tIGFueSB0byBhbnkgZmliIDIgbm90IHZpYSBlbTIgPGJyPgogICAgICAgICZndDsgMDUx MTMgZGVueSBsb2cgaXAgZnJvbSBhbnkgdG8gYW55IGZpYiAzIG5vdCB2aWEgZW0zIDxicj4KICAg ICAgICAmZ3Q7IDA1MTE0IGRlbnkgbG9nIGlwIGZyb20gYW55IHRvIGFueSBmaWIgNCBub3Qgdmlh IGVtNCA8YnI+CiAgICAgICAgJmd0OyAwNTExNSBkZW55IGxvZyBpcCBmcm9tIGFueSB0byBhbnkg ZmliIDUgbm90IHZpYSBlbTUgPGJyPgogICAgICAgICZndDsgPGJyPgogICAgICAgICZndDsgU28s IHllcywgSSBhZ3JlZSB0aGF0IGl0J3MgY3JvY2t5LCBhbmQgeW91ciBwcm9wb3NhbCBpcyBob3cg SSBvcmlnaW5hbGx5IGV4cGVjdGVkIGl0IHRvIDxicj4KICAgICAgICAmZ3Q7IHdvcmssIGFuZCBp bmRlZWQsIEkgY2FuIHNvIG5vIHJlYXNvbiBmb3IgaXQgbm90IHRvIHdvcmsgdGhhdCB3YXksIGJ1 dCBhbSBwcmVwYXJlZCB0byA8YnI+CiAgICAgICAgJmd0OyBiZSBlbmxpZ2h0ZW5lZCBpZiBhbnlv bmUgZWxzZSBoYXMgYW4gb3BpbmlvbiBvbiB0aGlzLiA8YnI+CiAgICAgICAgJmd0OyA8YnI+PGJy PgogICAgICAgIEkgdGhpbmsgSSBtYWRlIGl0IG5vdCBhY3QgdGhhdCB3YXkgYnkgZGVmYXVsdCB3 aGVuIEkgYWRkZWQgZmlicyB3YXMgdG8gPGJyPgogICAgICAgIGtlZXAgY29tcGF0aWJpbGl0eSB3 aXRoIG9sZCBjb2RlLiZuYnNwOyBZb3UgY291bGQgYWRkIGEgc3lzY3RsIHRoYXQgbWFrZXMgPGJy PgogICAgICAgIGl0IGRlZmF1bHQgYmVoYXZpb3VyIG9yIG5vdC4mbmJzcDsgSSB0aGluayB0aGUg c3VnZ2VzdGVkIHBhdGNoIGlzIHByb2JhYmx5IDxicj4KICAgICAgICB0aGUgcmlnaHQgd2F5IHRv IGdvLi4gZm9yIFRDUCZuYnNwOyBhbnlob3csIDxicj48YnI+CiAgICAgICAgVURQIGlzIGFub3Ro ZXIgcXVlc3Rpb24uIFlvdSB3b3VsZCBuZWVkIHRvIGFsbG93IHRoZSByZWNlaXZpbmcgc29ja2V0 IDxicj4KICAgICAgICB0byByZXBvcnQgdGhlIEZJQiAoZG8gSSBhbHJlYWR5Pykgb2YgdGhlIHJl Y2VpdmluZyBpbnRlcmZhY2UgYW5kIHVzZSA8YnI+CiAgICAgICAgaXQgZm9yIHRoZSByZXNwb25z ZS4gPGJyPjxicj48YnI+PGJyPjxicj4KICAgICAgICAmZ3Q7IEphbWllIDxicj4KICAgICAgICAm Z3Q7IDxicj48YnI+PGJyPjwvcD4KICAgICA8L2Jsb2NrcXVvdGU+CiAgICA8L2Rpdj4KICAgPC9k aXY+CiAgPC9kaXY+CiA8L2JvZHk+CjwvaHRtbD4= ----_com.boxer.email_4162564184827460-- From nobody Tue Dec 31 03:10:58 2024 X-Original-To: freebsd-net@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 4YMdK806x1z5jS4R for ; Tue, 31 Dec 2024 03:11:08 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from fhigh-b4-smtp.messagingengine.com (fhigh-b4-smtp.messagingengine.com [202.12.124.155]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMdK73jXHz4rlG; Tue, 31 Dec 2024 03:11:07 +0000 (UTC) (envelope-from rebecca@bsdio.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdio.com header.s=fm3 header.b=JBK7bcrk; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=H22atSuw; spf=pass (mx1.freebsd.org: domain of rebecca@bsdio.com designates 202.12.124.155 as permitted sender) smtp.mailfrom=rebecca@bsdio.com; dmarc=none Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id CD28925401E8; Mon, 30 Dec 2024 22:11:06 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Mon, 30 Dec 2024 22:11:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm3; t=1735614666; x=1735701066; bh=DD oG1wt1qvDA71M67GvhjXsO29EQKQRlnrdqqOOYvJ4=; b=JBK7bcrka2NJwXTLS5 Pu/OQpZCZQwOO+COZcGfHoeH00uO3eDvC8XIGQjzUFAdL8/rhOHf+YyBHNsdGhrl h8Rrl30GNohIkQbm+dNcgWN69kxdY5Px+se9KFpD97kcV/TQDLBTktbDue6UGK3Q M4tcKUnGRT4SxOL/lAy1SKhZoQuqqcyX83J7sbJIsjpDsVo1Rmciq5pbUwxqDdDh zj6TTtsJag5b/uI/IsF9IRf/Dg0mDh22IWcado1zBVNuGEHakItibCaCa8ou24l6 7vgNKZ6KBHOwLevBi+ghTZ1CfgKMXQXCWxt1Io5SC0f/g98KtYQV61A5ZJrKfxJQ VAyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1735614666; x=1735701066; bh=DDoG1wt1qvDA71M67GvhjXsO29EQ KQRlnrdqqOOYvJ4=; b=H22atSuw5wyuw33Ky6zhWrTqSg0xmUo7Q4K1o8pEvQML uxg66+2q18HTZpoPr2XdkzG+Z2o77vDz1e83NwIuU3PPXA1IaMgQ8j88rsAlWw53 OtrJHrpYqwY498CGPYHrxComRKXRRE37p7/YDa0DV6HPtaciTl+M0ykRCNMfzZ82 2doI5NDmhnMTYhefA1oTPwZH2z5aWJTkONlazBYSCqC2znjSaPQpzTXPy+uIQ+4X RThxB6On1p1okEf36i8UIL1ie2pFDh/qtYp6Zr2CpyZv7p7fD8EoBg+hUtKDIhCX 6kuPNH2XvzTmCNrCUSW9QgFKjHzo0WsYEq0V7ntePQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddvjedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffoh hmrghinhculdegledmnecujfgurhepkfffgggfvffhufevtgfgsehtkeertddtvdejnecu hfhrohhmpeftvggsvggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtoh hmqeenucggtffrrghtthgvrhhnpeduveeigeetffeiieevfefgleeiheehgfffheekleej ueelueffueeuvdfhjeekhfenucffohhmrghinhepshholhhiugdqrhhunhdrtghomhdprg htlhgrshhsihgrnhdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehrvggsvggttggrsegsshguihhordgtohhmpdhnsggprhgtphhtth hopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdhnvght sehfrhgvvggsshgurdhorhhgpdhrtghpthhtoheprghnughrvgifsehfrhgvvggsshgurd horhhgpdhrtghpthhtoheprhgrjhgvshhhuddrkhhumhgrrhesrghmugdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Dec 2024 22:11:05 -0500 (EST) Message-ID: Date: Mon, 30 Dec 2024 20:10:58 -0700 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: freebsd-net@FreeBSD.org Content-Language: en-US From: Rebecca Cran Subject: if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2) Cc: andrew@FreeBSD.org, rajesh1.kumar@amd.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.54 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.952]; R_DKIM_ALLOW(-0.20)[bsdio.com:s=fm3,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.155:from]; XM_UA_NO_VERSION(0.01)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[bsdio.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@FreeBSD.org]; DKIM_TRACE(0.00)[bsdio.com:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4YMdK73jXHz4rlG X-Spamd-Bar: --- I recently bought a slightly funky device with hopes of using it as a router: it's a SolidRun Ryzen v3000 (https://shop.solid-run.com/product/SRRV318S01D64GE000H10IH/) with a "AMD Ryzen Embedded V3C18I 8-Core Processor". It has 2x AMD 10 Gigabit EthernetSFP+ ports built-in, but I'm having trouble getting FreeBSD to detect a link. I'm using a FS SFP-10GSR-85 transceiver connected to a Zyxel XS1930-10 switch: the switch shows the link as active, but FreeBSD never detects it on its end. I've tried setting dev.ax.{0,1}.link_workaround=1 but it doesn't have any effect. https://solidrun.atlassian.net/wiki/spaces/developer/pages/592904196/HoneyComb+AMD+V3000+mini+ITX+Quick+Start+Guide mentions that "As of JUL 7 2024 (FreeBSD 14.01) the AMD XGBE driver on FreeBSD does not fully support SFP later version will eventually have the driver fixed" and I'm wondering if there's any active work on this, any workarounds, or if I should try 14-STABLE instead? Boot dmesg shows: ax0: mem 0xfce60000-0xfce7ffff,0xfce40000-0xfce5ffff,0xfce82000-0xfce83fff at device 0.2 on pci4 ax0: Using 512 TX descriptors and 512 RX descriptors ax0: Using 3 RX queues 3 TX queues ax0: Using MSI-X interrupts with 7 vectors ax0: Ethernet address: d0:63:b4:05:b4:a7 ax0: SPH Enabled ax0: xgbe_config_sph_mode: SPH enabled in channel 0 ax0: xgbe_config_sph_mode: SPH enabled in channel 1 ax0: xgbe_config_sph_mode: SPH enabled in channel 2 ax0: RSS Enabled ax0: Receive checksum offload Enabled ax0: VLAN filtering Enabled ax0: VLAN Stripping Enabled ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2 ax0: netmap queues/slots: TX 3/512, RX 3/512 ax1: mem 0xfce20000-0xfce3ffff,0xfce00000-0xfce1ffff,0xfce80000-0xfce81fff at device 0.3 on pci4 ax1: Using 512 TX descriptors and 512 RX descriptors ax1: Using 3 RX queues 3 TX queues ax1: Using MSI-X interrupts with 7 vectors ax1: Ethernet address: d0:63:b4:05:b4:a8 ax1: SPH Enabled ax1: xgbe_config_sph_mode: SPH enabled in channel 0 ax1: xgbe_config_sph_mode: SPH enabled in channel 1 ax1: xgbe_config_sph_mode: SPH enabled in channel 2 ax1: RSS Enabled ax1: Receive checksum offload Enabled ax1: VLAN filtering Enabled ax1: VLAN Stripping Enabled ax1: netmap queues/slots: TX 3/512, RX 3/512 When I run "ifconfig ax1 up": # ifconfig ax1 up ax1: SPH Enabled ax1: xgbe_config_sph_mode: SPH enabled in channel 0 ax1: xgbe_config_sph_mode: SPH enabled in channel 1 ax1: xgbe_config_sph_mode: SPH enabled in channel 2 ax1: RSS Enabled ax1: Receive checksum offload Enabled ax1: VLAN filtering Enabled ax1: VLAN Stripping Enabled But "ifconfig ax1" still shows: ax1: flags=8843 metric 0 mtu 1500 options=4e503bb         ether d0:63:b4:05:b4:a8         media: Ethernet autoselect         status: no carrier         nd6 options=29 -- Rebecca Cran From nobody Tue Dec 31 03:50:22 2024 X-Original-To: freebsd-net@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 4YMfBr4wBtz5jVfN for ; Tue, 31 Dec 2024 03:50:44 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from sfo.monkeybrains.net (mail.monkeybrains.net [208.69.40.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "sfo.monkeybrains.net", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMfBr2WdWz3xWT for ; Tue, 31 Dec 2024 03:50:44 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (public.static.monkeybrains.net [199.241.201.238]) (authenticated bits=0) by sfo.monkeybrains.net (8.16.1/8.16.1) with ESMTPSA id 4BV3oX8s075825 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 30 Dec 2024 19:50:34 -0800 (PST) (envelope-from crapsh@monkeybrains.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=monkeybrains.net; s=dkim; t=1735617034; bh=EP2TKFCrz/cawA7iKXCqfLW3G74Mgjx4shKlFAnbsXE=; h=From:Subject:Date:References:Cc:In-Reply-To:To; b=mYM1Gcg76L79h+HgSKlkyCDQnAiDHmsXjTPtdJYsXq3aHsbDCQRjzmE6K/CnF6LA5 nhCP7OrfJ8cz4qvJrVMYVRJfrMvQN7dLUm6GbetsyFEguvj8fqPfEFcJywy1y3zSUY akxA5EjDBl6NO9VSy31qrAeGVc5pb3wZYjgvLN5s= X-Authentication-Warning: mail.monkeybrains.net: Host public.static.monkeybrains.net [199.241.201.238] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: "Rudy Rucker (bulk Mail Account)" List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2) Date: Mon, 30 Dec 2024 19:50:22 -0800 Message-Id: References: Cc: freebsd-net@freebsd.org In-Reply-To: To: Rebecca Cran X-Mailer: iPhone Mail (21G93) X-Virus-Scanned: clamav-milter 0.103.3 at mail.monkeybrains.net X-Virus-Status: Clean X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:32329, ipnet:208.69.40.0/22, country:US] X-Rspamd-Queue-Id: 4YMfBr2WdWz3xWT X-Spamd-Bar: ---- unsubscribe > On Dec 30, 2024, at 7:11=E2=80=AFPM, Rebecca Cran wrot= e: >=20 > =EF=BB=BFI recently bought a slightly funky device with hopes of using it a= s a router: it's a SolidRun Ryzen v3000 (https://shop.solid-run.com/product/= SRRV318S01D64GE000H10IH/) with a "AMD Ryzen Embedded V3C18I 8-Core Processor= ". >=20 > It has 2x AMD 10 Gigabit EthernetSFP+ ports built-in, but I'm having troub= le getting FreeBSD to detect a link. I'm using a FS SFP-10GSR-85 transceiver= connected to a Zyxel XS1930-10 switch: the switch shows the link as active,= but FreeBSD never detects it on its end. I've tried setting dev.ax.{0,1}.li= nk_workaround=3D1 but it doesn't have any effect. >=20 >=20 > https://solidrun.atlassian.net/wiki/spaces/developer/pages/592904196/Honey= Comb+AMD+V3000+mini+ITX+Quick+Start+Guide mentions that "As of JUL 7 2024 (Fre= eBSD 14.01) the AMD XGBE driver on FreeBSD does not fully support SFP later v= ersion will eventually have the driver fixed" and I'm wondering if there's a= ny active work on this, any workarounds, or if I should try 14-STABLE instea= d? >=20 >=20 > Boot dmesg shows: >=20 > ax0: mem 0xfce60000-0xfce7ffff,0xfce40000= -0xfce5ffff,0xfce82000-0xfce83fff at device 0.2 on pci4 > ax0: Using 512 TX descriptors and 512 RX descriptors > ax0: Using 3 RX queues 3 TX queues > ax0: Using MSI-X interrupts with 7 vectors > ax0: Ethernet address: d0:63:b4:05:b4:a7 > ax0: SPH Enabled > ax0: xgbe_config_sph_mode: SPH enabled in channel 0 > ax0: xgbe_config_sph_mode: SPH enabled in channel 1 > ax0: xgbe_config_sph_mode: SPH enabled in channel 2 > ax0: RSS Enabled > ax0: Receive checksum offload Enabled > ax0: VLAN filtering Enabled > ax0: VLAN Stripping Enabled > ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2 > ax0: netmap queues/slots: TX 3/512, RX 3/512 > ax1: mem 0xfce20000-0xfce3ffff,0xfce00000= -0xfce1ffff,0xfce80000-0xfce81fff at device 0.3 on pci4 > ax1: Using 512 TX descriptors and 512 RX descriptors > ax1: Using 3 RX queues 3 TX queues > ax1: Using MSI-X interrupts with 7 vectors > ax1: Ethernet address: d0:63:b4:05:b4:a8 > ax1: SPH Enabled > ax1: xgbe_config_sph_mode: SPH enabled in channel 0 > ax1: xgbe_config_sph_mode: SPH enabled in channel 1 > ax1: xgbe_config_sph_mode: SPH enabled in channel 2 > ax1: RSS Enabled > ax1: Receive checksum offload Enabled > ax1: VLAN filtering Enabled > ax1: VLAN Stripping Enabled > ax1: netmap queues/slots: TX 3/512, RX 3/512 >=20 >=20 > When I run "ifconfig ax1 up": >=20 > # ifconfig ax1 up > ax1: SPH Enabled > ax1: xgbe_config_sph_mode: SPH enabled in channel 0 > ax1: xgbe_config_sph_mode: SPH enabled in channel 1 > ax1: xgbe_config_sph_mode: SPH enabled in channel 2 > ax1: RSS Enabled > ax1: Receive checksum offload Enabled > ax1: VLAN filtering Enabled > ax1: VLAN Stripping Enabled >=20 >=20 > But "ifconfig ax1" still shows: >=20 > ax1: flags=3D8843 metric 0 mtu 150= 0 > options=3D4e503bb > ether d0:63:b4:05:b4:a8 > media: Ethernet autoselect > status: no carrier > nd6 options=3D29 >=20 >=20 > -- > Rebecca Cran >=20 >=20 From nobody Tue Dec 31 10:38:15 2024 X-Original-To: net@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 4YMqF44Zjgz5jFZN for ; Tue, 31 Dec 2024 10:38:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMqF43RTjz4WQs for ; Tue, 31 Dec 2024 10:38:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735641496; 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=mN83z7oYlSXszBKlesZs9lP/HrqG0chEjpbxciDg0ug=; b=xJHVtnYjUKKFlWdm0Eyf0t39jsMSshu2d7UWOQ7e4dgzFisKZhw9rS2CyyFY2lrcKJtQ1J 2yYZDx5+CtqcaHEzzz4ZDrxFWPiAMDS4v4md2NpyPEbOc/riKTgZoULNRMLQDNxG1mL/Dc QfG5CEHy/JpxlV/Z0rn8y+vXDGsn1J5ZsMEgOMS27gxBmm4dPzCNViMOM5zYT2YFT6+LX0 r2fz+BGG5ydzxuVgsC+Cxqk2K+NRLeNFdkWaO2g56FTzOrrb0bnNRgTgU1XNadkio/iAn8 0wkXltEm0ONwwEetYnvGYxBGkUtJMpFLByxWRrKhY6EhlkTiuShRvrGHPLBGJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735641496; a=rsa-sha256; cv=none; b=XNwj2wkkF5G145QJ8wDmcxEdQidx0FoNkpR3hYQSmskRlZa0WEaDrnvMwNHGjWqJIQ886i Ghuwp01jKj9GfmwhmMwpDInMf5y6RRuK7aL0Shi+tGPp9O+cj8acoTRQnSer54waaIEkuf BB1g7Jwmda7ENwk7+76G16vuukdR3ze5hY4iWDN5JZVavmyvNBYMHDHatnx51OB5TDDbrD diOMfW349vnFq7ORjXj9UuBHVeX8O2OkdEeUF+DLLg7UUv7C96Jtw7OaMrazXsP9n2gHbe krM+qoNiK0hyeXlyB9X/EZcJE1zLfukf2i6W6KdTJ+9DeHR3W7Tpnm8hQIyGJw== 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 4YMqF42xd6zc9V for ; Tue, 31 Dec 2024 10:38:16 +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 4BVAcGLi002378 for ; Tue, 31 Dec 2024 10:38:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVAcGMY002377 for net@FreeBSD.org; Tue, 31 Dec 2024 10:38:16 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: net@FreeBSD.org Subject: [Bug 280037] KTLS with Intel QAT may trigger kernel panics Date: Tue, 31 Dec 2024 10:38:15 +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: 14.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 3226388001@jcom.home.ne.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280037 ss3bsd <3226388001@jcom.home.ne.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|14.1-RELEASE |14.2-RELEASE --- Comment #14 from ss3bsd <3226388001@jcom.home.ne.jp> --- Another (reproducible) panic while high TX load is found. Something (such as infinite loop) is happening in this path? *** /* * Caller marked the request to be processed immediately; dispatch = it * directly to the driver unless the driver is currently blocked, in * which case it is queued for deferred dispatch. */ cap =3D crp->crp_session->cap; if (!atomic_load_int(&cap->cc_qblocked)) { result =3D crypto_invoke(cap, crp, hint); if (result !=3D ERESTART) return (result); /* * The driver ran out of resources, put the request on the * queue. */ } ** -- Now on FreeBSD 14.2 (kgdb) backtrace #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown= .c:405 #2 0xffffffff809908e7 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:523 #3 0xffffffff80990dbe in vpanic (fmt=3D0xffffffff8100a112 "double fault", ap=3Dap@entry=3D0xfffffe003a415e40) at /usr/src/sys/kern/kern_shutdown.c:967 #4 0xffffffff80990c13 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:891 #5 0xffffffff80e87f6e in dblfault_handler (frame=3D) at /usr/src/sys/amd64/amd64/trap.c:1012 #6 #7 0xffffffff80e49460 in bounce_bus_dmamap_load_buffer (dmat=3D0xfffff801ceb14700, map=3D0xffffffff81a27d90 , buf=3D0xfffff807af688ad8, buflen=3D5, pmap=3D0xffffffff817514d0 , flags=3D1, segs=3D0x0, segp=3D0xfffffe014e2c90d4) at /usr/src/sys/x86/x86/busdma_bounce.c:741 #8 0xffffffff809d4699 in _bus_dmamap_load_buffer (dmat=3D0xfffff801ceb1470= 0, map=3D0x0, buf=3D0xfffff807af688ad8, buflen=3D18446744071589494160, flags= =3D1, segs=3D0x0, segp=3D0xfffffe014e2c90d4, pmap=3D) at /usr/src/sys/x86/include/bus_dma.h:166 #9 _bus_dmamap_load_mbuf_epg (dmat=3Ddmat@entry=3D0xfffff801ceb14700, map=3Dmap@entry=3D0x0, m=3D0xfffff807af688a00, segs=3Dsegs@entry=3D0x0, nsegs=3Dnsegs@entry=3D0xfffffe014e2c90d4, flags=3D1) at /usr/src/sys/kern/subr_bus_dma.c:176 #10 0xffffffff809d4431 in _bus_dmamap_load_single_mbuf (dmat=3D0xfffff801ceb14700, map=3D0x0, m=3D0xfffff807af688ad8, segs=3D0x0, nsegs=3D0xfffffe014e2c90d4, flags=3D1) at /usr/src/sys/kern/subr_bus_dma.c:220 #11 bus_dmamap_load_crp_buffer (dmat=3D0xfffff801ceb14700, map=3D0x0, cb=3D= , callback=3D0xffffffff83000840 , callback_arg=3D0xfffffe014e2c9138, flags=3D1) at /usr/src/sys/kern/subr_bus_dma.c:554 #12 0xffffffff82fff7ad in qat_ocf_process () from /boot/kernel/qat.ko #13 0xffffffff80c99700 in crypto_dispatch_one (crp=3D0xfffff807a8af10b8, hi= nt=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #14 crypto_dispatch (crp=3D0xfffff807a8af10b8) at /usr/src/sys/opencrypto/crypto.c:1448 #15 0xffffffff80ca1cf7 in ktls_ocf_dispatch_async_cb (crp=3D0xfffff801ceb14= 700) at /usr/src/sys/opencrypto/ktls_ocf.c:246 #16 0xffffffff82fff801 in qat_ocf_process () from /boot/kernel/qat.ko #17 0xffffffff80c99700 in crypto_dispatch_one (crp=3D0xfffff807a8af10b8, hi= nt=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #18 crypto_dispatch (crp=3D0xfffff807a8af10b8) at /usr/src/sys/opencrypto/crypto.c:1448 #19 0xffffffff80ca1cf7 in ktls_ocf_dispatch_async_cb (crp=3D0xfffff801ceb14= 700) at /usr/src/sys/opencrypto/ktls_ocf.c:246 #20 0xffffffff82fff801 in qat_ocf_process () from /boot/kernel/qat.ko #21 0xffffffff80c99700 in crypto_dispatch_one (crp=3D0xfffff807a8af10b8, hi= nt=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #22 crypto_dispatch (crp=3D0xfffff807a8af10b8) at /usr/src/sys/opencrypto/crypto.c:1448 : omit : #245 0xffffffff80c99700 in crypto_dispatch_one (crp=3D0xfffff807a8af10b8, h= int=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #246 crypto_dispatch (crp=3D0xfffff807a8af10b8) at /usr/src/sys/opencrypto/crypto.c:1448 #247 0xffffffff80ca1cf7 in ktls_ocf_dispatch_async_cb (crp=3D0xfffff801ceb1= 4700) at /usr/src/sys/opencrypto/ktls_ocf.c:246 #248 0xffffffff82fff801 in qat_ocf_process () from /boot/kernel/qat.ko #249 0xffffffff80c99700 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff807a8af10b8, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #250 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff807a8af10b8) at /usr/src/sys/opencrypto/crypto.c:1448 #251 0xffffffff80ca16bd in ktls_ocf_dispatch_async (state=3D0xfffff801ceaf8= 420, crp=3D0xfffff807a8af10b8) at /usr/src/sys/opencrypto/ktls_ocf.c:268 #252 ktls_ocf_tls13_aead_encrypt (state=3D0xfffff801ceaf8420, tls=3D0xfffff805c1fec108, m=3D0xfffffe014c5687c0, outiov=3D0xfffff801ceaf80= 00, outiovcnt=3D0) at /usr/src/sys/opencrypto/ktls_ocf.c:856 #253 0xffffffff80a2807e in ktls_encrypt_async (wq=3Dwq@entry=3D0xfffff804cc= 22c680, top=3Dtop@entry=3D0xfffff807af688a00) at /usr/src/sys/kern/uipc_ktls.c:3108 #254 0xffffffff80a27a36 in ktls_work_thread (ctx=3Dctx@entry=3D0xfffff804cc= 22c680) at /usr/src/sys/kern/uipc_ktls.c:3254 #255 0xffffffff8094a75f in fork_exit (callout=3D0xffffffff80a26a50 , arg=3D0xfffff804cc22c680, frame=3D0xfffffe014e2ccf40) at /usr/src/sys/kern/kern_fork.c:1164 #256 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 11:29:37 2024 X-Original-To: net@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 4YMrNK6T4Rz5jJh6 for ; Tue, 31 Dec 2024 11:29:37 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMrNK4KYwz4ZRS for ; Tue, 31 Dec 2024 11:29:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735644577; 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=6/hveySMOzOc7ZCPYL4RBxSWUldaMlW0/F+3HkNCadw=; b=BSgaMAep4FQiaHTfDKtz97Gv1g8ljJQTA/gb/3moUUGWSnRpanJcNAyLzNfkHhNRLVH5rg 3vzkc7qFM5eeP0eHbJyA/BaW/HQln56zF6D/KqTP6kP1Y3IGK00fCaRC3CrNiiJnuleYWT ISRhI8ztcJ8+qkcvh8L9Ro7dGNipBT059+TQtNoYV1d9AAglNRY4tXA1Ddeegm9q950PW3 qO+lLTEevZukbW19JxoEh8l4vMG6o+O8oNP4uRvB0fX29xiT5GXPTZ6Hqx1S+Ijxb6REjp Tg4YFGaMQbSYTDjOQPFHVQc33Qmw6CFH5O+nQaHcOE4vOSrMDZOjQDfOl2pL6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735644577; a=rsa-sha256; cv=none; b=xem2l/aP3y511Q0gjznSGJrf9kQqWgJeLTshgRtp5GqwF8kkkne8/be4ELRcJdj5x/AyJd /fAxp7iPVden5XTP9iduCwFHBvK4DkcA/N/khSRqOy+mmGky/vImYDfEWuVPj+jIPAeec6 +dwNXVIMHREJm+YI2OI9k9nh/ZpsRqwQofd16cPmjVJsJRChMT7soV67Yyfse3CumL8KQ3 r47SB+Wng/iAb0k0pgBOKKv691+rqUkJ0xwD/rexXCjaB+oNZf+UeuPy0No6MfyV8XzIAc nQknKCF9a8Csp5jaI/nvgNuMPKnI4b3HTICFGILfFQQZf43ZIyelBhvJKjqKUg== 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 4YMrNK3kTKzcRX for ; Tue, 31 Dec 2024 11:29:37 +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 4BVBTb7S092315 for ; Tue, 31 Dec 2024 11:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVBTbT5092314 for net@FreeBSD.org; Tue, 31 Dec 2024 11:29:37 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: net@FreeBSD.org Subject: [Bug 280037] KTLS with Intel QAT may trigger kernel panics Date: Tue, 31 Dec 2024 11:29:37 +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: 14.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 3226388001@jcom.home.ne.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280037 --- Comment #15 from ss3bsd <3226388001@jcom.home.ne.jp> --- (In reply to ss3bsd from comment #14) My reproducing procedure for the panic above is: 1. modify wget in ports to use KTLS and build it work/wget-1.25.0/src/openssl.c: ** ssl_init (void) { SSL_METHOD const *meth =3D NULL; - long ssl_options =3D SSL_OP_ENABLE_KTLS; + long ssl_options =3D 0; char *ciphers_string =3D NULL; #if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >=3D 0x10100000L) int ssl_proto_version =3D 0; ** 2. run several instances of POST=20 /usr/ports/ftp/wget/work/stage/usr/local/bin/wget --post-file=3DVERY_LARGE= _FILE --no-check-certificate -O /dev/null https://A_SERVER_OVER_10GbEther/ &=20 /usr/ports/ftp/wget/work/stage/usr/local/bin/wget --post-file=3DVERY_LARGE= _FILE --no-check-certificate -O /dev/null https://A_SERVER_OVER_10GbEther/ &=20 /usr/ports/ftp/wget/work/stage/usr/local/bin/wget --post-file=3DVERY_LARGE= _FILE --no-check-certificate -O /dev/null https://A_SERVER_OVER_10GbEther/ &=20 /usr/ports/ftp/wget/work/stage/usr/local/bin/wget --post-file=3DVERY_LARGE= _FILE --no-check-certificate -O /dev/null https://A_SERVER_OVER_10GbEther/ &=20 /usr/ports/ftp/wget/work/stage/usr/local/bin/wget --post-file=3DVERY_LARGE= _FILE --no-check-certificate -O /dev/null https://A_SERVER_OVER_10GbEther/ & --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jan 1 23:51:37 2025 X-Original-To: net@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 4YNmp272jtz5jPsp for ; Wed, 01 Jan 2025 23:51:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YNmp25t4Sz3xlW for ; Wed, 1 Jan 2025 23:51:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735775498; 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=nAZGRhtFahNJaHdq4fCQixPBRLrU+f9hwsEYuMke/4A=; b=x5L2E+D3RebWGPauVGVLP/nyBwlkqbD5JrvUosqmfNZgoqRwtlgIehsrMud+inRPtRJ630 tan3z3zKNO2S6cJNMTqpvm3wtlQcLdrDuM3q8JrVZyPoaq3pSUOO/DgZICkPEv0Wtnp0dA M0mMNTCrrBpqZgqxAFQTkspZyhJVpw55gQWYLPXI+vfnrAKLnQdxIw6fjFLjauRgJfIRCD Halt/5/L7rdeqldXIlzd8ykmHJVAr5Q+EWbHt7GRq7VVNJAxEzA8B2FkQ2teaoFfZeRRXv mi2IcHNevEJ+ZkgeyY4x3VMOW+hOrLSko7P3y7DE+cMkgtZCWcYQztkzK9jmwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735775498; a=rsa-sha256; cv=none; b=sP5Jf+6wQt4Tr+fxk7yZsThbXC8aFn2VqYdwQqKBCksBcstK7tOgWwvVPOkIraKc50+mkM IbiYzdvILwh8gGiIqCqnpQV7d0x1H3XRb1cXWTcPu+WVbYp7bkRwebcCdtX3+88EGichY+ xHtyv6Us9KnYH94PDspc0UxMG/SJCBIWxs9L0ZNjjW+/kkVaBhFCSWvedMkkm0VQ8uD1+Y 8e4NXW0LpxQwR8sefwdZQcKM5jyi64pVKBfepTvkofdXUOFSZFCr7t49qHbWsEKvAyOgZK 1uOkXNIT3f/4RcgyoiGVp1/emZQVRrPnistjMwihQnfqGVOqr4ZVAXjLxp2dwg== 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 4YNmp25QwczlHY for ; Wed, 1 Jan 2025 23:51:38 +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 501NpcSe016674 for ; Wed, 1 Jan 2025 23:51:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 501Npc1k016653 for net@FreeBSD.org; Wed, 1 Jan 2025 23:51:38 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: net@FreeBSD.org Subject: [Bug 280037] KTLS with Intel QAT may trigger kernel panics Date: Wed, 01 Jan 2025 23:51:37 +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: 14.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 3226388001@jcom.home.ne.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280037 --- Comment #16 from ss3bsd <3226388001@jcom.home.ne.jp> --- Created attachment 256331 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256331&action= =3Dedit draft patch that addresses comment no.11 and 14 I have tried to create a draft patch (attached) for comment no.11 (resource leak) and 14 (panic). With high TX load test & kldunload qat, Before applying this patch (for no.11): qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: waiting for session un-busy failed=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: waiting for session un-busy failed=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: waiting for session un-busy failed=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: waiting for session un-busy failed=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: waiting for session un-busy failed=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: waiting for session un-busy failed=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: waiting for session un-busy failed=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 qat_ocf0: unable to remove encrypt session=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 qat_ocf0: detached=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Warning: memory type qat_ocf leaked memory on destroy (250 allocations, 102= 4000 bytes leaked).=20=20=20=20=20=20 qat0: qat_dev0 stopped 6 acceleration engines=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 qat0: Resetting device qat_dev0=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 qat0: detached=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 After (EAGAIN logs are added this time for debug): % dmesg | tail=20 qat_ocf0: EAGAIN cpaCySymDpEnqueueOp qat_ocf0: EAGAIN cpaCySymDpEnqueueOp ktls_ocf_dispatch_async_cb EAGAIN DELAY ktls_ocf_dispatch_async_cb EAGAIN DELAY qat_ocf0: EAGAIN cpaCySymDpEnqueueOp ktls_ocf_dispatch_async_cb EAGAIN DELAY qat_ocf0: EAGAIN cpaCySymDpEnqueueOp qat_ocf0: EAGAIN cpaCySymDpEnqueueOp ktls_ocf_dispatch_async_cb EAGAIN DELAY ktls_ocf_dispatch_async_cb EAGAIN DELAY qat_ocf0: detached qat0: qat_dev0 stopped 6 acceleration engines qat0: Resetting device qat_dev0 qat0: detached --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jan 2 02:52:59 2025 X-Original-To: net@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 4YNrqM4MGTz5jsdt for ; Thu, 02 Jan 2025 02:53:03 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YNrqM0kqpz4Ky2 for ; Thu, 2 Jan 2025 02:53:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735786383; 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=4+riHYGgBMLsxxw2aXPjjTpElZlRpZJsTj2oZ8fN5rk=; b=mCefudzNeUvqLp0f4hLRk5VwLAbcSMf/iuAHtIR3p8ZJNZR+7aEYtXEyvZcmN7mctKyAfW XemeTR7fKSyiIN/mTAiL3l3U1Tj4ioDvk9GWU6PnHtUaYD227X78IE4wr+ZMR96PognUX5 GllTw7yiwh8dQNwQ8grbhB2RiOlajHq8vOrqYT8jVc/Yeil8Fm/XYYVtlDYRFnlkhcYoH9 1poI5pxOS6fyJ3SfyF+zVvK742l5oXekw2y6qxBT2/dKL5JQDL7Wbb9n+aZwLhNuoCR6Dt AZctPkMNidwybvOfmWg8aso4wEoEhHR1SUtSfgtaCqsifE/I0sLN+UM3lEYV/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735786383; a=rsa-sha256; cv=none; b=dTz27qHXQ7SeNKwTacSrYkCb0S5dM8g64wkgRTbbvwVCmzdn4US5M6ntJbXtpvZoIUClSD ZZe1khGRHEJxUWiJJhkKk9DL5F6+gRpQUeL9df/q/tQMyKTjC243Kh7w8V/j16geiYHyee QLvu74Ui7SGIdvbYfR5eeLt5KNRQAVpzv41ysml5L9LxrSzDaIUaJ2tt29FqFd+zvcPSiK Ad0yBCi2Hc5PotRF4m87GsdnT5b0cpbAaNtgC/tRJ8PYnN6pDr5W03SLv4cSC7FBBJ+dxv 4IufEnhr+jSZh85G5k+CCUgnhxgMQ6YvkIBJcyoOAe1K6ZA6VZDr4fn81QCkHQ== 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 4YNrqM0MWZzrFX for ; Thu, 2 Jan 2025 02:53:03 +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 5022r2xT027644 for ; Thu, 2 Jan 2025 02:53:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5022r2Wc027643 for net@FreeBSD.org; Thu, 2 Jan 2025 02:53:02 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: net@FreeBSD.org Subject: [Bug 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host Date: Thu, 02 Jan 2025 02:52:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@jnielsen.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165059 --- Comment #39 from John Nielsen --- (In reply to John Nielsen from comment #36) I was mistaken, my KVM-hosted router does suffer from this issue. So even m= ore happy to test patches than previously stated. What needs to happen in terms of fixing (or ignoring) the bad checksums for= the NAT case and where? In the firewall/NAT code? vtnet driver? Somewhere else? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Jan 2 11:29:54 2025 X-Original-To: net@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 4YP4Hm2fNhz5j5qw for ; Thu, 02 Jan 2025 11:29:56 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YP4Hm0yv7z475B for ; Thu, 2 Jan 2025 11:29:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735817396; 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=BJi3nE8Tq1Jzne4MJuyrc4kwELw7pIhF7WXu2L+5lsc=; b=cYX/lSHw2rV0aX+LETmfK9DoXE22BE7GNMxCuvcrCCAOaWGfKr6zecyZ6U6CLZBnw3p7Cb FhZdGSrgULmxvnewdrmCnuactvn1N1QbDIP2l5xg5idyK4Q3siEgwdY6Eh81R9rr6JSpOd yof/VkeBUbew5GLUsTL/s7ytOEFxECe1kykycxbmdF4k8ycPfqskLtG58FcGs/0PPwWCmx 2r0exCt0jZFz+NKCTlhK6Fx7yEMq6/H9fqzFsHJDw0NKwtePLPawSnu25iWbUHzLRWGnxe Ehh0xtdHQjCC+H6fKNKk63n8YZw8ttPjH5JrUJeaB2G+k2j91jjqN9Wgz6TXGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735817396; a=rsa-sha256; cv=none; b=D5BITqD4Ge5sTWLeHQvDxKsPfk3/H3KD4/PF5uWksnK0ST0A7Nnk82egD3cDeunnPW4oJN C0BrBiKQSt//0547RsQQdfDR6flBqKoNz6JxNCIOeufqpZG6aurfcuIpptGXAUVNcqBuOG E4Jf4g1NblBQOO9uh5YTEwyEgsJXvmx7j2sFgeR2sTWEhdb1Bvkaw9zObuq3QijBYCpuJc 05usb/aIcqDB1dm5u02Ge6+CPfBhtuhkLgVAosqzGCnI36q9DJp5ZVLhsg4Zh97Awe8gfr bMczbWnlKh9fluebE8GlclSmFB8iZMQfQQiElMFss13wyZnbm+ZuPy3vNS8VKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YP4Hm0474zbSm for ; Thu, 02 Jan 2025 11:29:56 +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 502BTtQp050740 for ; Thu, 2 Jan 2025 11:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 502BTtMw050739 for net@FreeBSD.org; Thu, 2 Jan 2025 11:29:55 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: net@FreeBSD.org Subject: [Bug 280037] KTLS with Intel QAT may trigger kernel panics Date: Thu, 02 Jan 2025 11:29:54 +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: 14.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 3226388001@jcom.home.ne.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280037 --- Comment #17 from ss3bsd <3226388001@jcom.home.ne.jp> --- Created attachment 256343 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256343&action= =3Dedit experimental patch that utilizes extra IRQ instances of QAT driver I have created an experimental patch that utilizes extra IRQ instances (wit= h a queue for each) of QAT driver, which might improve the performance on high = load where driver stalls (EAGAIN) occur. This patch introduces a sysctl entry to switch the behavior. With the option enabled (dev.qat.0.use_extra_instances=3D1),=20 - I see fewer driver stalls in question - I could not actually confirm the throughput improvement because 10GbE is saturated even with the option disabled IRQ statistics shown in sysctl after some traffic: % sysctl -a | grep qat | grep irq irq105: qat0:b0:217 @cpu0(domain0): 315445 irq106: qat0:b1:219 @cpu0(domain0): 197384 irq107: qat0:b2:221 @cpu0(domain0): 0 irq108: qat0:b3:223 @cpu0(domain0): 0 irq109: qat0:b4:225 @cpu0(domain0): 0 irq110: qat0:b5:227 @cpu0(domain0): 0 irq111: qat0:b6:229 @cpu0(domain0): 0 irq112: qat0:b7:231 @cpu0(domain0): 0 irq113: qat0:b8:233 @cpu0(domain0): 0 irq114: qat0:b9:235 @cpu0(domain0): 0 irq115: qat0:b10:237 @cpu0(domain0): 0 irq116: qat0:b11:239 @cpu0(domain0): 0 irq117: qat0:b12:241 @cpu0(domain0): 0 irq118: qat0:b13:243 @cpu0(domain0): 0 irq119: qat0:b14:245 @cpu0(domain0): 0 irq120: qat0:b15:247 @cpu0(domain0): 0 irq121: qat0:ae:249 @cpu0(domain0): 0 % sysctl -a | grep qat | grep irq irq105: qat0:b0:217 @cpu0(domain0): 117087 irq106: qat0:b1:219 @cpu1(domain0): 303001 irq107: qat0:b2:221 @cpu2(domain0): 631575 irq108: qat0:b3:223 @cpu3(domain0): 536653 irq109: qat0:b4:225 @cpu4(domain0): 534724 irq110: qat0:b5:227 @cpu5(domain0): 697166 irq111: qat0:b6:229 @cpu6(domain0): 708141 irq112: qat0:b7:231 @cpu7(domain0): 726079 irq113: qat0:b8:233 @cpu0(domain0): 0 irq114: qat0:b9:235 @cpu1(domain0): 0 irq115: qat0:b10:237 @cpu2(domain0): 0 irq116: qat0:b11:239 @cpu3(domain0): 0 irq117: qat0:b12:241 @cpu4(domain0): 0 irq118: qat0:b13:243 @cpu5(domain0): 0 irq119: qat0:b14:245 @cpu6(domain0): 0 irq120: qat0:b15:247 @cpu7(domain0): 0 irq121: qat0:ae:249 @cpu0(domain0): 0 Related topic found: https://forums.freebsd.org/threads/qat-engines-and-cryptodev-usage-underuti= lised-card.95415/ Note that how many engines used (discussed at the topic) is perhaps irrelev= ant to how many IRQs used. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jan 2 12:12:42 2025 X-Original-To: net@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 4YP5F648Mlz5j7wc for ; Thu, 02 Jan 2025 12:12:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YP5F6115bz4CYP for ; Thu, 2 Jan 2025 12:12:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735819962; 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=dD15QymlXoWNO3Exyv86cQZxyANkO+81esyemDt0J58=; b=ENXE/I2lCmXc9npvM2i+6R0fHc9GBvT+s1cK/sVQ52GGmxlFUseCrk375JMbS4mQzbLXUq gNys9MEsRgL9EwVInUnvDG1HQtox2o1zadM7jj4KUOdmL+IRkGGnz0plxDIKu+ERY9wF9y ia4tnnLpLA0zXbw8gmzcNTXBj47zxb8s+T8aK45xB4rCjSAh2SFg47UYK5KyHYiCyKg6iy uyzScmoqd2lYZpU3LsmorJ5z1SmO9gVcKP5qxmI18gyT9VCyfvE38X0NELFDiW8/nWQ2P9 k1VXH9L0HluQ8KHE092YGYTGUEPOZ6iaN/B4BN9OZVFl0AXHFfZN+cEiKLWKhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735819962; a=rsa-sha256; cv=none; b=XDZCAONaFdmmCiexJuAvCW1ubGzX9ZNzo8ukPgEH15lE3AzWMCTvdbViou2Bi9eKKK4IU5 V3NcZrYVBgJDvBLShfcnrHnzaD8muqmBM8U/tPj5ZBda4jvcMbp7exuIdcqnKf5CXApka1 EAt56tyMBptpsrD2aY0jeCKjGmrBMUUdVYZE4LM/pkJEJYkS54bQ3Eli92NliDXdvPavh6 i6C3OLsBuahpwIRLbyUy0cli54HHWo1X6ZU0P6vFEIfIjxzbvr8k4f8Pww3wmYBu89CHVV Y9NOigEcqmM6XSiBIwA4BUUXwzDtoHBkxR88Ey9KWjCbQCXA4eoicf28GeBHGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YP5F60LY5zcTc for ; Thu, 02 Jan 2025 12:12:42 +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 502CCfpt034704 for ; Thu, 2 Jan 2025 12:12:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 502CCf72034703 for net@FreeBSD.org; Thu, 2 Jan 2025 12:12:41 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: net@FreeBSD.org Subject: [Bug 280037] KTLS with Intel QAT may trigger kernel panics Date: Thu, 02 Jan 2025 12:12:42 +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: 14.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 3226388001@jcom.home.ne.jp X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280037 --- Comment #18 from ss3bsd <3226388001@jcom.home.ne.jp> --- By the way, the current QAT driver seems to accept more types of cfg_servic= es value than the Manual mentions. -- static const char *const cfg_serv[] =3D { "sym;asym", "sym", "asym", "dc", "sym;dc", "asym;dc", "cy", "cy;dc" }; -- man qat: cfg_services Override the device services enabled: symmetric, asymmetric, d= ata compression. Possible values: "sym", "asym", "dc", "sym;dc", "asym;dc", "sym;asym". Default services configured are "sym;asym" for even and "dc" for odd devices. -- "cy;dc" is actually accepted: % sysctl -a | grep cfg_services dev.qat.0.cfg_services: cy;dc --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jan 2 18:23:03 2025 X-Original-To: net@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 4YPFSS51G0z5jnQl for ; Thu, 02 Jan 2025 18:23:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YPFSS3vV7z4t0b for ; Thu, 2 Jan 2025 18:23:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735842184; 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=MmQ6Yk9J7Asmyw9o6Cfp9PeaT1OerWmsQDyDsp42blM=; b=MwQec3Af6L2kIrBT8iNZUy1rc0y0fCLk6+Jeic4KOnKvtgtul2tQ2JNC9jnPVmSdHk7/mI TBrdFGUP/IvdvGa3d/wGcAI3Beb5VSjwhnx5ft9HCpQHosWpqjMWCemjCEc9myVXwAmJEO o7M3dtB2QswtiC9WCynCw9mJ4nBUeXCT6W1dUCVLUN3dlZWT9VuPjg6cveVTeKhJSgqzpS KElddHYYOP7qd4pIOQhOiFxtEmBmLgM9HLV22Gi9nAr868QlEluXfCiwWgKO6eWMAOVqgc 2elRN+qgFfWPoS2ijmdrXiQqXCNReUgI3FJ7D/OJxccwyMTgcYUB/dDtbr89Ow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735842184; a=rsa-sha256; cv=none; b=J61I7HitoherNv4n7H71sNbClNHmn5CwGp8E2E3otVoM3fGh55LzZJJvJY/gznnz/KynFQ fNhyq8Lix8VY3GSXLiCbk+JqcVR5BotbjY0JX6ZnzTzNFjxxQTaRt+W9hPMgpMAVKDsGK6 nfN8XJ4JRi2I6OPwkhcpxn3zgEtnGW5ivqUO9VJchGfECG21frCThjGMdjcWrFoMB0UyU6 C8yj+6YYDQqCnX+acQ2BUpoOrk8hyBmZDlI82C3rlhnDoMTtMiQnECPaP67eTAaB6WlaMA HYN9t5jp96qBQG5Q1VPZkmwAlBon1IUpXmdv8iHXjvtje5y2pFrULLskOZ5EyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YPFSS3X2nznwv for ; Thu, 02 Jan 2025 18:23:04 +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 502IN4aB042843 for ; Thu, 2 Jan 2025 18:23:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 502IN4SE042842 for net@FreeBSD.org; Thu, 2 Jan 2025 18:23:04 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: net@FreeBSD.org Subject: [Bug 283797] netlink's npt_clear() should set npt->cookie = 0 Date: Thu, 02 Jan 2025 18:23:03 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283797 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jan 2 18:30:04 2025 X-Original-To: net@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 4YPFcX6tf1z5jnm9 for ; Thu, 02 Jan 2025 18:30:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YPFcX53s4z4xYk for ; Thu, 2 Jan 2025 18:30:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735842604; 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=EanL609y+KhyxAd3MiLdi/SNFbSQVLIe5Th/RgNhHLE=; b=Ra9053IaqD7hUyYRlTB7GHUYwugQzO03X1jdtpA9kivgGYWxNVR94EcM7cThSmarZfbLG1 dzeZotTqwOryN/F2zmr8Z5oATeswIJfQ1PbDzTOLILjtZb0jdt6deGnJ6e3HrSTrUa974s qkWq7zPJx+nobmIKihX8grhm47Ri4ZAKO0WDT2m1s7oemkV3C5UjZq6x+hzHKzGcJNdzzw RKECi4/jjmd9vFROtQiQq8LjoYcivtvv1XDuC/MN5lKZOrPr3+NBTSkJ3zi93R/Tn0zjpg /Kdiga8fnMEVknAm+nFoyyQUYS0Da0c02RRrjCdeodhBRF4mQkEo8jXwflIuSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735842604; a=rsa-sha256; cv=none; b=L2m3ZeyIp/Tm/xPk+F4npk9Iz88Vd1Gy6YuPtk0ddoLymtxeIN3gfMNmjh8RL4NSE23UJF LP3EMiPkYNIGa2lKReToR9WVe/VQFmbgnrNqm2jezw9JM+R8qMJ3eGVhA0yuhJ8f9o/dxG Qouw9UTwV2dnFJ5rFeUfC9T5QmGzeY0BxzRp0I0S5i8sC486WRd+5gJWp13RQ2hR6g5HcQ UwUEPGQlf/x0fopGYPJ3xdPos4lvjMtOxtSKsJDfiR1/Ebb+He5wWsSv1Ah5qLX50b/0OO 9QxToXDeTPnuIo7Tcib5dFXx2Hg1066WTv4pxZBzR6LMigAt5phOgxYjqxSjfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YPFcX4DYkzpM2 for ; Thu, 02 Jan 2025 18:30:04 +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 502IU4aj048018 for ; Thu, 2 Jan 2025 18:30:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 502IU4Vk048017 for net@FreeBSD.org; Thu, 2 Jan 2025 18:30:04 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: net@FreeBSD.org Subject: [Bug 283797] netlink's npt_clear() should set npt->cookie = 0 Date: Thu, 02 Jan 2025 18:30:04 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283797 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |melifaro@FreeBSD.org CC| |melifaro@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jan 3 02:49:24 2025 X-Original-To: freebsd-net@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 4YPShp3BKLz5kHwh for ; Fri, 03 Jan 2025 02:49:30 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YPShp2Yd0z4Vr1; Fri, 3 Jan 2025 02:49:30 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735872570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uUfNk/m5sNUO6GxfT/XNqW+lMxOgXMraVC1PLO/KPzM=; b=dqJzSvTj5zzPF9B8flHA0d9x5/ziP1812mCDqSzfqxvsSZQCeqS9MJdmrx0oOSYD08+2vL GpUUUIPDKBje/QK+B7RtjYe+KYyqwA8GEQWCuIhkbi4+G00wUO6zVj8M4RuqF7zXpY1cDL 1gfIvBXq5I5aLqxKrBoRCqB2izuoKaVEiFFo2TqadtsmJXmePtanV42JY8k+ufx6kbPvAv p6SOAAXnz1DK9GddayH66Y3k/MjPBHQ75o8q1ccQoek1Tc5sIVGGMX1ed78SuJwUwOw8uX BQ2bKavdBnNLZoWLb/JSv4/IwRtXxR/WPPlLAn4OTeFWple36rnLJGtabzMPwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735872570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uUfNk/m5sNUO6GxfT/XNqW+lMxOgXMraVC1PLO/KPzM=; b=j0jOeYkiRV886j4NxiPeTWxfgTtBTCEvdnNRwYhYVI4J1l7CdtASuScW91DDfMUd4HLOGV 0rudQwXKxo6fSFwIChZiAJC1S8iWI/7U5grnjeqjXIm0vDcPKSZ1qH2yFTJjMRBp798y+c ruUvbJDRYNYxNA1F1zG+YQ6DxqLIF9oBXvBrT6MZDuV+1qc0p/yd9/9a6XfLH21OLKcf4G soXjqHYIk4DcpB10vmjmCmQwhRZjyPu/zAIEz0x9dVZSBDsrx/XX5ZDx7EwXh4/BcEJh21 /ZNYLtJCMesgTJIbSStIAliasJgD3k+F8nsADp/J9iNAOwbSunCnQcxi22dvwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735872570; a=rsa-sha256; cv=none; b=UNAV+pMMNF4fieIae7O+mNveYUAin5xGQV1yFc4uuU79eDOvmBLn+aTL8ez0BOc6GgsDRD 18Tcr1gYiENd/JvZs5lnfRwaZd3TvUp3LXtX7jAeAxWSJL5qMKUwIT/lq6/TQGF25jwn7J 7gavZl7jCSbSc8yoJSaYIaEoqpXSFk6S+GAm+nlPzgMmQWZ/G8V5UsmUVzMK/ls6BvNHQV G9zDqVkUzk4hhanpm0MTiSUM5NitjFSrjSyNCH4ZeqCQWKaTa87P6v3L6yFALv3JoYlGaY J9sgaV3iMty0DZVAMjVFGcQFvzPZ8BfsVYryDYoyDXtSLErL/+HmkS5EqCNgEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YPShm5Lb8z138T; Fri, 03 Jan 2025 02:49:28 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: if_axp (AMD 10Gb) never detects a link on Ryzen v3000 embedded board (on FreeBSD 14.2) From: Zhenlei Huang In-Reply-To: Date: Fri, 3 Jan 2025 10:49:24 +0800 Cc: "freebsd-net@freebsd.org" , "andrew@freebsd.org" , rajesh1.kumar@amd.com, Franco Fichtner Content-Transfer-Encoding: quoted-printable Message-Id: <478581BA-CC9B-4FEB-9E23-FED19D0C9314@FreeBSD.org> References: To: Rebecca Cran X-Mailer: Apple Mail (2.3696.120.41.1.10) Hi, > On Dec 31, 2024, at 11:10 AM, Rebecca Cran wrote: >=20 > I recently bought a slightly funky device with hopes of using it as a = router: it's a SolidRun Ryzen v3000 = (https://shop.solid-run.com/product/SRRV318S01D64GE000H10IH/) with a = "AMD Ryzen Embedded V3C18I 8-Core Processor". >=20 > It has 2x AMD 10 Gigabit EthernetSFP+ ports built-in, but I'm having = trouble getting FreeBSD to detect a link. I'm using a FS SFP-10GSR-85 = transceiver connected to a Zyxel XS1930-10 switch: the switch shows the = link as active, but FreeBSD never detects it on its end. I've tried = setting dev.ax.{0,1}.link_workaround=3D1 but it doesn't have any effect. >=20 >=20 > = https://solidrun.atlassian.net/wiki/spaces/developer/pages/592904196/Honey= Comb+AMD+V3000+mini+ITX+Quick+Start+Guide mentions that "As of JUL 7 = 2024 (FreeBSD 14.01) the AMD XGBE driver on FreeBSD does not fully = support SFP later version will eventually have the driver fixed" and I'm = wondering if there's any active work on this, any workarounds, or if I = should try 14-STABLE instead? IIRC, Franco reported that those cards work greatly with FS transceivers = ? >=20 >=20 > Boot dmesg shows: >=20 > ax0: mem = 0xfce60000-0xfce7ffff,0xfce40000-0xfce5ffff,0xfce82000-0xfce83fff at = device 0.2 on pci4 > ax0: Using 512 TX descriptors and 512 RX descriptors > ax0: Using 3 RX queues 3 TX queues > ax0: Using MSI-X interrupts with 7 vectors > ax0: Ethernet address: d0:63:b4:05:b4:a7 > ax0: SPH Enabled > ax0: xgbe_config_sph_mode: SPH enabled in channel 0 > ax0: xgbe_config_sph_mode: SPH enabled in channel 1 > ax0: xgbe_config_sph_mode: SPH enabled in channel 2 > ax0: RSS Enabled > ax0: Receive checksum offload Enabled > ax0: VLAN filtering Enabled > ax0: VLAN Stripping Enabled > ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2 > ax0: netmap queues/slots: TX 3/512, RX 3/512 > ax1: mem = 0xfce20000-0xfce3ffff,0xfce00000-0xfce1ffff,0xfce80000-0xfce81fff at = device 0.3 on pci4 > ax1: Using 512 TX descriptors and 512 RX descriptors > ax1: Using 3 RX queues 3 TX queues > ax1: Using MSI-X interrupts with 7 vectors > ax1: Ethernet address: d0:63:b4:05:b4:a8 > ax1: SPH Enabled > ax1: xgbe_config_sph_mode: SPH enabled in channel 0 > ax1: xgbe_config_sph_mode: SPH enabled in channel 1 > ax1: xgbe_config_sph_mode: SPH enabled in channel 2 > ax1: RSS Enabled > ax1: Receive checksum offload Enabled > ax1: VLAN filtering Enabled > ax1: VLAN Stripping Enabled > ax1: netmap queues/slots: TX 3/512, RX 3/512 >=20 >=20 > When I run "ifconfig ax1 up": >=20 > # ifconfig ax1 up > ax1: SPH Enabled > ax1: xgbe_config_sph_mode: SPH enabled in channel 0 > ax1: xgbe_config_sph_mode: SPH enabled in channel 1 > ax1: xgbe_config_sph_mode: SPH enabled in channel 2 > ax1: RSS Enabled > ax1: Receive checksum offload Enabled > ax1: VLAN filtering Enabled > ax1: VLAN Stripping Enabled >=20 >=20 > But "ifconfig ax1" still shows: >=20 > ax1: flags=3D8843 metric 0 mtu = 1500 > = options=3D4e503bb > ether d0:63:b4:05:b4:a8 > media: Ethernet autoselect > status: no carrier > nd6 options=3D29 >=20 >=20 > --=20 > Rebecca Cran >=20 >=20 From nobody Fri Jan 3 13:50:00 2025 X-Original-To: net@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 4YPlLw5th4z5k12n for ; Fri, 03 Jan 2025 13:50: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YPlLw4sH2z4KRg for ; Fri, 3 Jan 2025 13:50:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735912200; 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=gqOBBES4fv/FmCa8t41+RzSvEh0EGUDJfn5T6Esg9UQ=; b=h/Zt7aMG9Ia4VBdRmN1Rwy1X8vwQpUDgBrjyye9UoUElBvxsv/rp4kXSAuTm/6yrRvNvtI uSp0MgYHFX9FbsRma5xduTW5avbU5QbeRpNUt4kef4oB8e0D4Vb02ZrtfNRZGWXLsaTFWD dcj/lmFGfHViHNcwrE9LTlpeHAf19N6wQ4Ea87yLkyao+Ng4n/uFwANm1bjhSnK5553tRy 501RPyYjP0Eh0M0uAJFpmlX6bkRLKsPBUlRSjYfNmI5ikKg0Qxwksj4VYIIIl3VfFvBSnM J756/rS9VmKqXWqkN44FCcY6bTLy3QJDVqItupE/0gB1NxqWUi/e1tFgxYI6xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735912200; a=rsa-sha256; cv=none; b=Ev/Qka9GNdRCoKrHeo2NHFxlV1ITm41ADd8GRDyWjHokPO3JPu6jXRO9DluZRYvYVnJnuJ lh7Q9spH47viNxQd3qBDrEfuvnozAgagj6AEdQPTk9Vn7ZxQjLmuBsNi+aStQhzMhHzsPP Z2nSchiPbyMcogO72nt5hn8XiPhhKOZhJs5pF2EjX3qTEpxfXgqTefQSga2hk+cecETj9s ozYK1H3TXBu5XIMtNji4Sv5dItvFDBiaBxSywTapICJrMQ3ESzmSn2Avjryx7inNPiR+xb m8ce8JPrG38LdrKjq6Am+1sIWTIhzNrcPbtS2Pg4pAcWz/7kaDZv9rN+YfR9GA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YPlLw3yRWz1NDn for ; Fri, 03 Jan 2025 13:50: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 503Do07F074800 for ; Fri, 3 Jan 2025 13:50:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 503Do0rR074799 for net@FreeBSD.org; Fri, 3 Jan 2025 13:50: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: net@FreeBSD.org Subject: [Bug 219655] Per-VNET soacceptqueue/somaxconn and numopensockets possible? Date: Fri, 03 Jan 2025 13:50: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: 11.0-RELEASE X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peter@flytrace.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219655 --- Comment #18 from Peter TKATCHENKO --- The patch cannot be applied 'as is' on 14.2 kernel. I modified it a bit, applied and rebuilt the GENERIC kernel. Unfortunately, the kernel panics on boot: Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address =3D 0x28 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80be2e44 stack pointer =3D 0x28:0xfffffe00cdbb7d00 frame pointer =3D 0x28:0xfffffe00cdbb7d50 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 155 (ip6addrctl) rdi: fffff80006d57c00 rsi: ffffffff818d56d8 rdx: ffffffff811da680 rcx: 0000000000000000 r8: 0000000000320000 r9: 0000000000000000 rax: 0000000000000000 rbx: fffff800134df400 rbp: fffffe00cdbb7d50 r10: 0000000000000000 r11: 0000000000000400 r12: fffff80006f2b000 r13: 0000000000000000 r14: fffff800030cd4c0 r15: fffff800134df510 trap number =3D 12 panic: page fault cpuid =3D 2 time =3D 1735911923 KDB: stack backtrace: #0 0xffffffff80b8c89d at kdb_backtrace+0x5d #1 0xffffffff80b3ec01 at vpanic+0x131 #2 0xffffffff80b3eac3 at panic+0x43 #3 0xffffffff81026a0b at trap_fatal+0x40b #4 0xffffffff81026a56 at trap_pfault+0x46 #5 0xffffffff80ffd408 at calltrap+0x8 #6 0xffffffff80be2a5a at socreate+0xba #7 0xffffffff80bed1b0 at kern_socket+0xb0 #8 0xffffffff810272c5 at amd64_syscall+0x115 #9 0xffffffff80ffdd1b at fast_syscall_common+0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jan 3 21:39:02 2025 X-Original-To: net@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 4YPxm65hGYz5kSjH for ; Fri, 03 Jan 2025 21:39:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YPxm64V4hz4DXC for ; Fri, 3 Jan 2025 21:39:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735940342; 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=ixbFoKhhboehpqzC5pcOIPOxj3XqV1VSmcv9hDxJIiE=; b=Jq3B7itnZwEgJY4A346QFBu7680LMeyB451H6AUn91dg4hG8vBgZvS3phD5OqhI2m4Q0OK DlAnPfBKeqbqgmGTxYGwQa0eVugSk8KxWuVHHcx2P9p97GFWgSiAzRDqMKdjA29RFVlaEU y4ET79I1y12cPF9r19uBuFUM4fvUPhH0t7w/rHMu6BDkMJtZ0qTUTCmVM37FiH/w2FK6uZ oDMZgOI5akK4UnurVna6o+qjPRtkSFLzTtyhEeNBhy+bOd7WTULasXQWlosV6u5M99Rpbu jibG5fjpKe/HA57I58J+zgZRnaXOQkEChNHCUnSL0lYWmGWPIkDhS6apPDKPGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735940342; a=rsa-sha256; cv=none; b=VUXFJY2oMSHUEHgs3+y0dIQPKVvleh2EfSsJ5xPIYCzNaAWjbGL6miTqCFxPK/86PgSm1c 88WzlWsh4jKjMgGlgoKLeS2RHR1+N8W26HRf9ju1QzrpAmUwIx2+QhIgjGeOK2oOvPfSsO E3YlLbtUstNLx0L8kRKhgBMRcUoNrNYPE7OC44ZpknW5LVMCxi6JiFiafxlDpvNEAwXONf 1zi/RYY+SwERpGE5XR3uNLjelz5IVJwhCfQczu68yDDahH7TRbN+IazWDAzhYh9QKtCQzU qfWd+W6jV+W8P3DEl+Nw+SsKEKSRiTmVMbsCXeedecAtL4u9Se5aEAK/2UYglQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YPxm63gBbz8Rm for ; Fri, 03 Jan 2025 21:39:02 +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 503Ld2bp019022 for ; Fri, 3 Jan 2025 21:39:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 503Ld2XV019021 for net@FreeBSD.org; Fri, 3 Jan 2025 21:39:02 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: net@FreeBSD.org Subject: [Bug 219655] Per-VNET soacceptqueue/somaxconn and numopensockets possible? Date: Fri, 03 Jan 2025 21:39:02 +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: feature, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: glebius@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: glebius@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to version cc 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219655 Gleb Smirnoff changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|net@FreeBSD.org |glebius@FreeBSD.org Version|11.0-RELEASE |CURRENT CC| |glebius@FreeBSD.org --- Comment #19 from Gleb Smirnoff --- https://reviews.freebsd.org/D48314 This makes kern.ipc.soacceptqueue per-vnet. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jan 3 23:59:42 2025 X-Original-To: freebsd-net@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 4YQ0ts3Hyzz5kcDb for ; Sat, 04 Jan 2025 00:00:05 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from webmail5.jnielsen.net (webmail5.jnielsen.net [IPv6:2607:f170:34:11::b0]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.freebsdsolutions.net", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQ0tq5SH5z4S0F; Sat, 4 Jan 2025 00:00:03 +0000 (UTC) (envelope-from lists@jnielsen.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of lists@jnielsen.net designates 2607:f170:34:11::b0 as permitted sender) smtp.mailfrom=lists@jnielsen.net; dmarc=none Received: from smtpclient.apple ([IPv6:2607:fa18:e2fe:2d6a:f83a:ef89:b83d:49fa]) (authenticated bits=0) by webmail5.jnielsen.net (8.17.2/8.17.2) with ESMTPSA id 503NxrjT019808 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 3 Jan 2025 16:59:56 -0700 (MST) (envelope-from lists@jnielsen.net) X-Authentication-Warning: webmail5.jnielsen.net: Host [IPv6:2607:fa18:e2fe:2d6a:f83a:ef89:b83d:49fa] claimed to be smtpclient.apple From: John Nielsen Content-Type: multipart/alternative; boundary="Apple-Mail=_A9F64ED3-7010-43A7-867D-F253F3E3B109" List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: cxgbe VF vs multicast Message-Id: <4ED3FE1D-776C-4CE2-A676-975CDB757694@jnielsen.net> Date: Fri, 3 Jan 2025 16:59:42 -0700 Cc: Navdeep Parhar To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Rspamd-Queue-Id: 4YQ0tq5SH5z4S0F X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.989]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:6364, ipnet:2607:f170:30::/44, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[jnielsen.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_TLS_ALL(0.00)[] --Apple-Mail=_A9F64ED3-7010-43A7-867D-F253F3E3B109 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi- I just moved my router VM from a bridge + virtio setup to using a VF = (virtual function) on my Chelsio T520-LL-CR to improve performance. = It=E2=80=99s working beautifully for the most part, but I have noticed = two things that aren=E2=80=99t, both related to multicast. First, when using dhcpcd to assign IPv6 addresses to my LAN VLAN = interfaces, I get this spammed repeatedly on the console for both VLANs = where I use prefix delegation: kernel: cxlv0.2: a looped back NS message is detected during DAD for = [address]. Another DAD probes are being sent I was able to work around that (I think?) by setting = "net.inet6.ip6.dad_count=3D0=E2=80=9D in /etc/sysctl.conf (as hinted in = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270859 talking about = an mlx5 VF). Second, CARP no longer works. At all. I turned off the peer completely = but the interfaces never came out of the BACKUP state. For now I have = removed CARP from the setup. Both IPv6 address assignment and CARP were working correctly in the = previous setup. Is the VF receiving its own multicast packets back from the PF or = virtual switch in the T5? That would explain both issues. In any case, = is there anything I can do about it? Both host and guest are FreeBSD 14-stable. In addition to the T5 VF the = host passes through an em interface to the guest entirely. Config excerpts from both machines below. Any help/insight appreciated. = Thanks! -John On the host I have: #/boot/loader.conf vmm_load=3D"YES" hw.vmm.amdvi.enable=3D"1" pptdevs=3D"14/0/0=E2=80=9D #em0 hw.cxgbe.tx_vm_wr=3D=E2=80=9C1=E2=80=9D #allow PF to talk to VF #/etc/rc.conf ifconfig_cxl0=3D"up" vlans_cxl0=3D"2 104" ifconfig_cxl0_2=3D"inet ${ADDR2}/24" ifconfig_cxl0_2_ipv6=3D"inet6 accept_rtadv auto_linklocal" ifconfig_cxl0_104=3D"inet ${ADDR104}/24" iovctl_files=3D"/etc/iov/cxl0.conf" #/etc/iov/cxl0.conf=20 PF { device : cxl0 num_vfs : 1 } VF-0 { passthrough : true; } On the guest I have: #/boot/loader.conf if_cxgbev_load=3D"YES" net.inet.ip.fw.default_to_accept=3D=E2=80=9C1=E2=80=9D #allow dhcp6 = before ipfw ruleset is loaded #/etc/rc.conf ifconfig_cxlv0=3D"up" vlans_cxlv0=3D"2 98 103" ifconfig_cxlv0_2=3D"inet ${MY_IP}/24" ifconfig_cxlv0_2_ipv6=3D"inet6 auto_linklocal" # set from dhcpcd via = prefix delegation #ifconfig_cxlv0_2_alias0=3D"inet vhid 1 advskew ${MY_SKEW} pass ${PASS} = alias 192.168.2.1/32" ifconfig_cxlv0_2_alias0=3D"inet alias 192.168.2.1/32" #ifconfig_cxlv0_103=3D"inet vhid 2 advskew ${MY_SKEW} pass ${PASS} = 192.168.103.1/24" ifconfig_cxlv0_103=3D"inet 192.168.103.1/24" #ifconfig_cxlv0_98=3D"inet vhid 3 advskew ${MY_SKEW} pass ${PASS} = 192.168.98.1/24" ifconfig_cxlv0_98=3D"inet 192.168.98.1/24" ifconfig_cxlv0_98_ipv6=3D"inet6 auto_linklocal" rtadvd_interfaces=3D"cxlv0.2 cxlv0.98" dhclient_program=3D"/usr/local/sbin/dhcpcd" #/etc/sysctl.conf net.inet.carp.preempt=3D1 net.inet6.ip6.dad_count=3D0 #/usr/local/etc/dhcpcd.conf duid persistent vendorclassid option classless_static_routes option interface_mtu option rapid_commit require dhcp_server_identifier slaac hwaddr allowinterfaces em0 waitip 4 waitip 6 nodelay timeout 10 interface em0 ia_na ia_pd 1/::/64 cxlv0.2/0/64/1 ia_pd 2/::/64 cxlv0.98/0/64/1 --Apple-Mail=_A9F64ED3-7010-43A7-867D-F253F3E3B109 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi-

I just moved my router VM = from a bridge + virtio setup to using a VF (virtual function) on my = Chelsio T520-LL-CR to improve performance. It=E2=80=99s working = beautifully for the most part, but I have noticed two things that = aren=E2=80=99t, both related to = multicast.

First, when using dhcpcd to assign = IPv6 addresses to my LAN VLAN interfaces, I get this spammed repeatedly = on the console for both VLANs where I use prefix = delegation:
kernel: cxlv0.2: a looped back NS message is = detected during DAD for [address].  Another DAD probes are being = sent

I was able to work around that (I think?) = by setting "net.inet6.ip6.dad_count=3D0=E2=80=9D in /etc/sysctl.conf (as = hinted in https:= //bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270859 talking = about an mlx5 VF).

Second, CARP no longer = works. At all. I turned off the peer completely but the interfaces never = came out of the BACKUP state. For now I have removed CARP from the = setup.

Both IPv6 address assignment and CARP = were working correctly in the previous = setup.

Is the VF receiving its own multicast = packets back from the PF or virtual switch in the T5? That would explain = both issues. In any case, is there anything I can do about = it?

Both host and guest are FreeBSD 14-stable. = In addition to the T5 VF the host passes through an em interface to the = guest entirely.

Config excerpts from both = machines below. Any help/insight appreciated. = Thanks!

-John


=
On the host I = have:

#/boot/loader.conf
vmm_load=3D= "YES"
hw.vmm.amdvi.enable=3D"1"
pptdevs=3D"14/0/0=E2=80= =9D #em0
hw.cxgbe.tx_vm_wr=3D=E2=80=9C1=E2=80=9D #allow PF to = talk to = VF

#/etc/rc.conf
ifconfig_cx= l0=3D"up"
vlans_cxl0=3D"2 = 104"
ifconfig_cxl0_2=3D"inet = ${ADDR2}/24"
ifconfig_cxl0_2_ipv6=3D"inet6 accept_rtadv = auto_linklocal"
ifconfig_cxl0_104=3D"inet = ${ADDR104}/24"
iovctl_files=3D"/etc/iov/cxl0.conf"

#/etc/iov/cxl0.conf 
PF = {
       device : cxl0
  =      num_vfs : 1
}
VF-0 = {
        passthrough : = true;
}


On the = guest I = have:

#/boot/loader.conf
if_cxgbev= _load=3D"YES"
net.inet.ip.fw.default_to_accept=3D=E2=80=9C1=E2=80= =9D #allow dhcp6 before ipfw ruleset is = loaded

#/etc/rc.conf
ifconfi= g_cxlv0=3D"up"
vlans_cxlv0=3D"2 98 = 103"
ifconfig_cxlv0_2=3D"inet = ${MY_IP}/24"
ifconfig_cxlv0_2_ipv6=3D"inet6 auto_linklocal" # = set from dhcpcd via prefix = delegation
#ifconfig_cxlv0_2_alias0=3D"inet vhid 1 advskew = ${MY_SKEW} pass ${PASS} alias = 192.168.2.1/32"
ifconfig_cxlv0_2_alias0=3D"inet alias = 192.168.2.1/32"
#ifconfig_cxlv0_103=3D"inet vhid 2 advskew = ${MY_SKEW} pass ${PASS} = 192.168.103.1/24"
ifconfig_cxlv0_103=3D"inet = 192.168.103.1/24"
#ifconfig_cxlv0_98=3D"inet vhid 3 advskew = ${MY_SKEW} pass ${PASS} = 192.168.98.1/24"
ifconfig_cxlv0_98=3D"inet = 192.168.98.1/24"
ifconfig_cxlv0_98_ipv6=3D"inet6 = auto_linklocal"
rtadvd_interfaces=3D"cxlv0.2 = cxlv0.98"
dhclient_program=3D"/usr/local/sbin/dhcpcd"
=

#/etc/sysctl.conf
net.inet.= carp.preempt=3D1
net.inet6.ip6.dad_count=3D0
#/usr/local/etc/dhcpcd.conf
duid
pers= istent
vendorclassid
option = classless_static_routes
option interface_mtu
option = rapid_commit
require dhcp_server_identifier
slaac = hwaddr
allowinterfaces em0
waitip 4
waitip = 6
nodelay
timeout 10
interface = em0
  ia_na
  ia_pd 1/::/64 = cxlv0.2/0/64/1
  ia_pd 2/::/64 = cxlv0.98/0/64/1


= --Apple-Mail=_A9F64ED3-7010-43A7-867D-F253F3E3B109-- From nobody Sun Jan 5 00:06:04 2025 X-Original-To: net@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 4YQczK6vlvz5k1R5 for ; Sun, 05 Jan 2025 00:06:05 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQczK5PCpz4bVr for ; Sun, 5 Jan 2025 00:06:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736035565; 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=0vdEfvqMiIN72GcL503FG9C3EYWwhlqbvDVeya4RHcs=; b=rVQFqsFhx0o8muXPlKqaG8gS2IeFUqicBBwA8JrBeQwq7YrhnvlN2o3dHv/JJR20isSsj4 1cmyrDTudO4JiNHkbgC2QnD+1QwrGOeT4ZOha4ReLwxuJD/hgepBpBuG/5H/g6wua6+yrR MMfuC5KAohbv/rsmD7n1a4UkNKY4tyZhrKcYYZ9yPeSVftyMK206HHYMicznNoEnY6MtrO ttyX5O/hT+6jKnxisgLEE6rT+rr2+91tLN1DwSU/A0p45FCQ1+3cHLuG5HAXG8aGlQ/XQk Bv3bG/b09zgyEmk6poKWr468u3wQMcb/wTYjSXTpL+AKtOcQD6mcQPBBotxPNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736035565; a=rsa-sha256; cv=none; b=ZEdiBoynAxJB/cy9EbS3iGSp7TaUXYLVXuWHrnnpD18plR0Er74cto4e1e16fIx+8No15C M/2UB2Ossj+7l0wrGaQFNyAQgATiJQ2qcdm5HEg8ADRD99yOnv8NoB8/En+/gUlQPuJT0U 87d/DorT6nwtGeqAv/0DJKfQkaYM2h65/HNGPQ/YsuKNk0p2VJtTBEWGbqSB1FD+/p+Xfw /7t7IvUL09i5zqvlZc3IUr5z1rXK8ZbVgFI6Ch841631Io/J4R55jRdSZv1qDvywTG1Svt A84GFKODTw9uIAZedlGHZYrAHAh4wPbd4a0jfHbM6siyTgk7H125kotJttmdXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YQczK4dsZzJg for ; Sun, 05 Jan 2025 00:06:05 +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 505065nb004488 for ; Sun, 5 Jan 2025 00:06:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 505065dO004487 for net@FreeBSD.org; Sun, 5 Jan 2025 00:06:05 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: net@FreeBSD.org Subject: [Bug 283848] rtnl_handle_newroute() incomplete check of attrs.rta_table Date: Sun, 05 Jan 2025 00:06:04 +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 Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283848 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jan 5 00:07:27 2025 X-Original-To: net@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 4YQd0v63wkz5k203 for ; Sun, 05 Jan 2025 00:07:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQd0v27d7z4d7y for ; Sun, 5 Jan 2025 00:07:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736035647; 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=aFBS3wVBVbIAmb+T78K1/ELMueRTxH2GCsUEBAIYVYk=; b=q4L94HQADd38JwIN5ScxpUtJjUGc7Paz9GuAAVcP7qSOiAU8hcXLVmmVH4QDC7nk0qQBVn 1Te9kn77/eKLpjYSRPkL6lcF6AcKzG9OF61Tk+BKhNY8xrS58+x7mZbzOtr31IMy7xz6oK GuHyhaQeuWUuErSKanbH9SVgAbBndbr/UW2ZU92HPi+/9qJ3NVlUglUE3IwRmzjKn9fegY FR82eXvuoCNLi1VDlCKPF95ExWJgfY7P6mAGEyRBtGPOjeuQBctxZJFBxwUXtoz6a33pVb MVZoCVPC76xi/Ynw8V3v+AFlSRliJLIAu5GJ1xtMtYxPwP7jnCMFrrc6hsac5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736035647; a=rsa-sha256; cv=none; b=RWX5vHJAOaWbWnByPDnSOkRM6JogkupaHMi1rhymGhRDcgKddMLxtP7w4WhuA9XhOgJ6Hp RH9Cc3+Cy+Vc6OerrQAEK0SxTeBPx5BxU+Zd/037x2nU/KFpJSCkbmCVv0tHswYpQq9fZA zrit51erZanYn64iyNJuJJ0lJFS5IGNcuYiR1uu5jWGkQiqZ7Mz1Q3fcEBBtdRmQ0Mfqcg oXwy33TQZv4MdLzApuNbi82XnswLrscW7I/5k115MhgQsVSjZ0sex9TVHx4VL0XQ/D3zCO 4WZcdgWwWfMFOi9hjp0p00WfgBXdrzpOOvorUtLQqri/G+5Bo99YHiZZTerx+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YQd0v1hH3zjP for ; Sun, 05 Jan 2025 00:07:27 +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 50507RIi005670 for ; Sun, 5 Jan 2025 00:07:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50507Rpf005669 for net@FreeBSD.org; Sun, 5 Jan 2025 00:07:27 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: net@FreeBSD.org Subject: [Bug 283820] ixl multicast filter problems Date: Sun, 05 Jan 2025 00:07:27 +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: 15.0-CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to keywords 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283820 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pkubaj@FreeBSD.org Assignee|bugs@FreeBSD.org |net@FreeBSD.org Keywords| |IntelNetworking --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jan 5 13:13:52 2025 X-Original-To: net@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 4YQySK2VQYz5j9qR for ; Sun, 05 Jan 2025 13:13:53 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQySJ5lRHz4l7s for ; Sun, 5 Jan 2025 13:13:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736082832; 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=NOJxxt0vnY458PAykjbjcQGmpXzRSUl8vZXLauP7iHY=; b=stm+x0mVeiLmbDOP/r3gggg5A8lQ1a7oowidbx3iEVetEi2l1H8/Jwd1IXslGRu8W2Zk7f ZAyP0SpMUp267VcafLIKXYnvO5+EH01rfBmecyi63Yt4yxyWIiTrWMMl5KyVO/1jaIYM/t ts/N4zx7N7JEDZd6XMjTCee8Jnxpdelx/9CtDzpj5ZovVZwJi18IX1qCWQQFwe11i2roZQ szbFQo5h4ipvsxWi9NfgUgU7YAA8dutrZHEC2SQB+8dw3yoTK9v33FIaR339qksejxNjzW o8eHtGkMPptlmLpgSbO1bEQQZ9LHdjqVR+aq1UL/4LvQ0ZFR0ho0hEySrKAKcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736082832; a=rsa-sha256; cv=none; b=dVLQpuV3Z+EQcki9wta+sBnuDuQjR4NPwFFUvKUkGNTfbZZr7caefwh+DOEPuB1pg09Zda mFf/PuXRC7Jjlk6TrrKoyPuyI5dxkYFk7MNaYF5ADLoQvEQE6OZkCG7JiWF5vgZVj6lKnu AX0zpiR8Z+hT8g2hGe8xwAetACb54vJgZMGg1yDCLKWDLR94mGOVx1p7ASVmwv43MPChYq LSO5vdwW1Cu+ATofHuYXTy12dbdkPj5R5F9yvyNhuEJvEIqTb8BU5HSRoXPXbs4okhU6kt /0Sl7PddQ42dBr+4XL8i53a+aVl+LCP3hbP6AkJmB26D80jnhhq4ZBZWY74/IQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YQySJ5LfHzgPg for ; Sun, 05 Jan 2025 13:13:52 +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 505DDqqI040592 for ; Sun, 5 Jan 2025 13:13:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 505DDqLZ040591 for net@FreeBSD.org; Sun, 5 Jan 2025 13:13:52 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: net@FreeBSD.org Subject: [Bug 283848] rtnl_handle_newroute() incomplete check of attrs.rta_table Date: Sun, 05 Jan 2025 13:13:52 +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 Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283848 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org Assignee|net@FreeBSD.org |melifaro@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jan 5 17:08:28 2025 X-Original-To: net@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 4YR3g122hjz5jy5b for ; Sun, 05 Jan 2025 17:08:29 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YR3g109lZz47MF for ; Sun, 5 Jan 2025 17:08:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736096909; 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=D5lvUaRck4AX2WDTtJ5/IYqnJY1hPZuz6cRTdiun0GY=; b=qyzOncgkCjW0Uvf7k5DGVHMr9mBG0jRfef/aUo4XOZrU2EezCSkJ43BJucBbXzUA9FwOXg //x7iEndhcXFbdGgXPyT+N8cy4VeXG5/iYPlYU1cRO/eao/8n/mncOruz9VYPsVc087OjL Dd+9I2VA6KsOwL4BmfmlFUPDq8zj7oqGNTTJH/usAZVA62R6ODAE40rUWiBQ/Wg3Y18Mfu Z/rlJFf1mpJXEk/Aiv/HLGEaTzDSpg3Ykib6iXhevsMdEP9ylTPjgL8CY6deqyW0NmYMSL ytRzQBEJRcQ3cSbsC+SePHTz7jnEy+eV7HR5HCFYzsEH12GdLe3ZmPgveS3kzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736096909; a=rsa-sha256; cv=none; b=pUbkPzhhAZYtSaNOQubjDmRxlvXiQYHNjh6R3r5PUf0C1mCml5fe2VVwMprQ+D8tDBa7nR KNXRUS5FwjvLe7XTGK8ifFcfzQ6ZmYSnLFgs6G5ypdVC6EWSW3pNLRrpOybyNgP2vgyp03 c83WzeWdsr5wfoSbIGfUXT7Cg9z2Ms6bW6eB2uqgs5DOLr/gZVzMXTPaAiJTU9lrew70Av FMjVk+VxUphhY/INqDlro8lOQue7fVFEfg8vsHoJSF1fdQtsQ/jUa6BGwr1F7rltpcALB0 KFdo8eXTyNU3RnNATvC30cSL6tqEooD0ZsTh7H4qZ7QeFfVqlDH08ZUtlIOZYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YR3g06rjLznTM for ; Sun, 05 Jan 2025 17:08:28 +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 505H8SrU050824 for ; Sun, 5 Jan 2025 17:08:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 505H8Sc5050819 for net@FreeBSD.org; Sun, 5 Jan 2025 17:08:28 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: net@FreeBSD.org Subject: [Bug 283860] nlattr_get_multipath() loop executes too many times if rtnh_len is zero Date: Sun, 05 Jan 2025 17:08:28 +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 Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283860 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jan 5 22:17:01 2025 X-Original-To: net@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 4YRBW33VHWz5kLQG for ; Sun, 05 Jan 2025 22:17:03 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRBW32CgRz4b14 for ; Sun, 5 Jan 2025 22:17:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736115423; 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=08oIE8heO3lA2InQ4yYcH7bkbMOn22cdUxkTV4ffEUQ=; b=PJqn11rLEtSsC5yNmx4ssxVzS3CLj3e/6D2Ih4ZoNL9m/owNIaBC/Lhn2OYPHnuMH77UDO eqmAU+WhnNZB4O1+M+U7u7l2q29BmfMH8R7glzRHOKt3taxVQd2iNJYN7F9K9EVWOglyzO 18aLfjLeSXH0lXHJCISLFvJRGTwCEt9hZLZoW7a1Z3gIHyd+nEx+iR4bk5RbM1uCmBO1KT 6d6ktV6dqsUWjTgZ/B8b4skRURwuQPkSJCJBICGOExOyxM0nq+7ah7QDAjXKoZU9JvcTyi iUpIgo23Pu3FlIBB5WP4s6aZjIDQsfcUJD5yIUm2BWyxL0Bji5OsMGCys1DO0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736115423; a=rsa-sha256; cv=none; b=jGUiDHNGULXmdwa5+wDDpSQcrcA1t8h6iiz8AIPXuuEnvAvbwNd3i3xjDMj2xwoXvdHP9N yZnzuAWNfjEx5kBbjfoD2ztiO2Z6jY0iRhGkzugop5vOENP12p3OOCDI0Rnq7+V87V2kxJ B+M42EjUzwEhxTQ+q5VcZn81Bz+juMbWaqURkeoB8owlwsJ6ZulhCiKOsjRowyVwExCXM4 ed0BrdcLnE6hLOidXrA2lBWPrHKQQAJtHCqhq0hrpG/E1jRc5mywt+PtkH0lcCQbqmXuRZ m9n4l+DELf8mvXfvbX7zRwiYmQN+vUEeB5pnfBHVAPT+ArkmNC9Dhc/E4o25Xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YRBW31b4xzwbC for ; Sun, 05 Jan 2025 22:17:03 +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 505MH3dc094511 for ; Sun, 5 Jan 2025 22:17:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 505MH3k5094510 for net@FreeBSD.org; Sun, 5 Jan 2025 22:17:03 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: net@FreeBSD.org Subject: [Bug 282805] Support for Aquantia AQC113 and AQC113C Ethernet Controllers Date: Sun, 05 Jan 2025 22:17:01 +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: 14.1-STABLE X-Bugzilla-Keywords: feature X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vasyl.samoilov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282805 Vasyl S. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vasyl.samoilov@gmail.com --- Comment #12 from Vasyl S. --- I=E2=80=99m also interested. This chipset is becoming increasingly common i= n various 10G-capable mini-PCs and appliances. --=20 You are receiving this mail because: You are the assignee for the bug.=