From patchwork Wed Nov 9 19:53:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 119655 X-Patchwork-Delegate: thomas@monjalon.net 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 7C38BA034C; Wed, 9 Nov 2022 20:53:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC7EB42D0D; Wed, 9 Nov 2022 20:53:42 +0100 (CET) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 1F15F4113D for ; Wed, 9 Nov 2022 20:53:42 +0100 (CET) Received: by mail-pj1-f47.google.com with SMTP id u8-20020a17090a5e4800b002106dcdd4a0so2874177pji.1 for ; Wed, 09 Nov 2022 11:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jJ0X6Dq1D/GY6I6E4pJhph+lV2hSiKEeD8AtC+fUPco=; b=44Qzh4rcVjYTUoitNbYkJTcR9WbuG3XK51V9VvyC7m36aGGvOKY7AEYK7lZIJT6MVZ +a7AlaYeElCfYUzgiaTyBAD4iU3buiM9NcHMHwrRTx8v+Ew7d/NK/kYYXf2BEs4lARJ6 YoK1VCY36Cy+w6Mg3gs0UI5TtJ8yl6inu8pFTxOG6t7RkYLyhBqGP4SjclB+H6QLL0Hl 6Y6mAZDrOPcz1umkFMSpvyf/zy20j29b7uvUFUjoSLameEbneOc8YKNniKf+cOnkPVUu Fp0OIHr9Wcsn3BQYc7ENp7IvMpRPJtwuQX+0/aTxGo82Kl5rDg/VdWfomqDQmvog16vd lVvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jJ0X6Dq1D/GY6I6E4pJhph+lV2hSiKEeD8AtC+fUPco=; b=1aKfdXvhRSE2TUtJBBVZ9LRxHRYp5hekpfQC2ilJ6qxkeOw2zPdEfmXjcCQS+7ctSI kB/npwXRfAj31JJlwW1WyFO/LlacIKPl7Wzmw9OJb5Yp3+nb39RGvzmOaQdEcEPHc5vY QC99vOEsLyNtZErriC0/ED0yLsfQNKKqrDIfh/Uv44J+RKVmT1cecd82TbGd4O2nvejl TPwNBT0wNl53IzahAWlTQ29SVK+NnBtP8PP6z3WjR5QBWI8QHAwr9FhhRQov8JjkX/LE grAy1swbx2DwFQl019LpCMcFyTVtBXCeWR5MLPwnlRQsENnVUvRJphHAr/5DYiCUUUhQ fWMg== X-Gm-Message-State: ACrzQf0biD/f3q3baubHFGUc3FKhau3/pngb4sTSDRXqVa3/jxhY0Bz9 pw1v85h06e4tiAr/93U/A+4spuw4jmZrwA== X-Google-Smtp-Source: AMsMyM7aW1uPDGW7Q7/uWbCAAtwerT4bPhkl0Mh6vOEbc0HQtI3VRiR6ieR9HZDa05DfkE9aLO8mpQ== X-Received: by 2002:a17:902:7283:b0:188:612b:1d31 with SMTP id d3-20020a170902728300b00188612b1d31mr31931841pll.81.1668023621285; Wed, 09 Nov 2022 11:53:41 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id u14-20020a170902e5ce00b0017f778d4543sm9628875plf.241.2022.11.09.11.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 11:53:39 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v2 04/14] ip_frag: fix whitespace Date: Wed, 9 Nov 2022 11:53:21 -0800 Message-Id: <20221109195331.143473-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221109195331.143473-1-stephen@networkplumber.org> References: <20221109191445.140320-1-stephen@networkplumber.org> <20221109195331.143473-1-stephen@networkplumber.org> MIME-Version: 1.0 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 Add space after keywords. Signed-off-by: Stephen Hemminger --- lib/ip_frag/rte_ipv4_reassembly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c index 4a89a5f5365a..88ee0aa63f62 100644 --- a/lib/ip_frag/rte_ipv4_reassembly.c +++ b/lib/ip_frag/rte_ipv4_reassembly.c @@ -34,7 +34,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp) for (i = n; i != IP_FIRST_FRAG_IDX && ofs != first_len; i--) { /* previous fragment found. */ - if(fp->frags[i].ofs + fp->frags[i].len == ofs) { + if (fp->frags[i].ofs + fp->frags[i].len == ofs) { RTE_ASSERT(curr_idx != i);