From patchwork Wed Nov 9 19:14:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 119640 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 8F02AA034C; Wed, 9 Nov 2022 20:15:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D0A3410FB; Wed, 9 Nov 2022 20:15:00 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id B4FC54021E for ; Wed, 9 Nov 2022 20:14:59 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id p21so17985691plr.7 for ; Wed, 09 Nov 2022 11:14:59 -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=DcTutJDyr1dZ7QMNyQLnFVXxhGcvNXObNc5Sx0Ha7zi+m+fXWF7TyYlfKO97uIbxe0 e0gWfZBSESELX6IZgjRqHtwCeel2ZoRE6Q/8XbdTrOyg6RfDZqcGOU/8gh58TwLK8dQU bJpMi7paidl+Zypd8OuKjQrukP++vqHyga9Np3TjQNfjIKvJx2W32SS7GYRgcpa+gP3d b5jTe+4guTiEFy5gDhZWBAOGdQ88aZMcnvzUgRmJJ4TZhY91r9uDgGOAfRVz83y6IyJr 6ESbbuALsrgk8JEvFOn2C1fW5eFD/EWAkMS/ufQBytAY30KVhbT5QIp8NnttmX4LZ54U WWuw== 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=UotB/pIL/YHP+CPGPu7yjsCTEHeVm6W6dYmbCkNv2OZeONQuR5etp3tZ50VDYEA0sh DnFwk7fZNrgoM8W2XJrG5R7cN9xPrz5KiNF97bJpMIkQotR3uIJtactxrjKkDdOBbJ4J l8rAcTp8q03Goy/E55MxL+92DlowCjVlD7L+NEV26paYHMnMkxVXNFtiV4EN9FKN19t5 GcnJIFPZxorDkkeOa5kkkMEtOrkVQwzc8Tf2IMTOQtfNt1xK/QXBjiMhJud2nPhhDAJR ojufMjHEDP9nA8Mq6bNajDPjfZn5yd0SVnsObcEeNfKMG8SfabMUaBVbsgGLky5hLMgK vWiQ== X-Gm-Message-State: ACrzQf0WjnicAe1sKjEegozvsCbDQ334wfNm3TxhW4M7/1xtYrULm7VT nRXz/jadzimcQb4l+jN8IwF2blKEUnKPDQ== X-Google-Smtp-Source: AMsMyM7QZjoHAOP9YCOHzXpRVb+WWvaC9wn2HEXS49OLJuwG5lTHcOuTgekbLA6uVX+lsLxqM3/0zw== X-Received: by 2002:a17:90a:5308:b0:20b:1eae:c94e with SMTP id x8-20020a17090a530800b0020b1eaec94emr46109730pjh.88.1668021298349; Wed, 09 Nov 2022 11:14:58 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id gn16-20020a17090ac79000b002130c269b6fsm1586698pjb.1.2022.11.09.11.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 11:14:57 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH 04/14] ip_frag: fix whitespace Date: Wed, 9 Nov 2022 11:14:35 -0800 Message-Id: <20221109191445.140320-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221109191445.140320-1-stephen@networkplumber.org> References: <20221109191445.140320-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);