From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7986BA034C; Wed, 9 Nov 2022 20:16:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A796A40143; Wed, 9 Nov 2022 20:15:18 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id BED6642D52 for ; Wed, 9 Nov 2022 20:15:16 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id m6so17634032pfb.0 for ; Wed, 09 Nov 2022 11:15:16 -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=HHt9PbzPy7mkylQAPxjeYOiNiOuzNKGwN6+hVQRO3+Q=; b=8JMBU+H8MF56KyXeQM9IZ1dPDQeJ+upI2TMmQ95+esOiUmHr9iHFzOoOcoSjxPqwEN +2HHvkQ0LQJE/J3f1FXlYYjhCWgX/8EXUhXa5FsdzmD5PJ2ZiDBHZNu2M0O5tIkWncnN EA8sWVIUXSwUKgqzkOYvKPWrAUAgly/xvZHteeE5dSRu22RRaTx56Dgff7O58uCGjGEr NqS1Ft8lF3hgo4SsAuZC283YYxZ+7tZz+RXpemPyy97ibfzcA4JxXkpKCN57S1uZqiKC eszFfvJ5Dbhs4c5+TSw9MPJW09TDIsWfryl68COZDQUTkAWHPX4zV0IpRtCmoF1Uab4s luhg== 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=HHt9PbzPy7mkylQAPxjeYOiNiOuzNKGwN6+hVQRO3+Q=; b=WJFxHWkh7vsG9XbBadCogOWQCM9b9piuKifXrdptEfnZsPlNdI20S37JBCrTpepvUw +/CBitYwv8ZchoPqRjacJ8LeuJXK4V+D8qUDAUBpo30AgVfoPy3frbCw/ENy7XJg/nEB 18IFZBpzCQGoa6uyHLa1J8bTDE8+fu7xSC5alRASe2GLW+9ElM9z4vXw2cPwaAnA9tNs bS9PpXlcv/5np6KIfHfQpcOS/hN3KlXu+ZwLCTMmacNmoG4wF3FUMWQNZsVQChVkSFz2 qAsj1XrozdruKHd3ZQxVNVGwz9vKMu6NRTIi8ntfOGSIfsvU90Istjdyi43Zuup9q8/r n8Fg== X-Gm-Message-State: ACrzQf0S9vL9Y0KPW9ypv327w0XCH492CmSIgWhiVrggnE4lnSAkY9Cu lw6qqhq10ewgcAAqbAlDbwoRlxD1cmkSmg== X-Google-Smtp-Source: AMsMyM72/Sz0CoW8+2bfavfisRjWP0RZerbkGJabRai12VBhmLTLc2zqWlemsBy2njlNIZpTQerP7A== X-Received: by 2002:a63:1c1b:0:b0:46f:7b0f:4fea with SMTP id c27-20020a631c1b000000b0046f7b0f4feamr51741259pgc.423.1668021315936; Wed, 09 Nov 2022 11:15:15 -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.15.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 11:15:15 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Yuying Zhang , Beilei Xing Subject: [PATCH 13/14] net/i40e: fix whitespace Date: Wed, 9 Nov 2022 11:14:44 -0800 Message-Id: <20221109191445.140320-14-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 Content-Transfer-Encoding: 8bit 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 --- drivers/net/i40e/i40e_pf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c index 15d9ff868f3a..7050e0057d8e 100644 --- a/drivers/net/i40e/i40e_pf.c +++ b/drivers/net/i40e/i40e_pf.c @@ -956,7 +956,7 @@ i40e_pf_host_process_cmd_add_vlan(struct i40e_pf_vf *vf, for (i = 0; i < vlan_filter_list->num_elements; i++) { ret = i40e_vsi_add_vlan(vf->vsi, vid[i]); - if(ret != I40E_SUCCESS) + if (ret != I40E_SUCCESS) goto send_msg; } @@ -996,7 +996,7 @@ i40e_pf_host_process_cmd_del_vlan(struct i40e_pf_vf *vf, vid = vlan_filter_list->vlan_id; for (i = 0; i < vlan_filter_list->num_elements; i++) { ret = i40e_vsi_delete_vlan(vf->vsi, vid[i]); - if(ret != I40E_SUCCESS) + if (ret != I40E_SUCCESS) goto send_msg; } @@ -1577,12 +1577,12 @@ i40e_pf_host_init(struct rte_eth_dev *dev) * return if SRIOV not enabled, VF number not configured or * no queue assigned. */ - if(!hw->func_caps.sr_iov_1_1 || pf->vf_num == 0 || pf->vf_nb_qps == 0) + if (!hw->func_caps.sr_iov_1_1 || pf->vf_num == 0 || pf->vf_nb_qps == 0) return I40E_SUCCESS; /* Allocate memory to store VF structure */ pf->vfs = rte_zmalloc("i40e_pf_vf",sizeof(*pf->vfs) * pf->vf_num, 0); - if(pf->vfs == NULL) + if (pf->vfs == NULL) return -ENOMEM; /* Disable irq0 for VFR event */ -- 2.35.1