From patchwork Thu Oct 26 08:06:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 133377 X-Patchwork-Delegate: qi.z.zhang@intel.com 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 46CB143206; Thu, 26 Oct 2023 10:06:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 23A304067C; Thu, 26 Oct 2023 10:06:33 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id B16B6402C5 for ; Thu, 26 Oct 2023 10:06:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698307591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TSTwut6mJriEHVlnjGvRKJ/sxuCbPZaPHh/o2d88t7c=; b=IE/H6les63xJTkzUgHduAeIgvhZfd2w/jVGiiJCBNE+dvT/qzcWQvoknRWvVJBfbJwiipW n1u+VI8sI2yz2aAY7yxUa+yNRYpwE6B2ZHDalp8UfzUq9uz0ptVqtIkme5LaLio8nEXHuR 4axJfDLa8TAZlQr0ebNnYXCRxfUan9w= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-361-jkQ0xR8BPO6NcOr8SB2wFg-1; Thu, 26 Oct 2023 04:06:28 -0400 X-MC-Unique: jkQ0xR8BPO6NcOr8SB2wFg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 680271E441C5; Thu, 26 Oct 2023 08:06:27 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0E713492BE7; Thu, 26 Oct 2023 08:06:25 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Jingjing Wu , Beilei Xing , Radu Nicolau , Declan Doherty , Abhijit Sinha Subject: [PATCH] net/iavf: fix indent in Tx path Date: Thu, 26 Oct 2023 10:06:16 +0200 Message-ID: <20231026080616.2778207-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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 Fix confusing indentations. Fixes: 1e728b01120c ("net/iavf: rework Tx path") Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto") Cc: stable@dpdk.org Signed-off-by: David Marchand Acked-by: Radu Nicolau --- drivers/net/iavf/iavf_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c index c6ef6af1d8..cba7ec3564 100644 --- a/drivers/net/iavf/iavf_rxtx.c +++ b/drivers/net/iavf/iavf_rxtx.c @@ -2896,7 +2896,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) txe->last_id = desc_idx_last; desc_idx = txe->next_id; txe = txn; - } + } if (nb_desc_ipsec) { volatile struct iavf_tx_ipsec_desc *ipsec_desc = @@ -2909,7 +2909,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) if (txe->mbuf) { rte_pktmbuf_free_seg(txe->mbuf); txe->mbuf = NULL; - } + } iavf_fill_ipsec_desc(ipsec_desc, ipsec_md, &ipseclen);