From nobody Mon Mar 14 16:42:01 2022 X-Original-To: freebsd-arch@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 BD6AB1A22C09 for <freebsd-arch@mlmmj.nyi.freebsd.org>; Mon, 14 Mar 2022 16:42:21 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4KHMlK04pKz4YD7 for <freebsd-arch@FreeBSD.org>; Mon, 14 Mar 2022 16:42:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.36.2.165] (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6F010260CAF for <freebsd-arch@FreeBSD.org>; Mon, 14 Mar 2022 17:42:13 +0100 (CET) Message-ID: <cc56c31e-f42f-aff9-fad0-15c77eaea997@selasky.org> Date: Mon, 14 Mar 2022 17:42:01 +0100 List-Id: Discussion related to FreeBSD architecture <freebsd-arch.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: <mailto:freebsd-arch+help@freebsd.org> List-Post: <mailto:freebsd-arch@freebsd.org> List-Subscribe: <mailto:freebsd-arch+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-arch+unsubscribe@freebsd.org> Sender: owner-freebsd-arch@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: "freebsd-arch@freebsd.org" <freebsd-arch@FreeBSD.org> From: Hans Petter Selasky <hps@selasky.org> Subject: FYI: if_capabilities needs to grow - proposing extension using nvlists Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KHMlK04pKz4YD7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-2.27 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arch@freebsd.org]; DMARC_NA(0.00)[selasky.org]; NEURAL_SPAM_MEDIUM(0.02)[0.019]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.990]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arch]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, The "ifp->if_capabilities" field is out of bits and needs to grow. The plan is to call this a legacy field and use nvlists to extend this field. Please see here for planned changes to ifconfig and if IOCTLs if you are interested doing review and testing: https://reviews.freebsd.org/D32551 --HPS