From patchwork Fri Jun 24 14:14:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahab Vahedi X-Patchwork-Id: 12894577 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB9B8C43334 for ; Fri, 24 Jun 2022 14:14:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbiFXOOs (ORCPT ); Fri, 24 Jun 2022 10:14:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232151AbiFXOOS (ORCPT ); Fri, 24 Jun 2022 10:14:18 -0400 Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.87.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A67C6506D8 for ; Fri, 24 Jun 2022 07:14:17 -0700 (PDT) Received: from mailhost.synopsys.com (badc-mailhost3.synopsys.com [10.192.0.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 41B54C3CC5 for ; Fri, 24 Jun 2022 14:14:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1656080057; bh=NPCwkSuUigDjyVo2RsAn7cP0BD9rwZP+oqwrf94uybg=; h=From:To:Subject:Date:From; b=R2IaNMrvpQBE3mefs25JojZQbt4lQGYkaVBlw9s6JFtlwT3VtOfOI+H/si/K2xJak OMcdIivnldw4vT58Ahv+mr6VMN8W7QkM1/nKoIpBajzQ6LJQ92oVm0dY4GH6aHnZSc EAylOr6uQwAiDHlSn9vzJ4SB6kaEIv/UC7jZysH9OT3TxknFBZUeHYx0Ckxnx8PnLR oVCShL7APxjuoQGyZIDdEzSU80sUw+Ixfsey3ts0FoIzztk/Jh/SzTfDmluZNR6JKU ozL6rxWksrH4vq8ZUeXT0SDf9Ngb9EcHrV90LfLqgrP4qMt6x77gDn3bpwkAZ8iTBc LijYkFqtTJZqA== Received: from o365relay-in.synopsys.com (us03-o365relay1.synopsys.com [10.4.161.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "o365relay-in.synopsys.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mailhost.synopsys.com (Postfix) with ESMTPS id CC53DA0086 for ; Fri, 24 Jun 2022 14:14:16 +0000 (UTC) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2109.outbound.protection.outlook.com [104.47.70.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by o365relay-in.synopsys.com (Postfix) with ESMTPS id 1598B80002 for ; Fri, 24 Jun 2022 14:14:15 +0000 (UTC) Authentication-Results: o365relay-in.synopsys.com; dmarc=pass (p=reject dis=none) header.from=synopsys.com Authentication-Results: o365relay-in.synopsys.com; spf=pass smtp.mailfrom=shahab@synopsys.com Authentication-Results: o365relay-in.synopsys.com; dkim=pass (1024-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="bJdHUi3v"; dkim-atps=neutral ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G47CgJmRA3S0GZuX7RP7Vxyzgx1pDkkjUG5JQ7sT+uj/IMioJzkAclM6M/eFPVh4oVwwQoo66h+ZWhD3S6sIXWMyf4EehKNo2kHmxkv59yHCZyJib2AXjd4sfzNJ7n+8eg45KwlELoeqlRKfszSuiRq7Q9ORKtYKmubVoP9Ro4x01/sMSZKkelsEmdcMZAIeCCed9gmNBdAXIep4do2ofHNPR6KTOsfDUHql/owHvW4aBQGhxM/yuOPrNralpIIYcdo36tLF1czRHPgq1V+SLrD4s7SSM1QYpLp+BwiME6Kdu2Iwty3kHgHYeyVMRqqtsQ1mzaCGSGAgyqUsABHr2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NPCwkSuUigDjyVo2RsAn7cP0BD9rwZP+oqwrf94uybg=; b=DU/cnUHOSGGqjOepFmQplMp+OOgEIbeBQ9MhCFP/bZ/q3ZpUWhSgknw/YMFHWdTR9qebYSPOiUDpm0VPDtzOEfrIlG6Plxm1LdbEyBMvVjL6pn0ypMhGjjm9LMwuRdzeFtDi6yTh+6SgLAz7AYyepVuEY/bFZ1Baj/qZuH5Um/4pGnTuDD02V26g2frpaGGVivqtB/r3asuTEK7MBoP7/v0FiBUxJZl5Btmgtx7PNz9RxkDGGHwr7uzWf+e+KKdF8EPrtOSvN6JqpKs0CZVR0D3oGp7EdSS08KBF0itFKmZeyx4tu6dLCjfr312854uKxXnMUOoxforY260sqj+mbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NPCwkSuUigDjyVo2RsAn7cP0BD9rwZP+oqwrf94uybg=; b=bJdHUi3vnlatd7nLvZ5bfVLB4BjCl077MPkKiS31EyoYKrl/n52AOOJ+GmxN6nvwANH0BOHxukCiIF7FWb5Wz0k6OsmlYp2tr+XomSfU/BE+xrTyY2I7OgmVOqYoPReusVUTvMTs3WXDq/rhRRNw/7OGPNpq1pgl4WuBUoHFHVE= Received: from SN6PR12MB2782.namprd12.prod.outlook.com (2603:10b6:805:73::19) by MW4PR12MB5604.namprd12.prod.outlook.com (2603:10b6:303:18d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Fri, 24 Jun 2022 14:14:11 +0000 Received: from SN6PR12MB2782.namprd12.prod.outlook.com ([fe80::8531:7f90:c11f:2fb4]) by SN6PR12MB2782.namprd12.prod.outlook.com ([fe80::8531:7f90:c11f:2fb4%7]) with mapi id 15.20.5353.022; Fri, 24 Jun 2022 14:14:11 +0000 X-SNPS-Relay: synopsys.com From: Shahab Vahedi To: "bpf@vger.kernel.org" Subject: [PATCH] bpf, docs: fix the code formatting in instruction-set Thread-Topic: [PATCH] bpf, docs: fix the code formatting in instruction-set Thread-Index: AQHYh9St2DC4m8CGLUq9q/xAVn3Pvw== Date: Fri, 24 Jun 2022 14:14:11 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=synopsys.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 90c6647e-513a-46cc-ba85-08da55ebcfa8 x-ms-traffictypediagnostic: MW4PR12MB5604:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: i19Iam4+/0ctNbSTtRQI+gGzeFXJCXDVyoICtvqmQXe7UcLltM4b46jS4vqwZLw/uxpVyKi8B28DdIJOYdNtSL8QaC1T3Tr5fsorvwHf2mgUTlzoT1WbSJ96wYYhhTVzPNsCjfRqRyTnACV0WeCLLPJuLHjj0xufn1028VfFx4x984og70zVSAFj719Lwi+VBi7Zp+ZoW8MyHQKIn3EJAxO58FsKSK4D2eA3hTcjvPcI9z0w38i8nBdmalwjG3ev7t0/bKQCfNf0Enwyko37q6fp+iA0lpeqCvKQXISa3Ajzrbx4oRYe4e7L8DuzCrR3+1shtlvokFtOClIU+QqOcaAjfU65mTUuz4Ah44uCQk82xVmZGbCTrmKGANwkdAMoOr94atJbNuR/H35pHAMGquslr8X/qUCd06edGJgcMvHtKtM5pLdSq6CwHJ1Dk9nA610Q8hzaLkl2WJ9KzoXYpX6tcgAhh/Iyyj7oo6Od6HvV4LSafm+P47ENfjnKECmBO2jRft8vraavbnqMKOnwiWYKfwFlDArdsGeM4OyJIyfXdJAij62ES/jMcnoxu5q2c6UxGN2pwm9ySr7qUI/K/pa4NH29XTSBHMLPWpbOfOktNthlaKmw1Ny7uRHP9PaZHwpjLx4Kd221+Sy2ZvLODJ2MLUohX8AbpXndwBg919HVWnGLPppogFf0gL1Zk2HOdMcu7rtO/FkN/eAO5uRFdLlUpDKXqwlH1PisrHcAx18Fj0on0/ACPiean4KbGNG4nNNRBBpaQVE78RP8wHh9XqriZvNOHOx42VwvfMWgexOJhnfWIneW/jc6gGf1owtu9D7qtUJHNaDrI8no+/E0EQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR12MB2782.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(346002)(136003)(366004)(396003)(39860400002)(376002)(38070700005)(6916009)(83380400001)(38100700002)(66476007)(36756003)(122000001)(31696002)(76116006)(86362001)(478600001)(41300700001)(71200400001)(2616005)(6486002)(186003)(26005)(6506007)(2906002)(6512007)(5660300002)(8936002)(316002)(91956017)(66556008)(66946007)(8676002)(31686004)(4744005)(64756008)(66446008)(45980500001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?chtRO5FoCunpFU4kyUHnY++rCz3F?=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wlHCIV7d0qXnFZNkQYBC1U8DX9d50HoSzt0SkoIszumA90Ui+2GBtAvS9a4jmM?= =?utf-8?q?+nDHVnlpBkk8vwOVhyEI3bdBrpBCB1mH6amse9ax7pc+Hz/5j4gGceLpSoZkYJ+tB?= =?utf-8?q?fTh3ZaUzOAOCD7a96lgrBtrMwNKhm1Geb4Rnydp/Vnf1rDqh3a8rBfsovJSKTKc9+?= =?utf-8?q?Db50aR4kQYSrwNzBLNod66VgylkWKUHFn2X1FEYuC1+7D68od+4GEVwlNoSwfw1aw?= =?utf-8?q?ODaOumBQ2jvchwJOrI+JsSw5i1M6/U008/5JuRbZYSXpJY1BEYwSW2eg1T+u5Sym9?= =?utf-8?q?dl8TeeDbwIq6AqGNQG3BWTE3pNOJWKg1ZanzZjJweGrCPh/vXVC8skAyyTMR5K8I8?= =?utf-8?q?kAQPDB2JGwHwhcjDOgVh2QCiPHO54Dj4VPaxr0EMvMqLbkF556B4jufQ19Ky4fUBI?= =?utf-8?q?7BoaWeio/qpvXG1vT43gXk6gohJvtohPyFHdpk1yyYxVLzUY4rCDDZuEt+oWlavJn?= =?utf-8?q?rBxeuUQ/livng7KyM9xj4i4A+G/6Ewx13tjnrd3DnBzWQNpNwjbrr71IYQTmi3bPY?= =?utf-8?q?+R1HGwO9/8g+vAv5jTNImCFVDkfVvXI+LA40sZtiG1/yM25h6nm2Rf+ilPkifmaGu?= =?utf-8?q?pRtMEc7QI85R?= Content-ID: MIME-Version: 1.0 X-OriginatorOrg: synopsys.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR12MB2782.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90c6647e-513a-46cc-ba85-08da55ebcfa8 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2022 14:14:11.5651 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GIdVUR10ezDvkbEvUZnP4jBzubvLCZEHFQrn48xjo5ESpF1jmL1rxw0ciq/8w4WLw0WZVlJp3VT0v8WcP/0Cuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB5604 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org A minor typo fix to include "| BPF_LD" into its previous code phrase: ``BPF_IND`` | BPF_LD --> ``BPF_IND | BPF_LD`` Signed-off-by: Shahab Vahedi --- Documentation/bpf/instruction-set.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/bpf/instruction-set.rst b/Documentation/bpf/instruction-set.rst index 9e27fbdb2206..1b0e6711dec9 100644 --- a/Documentation/bpf/instruction-set.rst +++ b/Documentation/bpf/instruction-set.rst @@ -351,7 +351,7 @@ These instructions have seven implicit operands: * Register R0 is an implicit output which contains the data fetched from the packet. * Registers R1-R5 are scratch registers that are clobbered after a call to - ``BPF_ABS | BPF_LD`` or ``BPF_IND`` | BPF_LD instructions. + ``BPF_ABS | BPF_LD`` or ``BPF_IND | BPF_LD`` instructions. These instructions have an implicit program exit condition as well. When an eBPF program is trying to access the data beyond the packet boundary, the