From patchwork Wed Nov 9 23:24:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 119673 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 ED748A0093; Thu, 10 Nov 2022 00:25:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B13A942D24; Thu, 10 Nov 2022 00:25:02 +0100 (CET) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id B9F5442D0E for ; Thu, 10 Nov 2022 00:25:00 +0100 (CET) Received: by mail-pl1-f171.google.com with SMTP id p12so122666plq.4 for ; Wed, 09 Nov 2022 15:25:00 -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=w4FLZt9C3jBH0wxHiy4T7+TtiH40gP7zDC6bgs4y3Dup2a+5f6oGk9mwNEm5qVDDz+ XbejcKXeHMQ9c6osaqLtN0CqKFdX/dpQLuksDwOwGELb8ugllYmdKxD2bKQzYee4Q6x9 7MZ/G+hskHQsDUR7Y2cZ/MvtUCMLkDbQVjYp7yY0uD+KHGu247IjVJgy7TAvTS8a/qza aQ6pQH+Si+0FHsULymv4Nstxp34XTJUa3X6i+xObNoGZ9GFFBHm3lyYigfjLwDzAG8bK ZqTFUjIbT9CAe4R7P/n87tU7jB8nh2Cl73T2m6X/7VQQqe0E1ZgqVaFh9mvrCLr7iWne ZofA== 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=DClJNfn3LopkabT3QeIGr+jICE/FNoUJewS4JLUhcAyXVOJy/HB9fjmrYaNLX5sL7+ ntiooPC0iGRBgqOvx+TzrpxYE+/B9snPa940fK9OodKY3SchrAR/RLblbzaM6C4ohlSI WCht+LZvWjLpMUq82qHOufV67yy86dGsYgvtXvPTbjXad829tITUkBVigC6UrvYaZJe9 tPU9DxDM2L9IsM6JW2K5Tq9XwSVloLcLSMpY1EIJKeTo4R0RNTiucqlCldi0/AFSOOxc Hu3cjzRdWGIGoCbpcS64bnIja+zm8lz3XkPDCefdU66nZdKqmZPUZe8iqvowfssuoqu1 xnqA== X-Gm-Message-State: ACrzQf0gkg2IDx3bY+99LsNKeLmpcK4l8oBI7rCsjYPIheKfOsnTP/ha naHG4cCm8ZtYgCj1X7XVy4LtHH9ynY+anw== X-Google-Smtp-Source: AMsMyM4xg+RZ/pCxgUkBfwX20da5qjVo1l4Hvt3jGvUDgJ8l1A+PFmtVS6K0gUDe39AcxswCsVIung== X-Received: by 2002:a17:902:64c1:b0:186:827e:a0da with SMTP id y1-20020a17090264c100b00186827ea0damr63374581pli.94.1668036299650; Wed, 09 Nov 2022 15:24:59 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id y28-20020aa79e1c000000b0056e15b7138esm8798645pfq.157.2022.11.09.15.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 15:24:59 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v3 04/14] ip_frag: fix whitespace Date: Wed, 9 Nov 2022 15:24:41 -0800 Message-Id: <20221109232451.265059-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221109232451.265059-1-stephen@networkplumber.org> References: <20221109191445.140320-1-stephen@networkplumber.org> <20221109232451.265059-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);