From patchwork Thu Sep 9 17:56:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 98456 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2E1DA0547; Thu, 9 Sep 2021 19:57:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 049DA41159; Thu, 9 Sep 2021 19:57:05 +0200 (CEST) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id 3777B41148 for ; Thu, 9 Sep 2021 19:57:02 +0200 (CEST) Received: by mail-pj1-f46.google.com with SMTP id f3-20020a17090a638300b00199097ddf1aso2128297pjj.0 for ; Thu, 09 Sep 2021 10:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kwLlo54zLKTT3WDp4j88iG5+FiQzxETdwy2qTye6OGU=; b=fPv+GhPznslgh4gJZBVqWufH/JdpZN87BkttE27wtcR+uvwDo1XlUQJ2GW9iAhl7En 5vJ+lo7GvHLgMuLyxXZ8Zw2HLDfeXavnJKlExBjclZk6cdC4cABQYKOZDBo/ExxCyNNu TQvQTzWondSriugDEEvEOw+tcKQeSoxoKbPDnK0F9SSMz7SVRbfuTIDL/3gJP4LO7Qi5 RwkF25Pm6orIJc9qGR2ybrMh8F5dbiOoEsqPbWLYuRMisYLhbHnLJjzy0HNxqXijgVSe 07e7B/Lo8o3FZZGOnXYh1hfXK8k+WM6hwrhBotRvJlhLoXYhI+pCchSuSoo5O5yiUYJp NZ6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kwLlo54zLKTT3WDp4j88iG5+FiQzxETdwy2qTye6OGU=; b=LbRzh59DEkVw+u8fhwWBZ1S9v9kUTnFvKnWcKPKvl5/A/uv0sDuKxHHm3Tcsccm/iN wacsjGWQdVFVBhy1lTyY+tWNPWKgCVGbA5LRivEuMBB/VwdGny8Xe7/5+O+4Zi9ye3PB hfz9iVaduZQfp2ctmeBd+bMAzq9SzuajNQUcpiQb/kXL3XTl1E0/IoFsvW2JcQeMk3pi FOX6qzJY2okyIg/LOu3dXG/q20IeZYIIAsZxD4WZd1J/jEvZotHzwXCnhQ69YkCvoHpj ABpEUGPlQt3iaG4wEPLudSZ4UdQqjLz1TMuq4YcjCQBlL24JnNlXd27vxThiZ9R7KP+X DI/w== X-Gm-Message-State: AOAM533rX2WrB7kLJbhtdeBvd4We0xVgoIlD3WCFEkaT39pVb7/zotIp ldibIVCSUSVP6eAomtGVBhlKvbLX9bEefA== X-Google-Smtp-Source: ABdhPJynl+xMlmPkWCsVF5ImITZWZkFvZ2QMkTuAcH34NfS92U7nyqRABUOLs0OXNCVnKhTeUVB61w== X-Received: by 2002:a17:90a:bb82:: with SMTP id v2mr4879130pjr.125.1631210221016; Thu, 09 Sep 2021 10:57:01 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v25sm2772977pfm.202.2021.09.09.10.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 10:57:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 10:56:36 -0700 Message-Id: <20210909175648.174258-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 06/18] bpf: fix spelling in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Found by running codespell on the bpf implementation. Signed-off-by: Stephen Hemminger --- lib/bpf/bpf_jit_x86.c | 2 +- lib/bpf/bpf_validate.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c index aa22ea78a01d..518513376a67 100644 --- a/lib/bpf/bpf_jit_x86.c +++ b/lib/bpf/bpf_jit_x86.c @@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st) uint32_t i; int32_t spil, ofs; - /* if we allready have an epilog generate a jump to it */ + /* if we already have an epilog generate a jump to it */ if (st->exit.num++ != 0) { emit_abs_jmp(st, st->exit.off); return; diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c index 7b1291b382e9..3e7d3d730637 100644 --- a/lib/bpf/bpf_validate.c +++ b/lib/bpf/bpf_validate.c @@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = { /* * make sure that instruction syntax is valid, - * and it fields don't violate partciular instrcution type restrictions. + * and it fields don't violate particular instruction type restrictions. */ static const char * check_syntax(const struct ebpf_insn *ins) @@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf) /* * construct CFG, jcc nodes have to outgoing edges, - * 'exit' nodes - none, all others nodes have exaclty one + * 'exit' nodes - none, all others nodes have exactly one * outgoing edge. */ switch (ins->code) {