From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F1431272C4 for ; Tue, 30 Jan 2024 16:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706632926; cv=none; b=Y5IY9oWVKhPypy1vtzbeZ3seDf1KgztiAY0lFPuWMS777/DPSYZIj5odlE8+hCQTA93hLzA9GcvaDW9RiDokwMK8nysCc9lD8xjPKykcZ8vYFI3StM//rC247rLVRvwXLWcVUOtpOwzMXe1+7ik+7P+k9pzciDfw2eN3U3ryToc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706632926; c=relaxed/simple; bh=ZfUJt9C8H5C83pT9jKzgglhSVGvwexNcLzoX52cT5vo=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=Tch6dcFdNdEvMFKGBGVIbMeMwhS8DNr+QrFumzU8rhGBeWnJ0efO0pzdELpmRjVG0Ut5THDjBO+s94rIcEb0IpEJiVaOjwzAyMaMVLEX5j4euD8DVIEbULO5BBTpMyGZKAngIGZZOdl0IVSgNLtXqMlSN9geVfzN37BZ2Dk/2iI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com; spf=pass smtp.mailfrom=googlemail.com; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=MAb1gS3P; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=googlemail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="MAb1gS3P" Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6ddc0c02593so1962229b3a.3 for ; Tue, 30 Jan 2024 08:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1706632924; x=1707237724; darn=vger.kernel.org; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=wwt+nkrzFpFAGBz7peNidpEu0qQyu3Q0/t5OxDhzD84=; b=MAb1gS3PS+TErgURATQMxYhv/vvMh86TKKM5n3sjXjVKGR/sVH2mLERubT+xfAaKZs gtXFscUECmWbyDHMZF5wSaeYEAY7u8GnjdYuPxrcMZpV4bmEcrmA+ZkyQu2yco7fSfig e0pYyt1345YeFXaYGRHhp4LXbz+xX+tnJU69jvPQHtUZllPNJS8jXmgPlRzUBvNh/iAg SQVgCJ82k2znTppvSUTDAfRzMH2LJxe08a3MT0w5or5shG2BF8WhxVSHLvArJH8OqB0M wn3YxIG2LYEsVcAxQh61XEKKmIr6r4/QfmIMrNcSQJhSDU5tzXR63/Fow1h0Y5htEsFg DHtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706632924; x=1707237724; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wwt+nkrzFpFAGBz7peNidpEu0qQyu3Q0/t5OxDhzD84=; b=YuzBwzOanuZv67i95p6ftJQBB4o9JcjP4ZgQm0IMKr0wddZNYIbBPwxsVQDVoySGBL Pp+2hEel1Jdyu7R4tjfhLN1AydVOnseBzlaWtfK0aRdan3rHGx1ghcZZyD5yrHtk3Vop qHDiN8rTcsqKnS4OIZx+V9OufXA6GjwFUoVIMNPXdOpJcnnhs5YX6JgiqYlpZtqJC0c2 WkcWe1L58ohtMZYdWJw423Xzs2yCrveQHoXJ+QJz+fUP2i8ltrNVE4tZB4ngH355pB5E 2KIoaA4NrMYe+fj/reUNVlCth5o/Co6qd+WO3sFWxAA7gqLV6+xTUngvDa/okVXey7Yu mrOw== X-Gm-Message-State: AOJu0Yx3E177L5KmcJvkeSMuWmFQ451e6jPLPvHK95zC1defj9ShsTlN +LTSRJHQG8Y7B9VcukPi0OPnTsiNU4ZaDXVnzQ1pxFEdlfd1Dl+K X-Google-Smtp-Source: AGHT+IE3Crn5PmjvTb/24FRQF6Gbs+psxnsp0T1FsTWwr9v0VkJ2bl6JAEiTGYDVTaJHqS/aGL0JhQ== X-Received: by 2002:a05:6a21:3385:b0:19c:92ef:4d66 with SMTP id yy5-20020a056a21338500b0019c92ef4d66mr5467496pzb.1.1706632924296; Tue, 30 Jan 2024 08:42:04 -0800 (PST) Received: from ArmidaleLaptop (c-67-170-74-237.hsd1.wa.comcast.net. [67.170.74.237]) by smtp.gmail.com with ESMTPSA id h21-20020a056a00219500b006dd8985e7c6sm7981535pfi.1.2024.01.30.08.42.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2024 08:42:03 -0800 (PST) From: dthaler1968@googlemail.com X-Google-Original-From: To: "'Alexei Starovoitov'" , "'Dave Thaler'" Cc: "'Jose E. Marchesi'" , "'Yonghong Song'" , , "'bpf'" References: <006601da5151$a22b2bb0$e6818310$@gmail.com> <877cjutxe9.fsf@oracle.com> <8734uitx3m.fsf@oracle.com> <01e601da51b7$92c4ffa0$b84efee0$@gmail.com> <071b01da5394$260dba30$72292e90$@gmail.com> In-Reply-To: Subject: RE: [Bpf] ISA: BPF_MSH and deprecated packet access instructions Date: Tue, 30 Jan 2024 08:42:02 -0800 Message-ID: <073101da539b$40dd6b60$c2984220$@gmail.com> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AQI/mTVZUZpeNhzShIl9oGl01BkM9QGkD3DnAsdGbroCN+NFGgGJMAgqAYfmIS8CWWZiQq/HlkoA [...] > > > Same with MSH. BPF_LDX | BPF_MSH | BPF_B is the only insn ever = existed. > > > It's a legacy insn. Just like abs/ind. > > > > Should it be listed in the legacy conformance group then? > > > > Currently it's not mentioned in instruction-set.rst at all, so the > > opcode is available to use by any new instruction. If we do list it > > in instruction-set.rst then, like abs/ind, it will be avoided by = anyone proposing > new instructions. >=20 > Yeah. The standard needs to mention it as legacy insn. > It's such a weird ultra specialized insn introduced for one specific = purpose > parsing IP header. tcpdump only. Effectively. Thanks for the quick answer on this one. Will do. Dave From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ietf.org (mail.ietf.org [50.223.129.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F06476DD06 for ; Tue, 30 Jan 2024 16:42:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=50.223.129.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706632931; cv=none; b=tZdTEK01jUo0wJpmbpXnBH8BM7sHWt72zrNfSpYO2htxm3ifnrABGS9GndROzW8FEWQq+Mz7dbp3jH0E6Oxb/ARLif007Gt8jJ7VsiiIyH1+EbYMF9/YHsidOsZ+QHu1e+Z+eqgGB+ZIieLwZjY1+cLNT4ap9uhWfzIxCfbvTNs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706632931; c=relaxed/simple; bh=NdU5Zcr2RlN6MYIdxAtdfkR1rUNOLkF5G6QeoteDMGE=; h=To:Cc:References:In-Reply-To:Date:Message-ID:MIME-Version:Subject: Content-Type:From; b=Pb1X+Dl+80SSPFZ7VWswGBqMFqcuge7N6vAf1fliacd7uTNswWGpfF3epyenM0wQaTDCaHgZkhQS7t1182iYjwQ6ATwf5QxfEVdGDYeeq7Rx69zO3Revg2S2ToNpJSeJoCqxcB34YzRl9Usw/oW8zE7XN00phNl/5Ublo2i5qHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dmarc.ietf.org; spf=pass smtp.mailfrom=ietf.org; dkim=pass (1024-bit key) header.d=ietf.org header.i=@ietf.org header.b=uDillfbZ; dkim=fail (1024-bit key) header.d=ietf.org header.i=@ietf.org header.b=CP1WY7UF reason="signature verification failed"; dkim=fail (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=fIYjsVbr reason="signature verification failed"; arc=none smtp.client-ip=50.223.129.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dmarc.ietf.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ietf.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ietf.org header.i=@ietf.org header.b="uDillfbZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ietf.org header.i=@ietf.org header.b="CP1WY7UF"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="fIYjsVbr" Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B970C1CAF76 for ; Tue, 30 Jan 2024 08:42:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1706632929; bh=NdU5Zcr2RlN6MYIdxAtdfkR1rUNOLkF5G6QeoteDMGE=; h=To:Cc:References:In-Reply-To:Date:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=uDillfbZXvVTN1EglSGNDmaXU3rOFut02WquUSg9xHk2FKRkVexEuOxuck1JZJ/h9 XttAIK+F+wykQ27CBcm1Cwwqhiy4n0nc+L0QuPbnTLR/CgBFtUk1DXq49FepvYBQTX DCQ0B0r8Cik7uZkpeNtYBFXuMIbU4C59j/WWDtQI= Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CE86C14CE55; Tue, 30 Jan 2024 08:42:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1706632929; bh=NdU5Zcr2RlN6MYIdxAtdfkR1rUNOLkF5G6QeoteDMGE=; h=From:To:Cc:References:In-Reply-To:Date:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe; b=CP1WY7UFFIW7eH6cYvOkLbL1H5Sd3gNxEZxHoyY88rB/uh5j9ifOtA+US2bqIyYk0 6VbwwuLjbyX5nA2gR+YALUGOa/sByQj8zTFGyJifKPlRuyTzcmEAdzbuArnygZlsPT XRu0rdPJMiH2WqWl07K8krydxksTho7a1f78yk7k= Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E45D7C14CE55 for ; Tue, 30 Jan 2024 08:42:08 -0800 (PST) X-Virus-Scanned: amavisd-new at amsl.com X-Spam-Flag: NO X-Spam-Score: -1.855 X-Spam-Level: Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GSjw0aoEOKJj for ; Tue, 30 Jan 2024 08:42:05 -0800 (PST) Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (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 ietfa.amsl.com (Postfix) with ESMTPS id 15B6FC14F71F for ; Tue, 30 Jan 2024 08:42:05 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-5d8df2edd29so914058a12.2 for ; Tue, 30 Jan 2024 08:42:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1706632924; x=1707237724; darn=ietf.org; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=wwt+nkrzFpFAGBz7peNidpEu0qQyu3Q0/t5OxDhzD84=; b=fIYjsVbrqnxC/N1veXn5cj0wiiyCrJgueSQ9r2rgVs0DA62oPYRl4xs+LLGMpAcSMT KkRJe3pK+MHNMT4H511D4+f/PwzuaL3O0LyO3mPGYjIQ+yIo1hNsjIQ3/PJhzcxdJv7f +I9bx+DXCF6TXHYUV+ANyGiiuC23XN12WEbPsuQo0TT7iW58GVkOzy7DI2O+fTfdEXhi hY0ANjT8iwJv2cKBccw8zf0MJHm58bk0WlZZoKaK3UDz3b/1JkBfwMRHk3+ivBKKTP3Q zdZ/6UX2EizfddEM8kWHvpJc/LZuaWVi+awqgjc7ifqqHxT2h4xKpPQ3mCj+865W7kmm gBPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706632924; x=1707237724; h=thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wwt+nkrzFpFAGBz7peNidpEu0qQyu3Q0/t5OxDhzD84=; b=DRrn1KnMuIyz/ugZacDi3sAMwZVzVJZ9mmHr8wuEis3EpRVII2nNOVfCtqIWCA4wlh QMo/TU8CfXw8XtyQjkCO/EJdHg+/wn49+nW5AiblDuSHxGQsWNaYnguQXx2J7cOrqraF Il+tcER3bKM6xLK1RE8vdCy5y2nl65DVOowhvDwOOC4gURFjFEb7+X8LvP31euM2Aa8B DtZQNtjDNn1Hd3a+hbxpij3jGMgkzh4qKuFqak3w6ZkN6kW/8vp9kUTEo3HPwqDbh6RA yeENgubLbsx2ziNCfbyuGyheFOiNfPAqAGY2OeaSSckicpU7l8HknzmeRPO5hgEkqLKu 9cPA== X-Gm-Message-State: AOJu0YyAJp6QOTI1mHM41JhP3Kiqmiy5gKIaPEMLLer28MEAyQl9xBBn c/uzAcZvUCIRshXlTKbmHEz3WC5qfMRaXBDEd6iOkA/lt82pDRpg X-Google-Smtp-Source: AGHT+IE3Crn5PmjvTb/24FRQF6Gbs+psxnsp0T1FsTWwr9v0VkJ2bl6JAEiTGYDVTaJHqS/aGL0JhQ== X-Received: by 2002:a05:6a21:3385:b0:19c:92ef:4d66 with SMTP id yy5-20020a056a21338500b0019c92ef4d66mr5467496pzb.1.1706632924296; Tue, 30 Jan 2024 08:42:04 -0800 (PST) Received: from ArmidaleLaptop (c-67-170-74-237.hsd1.wa.comcast.net. [67.170.74.237]) by smtp.gmail.com with ESMTPSA id h21-20020a056a00219500b006dd8985e7c6sm7981535pfi.1.2024.01.30.08.42.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2024 08:42:03 -0800 (PST) X-Google-Original-From: To: "'Alexei Starovoitov'" , "'Dave Thaler'" Cc: "'Jose E. Marchesi'" , "'Yonghong Song'" , , "'bpf'" References: <006601da5151$a22b2bb0$e6818310$@gmail.com> <877cjutxe9.fsf@oracle.com> <8734uitx3m.fsf@oracle.com> <01e601da51b7$92c4ffa0$b84efee0$@gmail.com> <071b01da5394$260dba30$72292e90$@gmail.com> In-Reply-To: Date: Tue, 30 Jan 2024 08:42:02 -0800 Message-ID: <073101da539b$40dd6b60$c2984220$@gmail.com> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AQI/mTVZUZpeNhzShIl9oGl01BkM9QGkD3DnAsdGbroCN+NFGgGJMAgqAYfmIS8CWWZiQq/HlkoA Archived-At: Subject: Re: [Bpf] ISA: BPF_MSH and deprecated packet access instructions X-BeenThere: bpf@ietf.org X-Mailman-Version: 2.1.39 Precedence: list List-Archive: List-Post: List-Help: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: bpf-bounces@ietf.org Sender: "Bpf" X-Original-From: dthaler1968@googlemail.com From: dthaler1968=40googlemail.com@dmarc.ietf.org Message-ID: <20240130164202.xK9IoKX8nDx5BxXIc6mmpasI82pRlWdrG37DmL6LZso@z> [...] > > > Same with MSH. BPF_LDX | BPF_MSH | BPF_B is the only insn ever existed. > > > It's a legacy insn. Just like abs/ind. > > > > Should it be listed in the legacy conformance group then? > > > > Currently it's not mentioned in instruction-set.rst at all, so the > > opcode is available to use by any new instruction. If we do list it > > in instruction-set.rst then, like abs/ind, it will be avoided by anyone proposing > new instructions. > > Yeah. The standard needs to mention it as legacy insn. > It's such a weird ultra specialized insn introduced for one specific purpose > parsing IP header. tcpdump only. Effectively. Thanks for the quick answer on this one. Will do. Dave -- Bpf mailing list Bpf@ietf.org https://www.ietf.org/mailman/listinfo/bpf