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 7BFA5A034C; Wed, 9 Nov 2022 20:54:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58A2842D4C; Wed, 9 Nov 2022 20:53:58 +0100 (CET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id 6387542D35 for ; Wed, 9 Nov 2022 20:53:56 +0100 (CET) Received: by mail-pl1-f177.google.com with SMTP id c2so18061273plz.11 for ; Wed, 09 Nov 2022 11:53:56 -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=j9BtY10ACdXFMU1wQnOUXDYSMGOMesrmLgdj0cnSS5R6U9jWdOxY+PozDPrk7x1p06 ytflIgEIBDRe/ZE64b4uIu47sky+DTDXZ3gAN1zHL/mom1rPnIs9lHvaHPEyet66v4sa oAoHNYmpZjJiL+ewpl3NqZwQKmVJoHW2q099BoeGunDiUmviq8luSGt4rdmtcIyeRFZu KVZC81MNKKNay5RLXPgzyZa5yh7PrGKDnKJ18rhq8SnXoFGLhzPc6Dnww8o63E8wWjeW nURVBp+VjmQ5YHo54K1LjibKuUOFL3ashaTEbvXWBBXTBwtTQrzLwWtsbR9lOn6IiaMA EFrQ== 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=5/4htP8ButC+3qfiS4BoKbr1Xx0fpRBBA6pBA2cD1KH6oM8Xf/MhFqYNvVZpSICZKc llMzn34HHKz9kJTvMU/YOvUyjbG2W36Wq0NequoxgywGP+74QO6xCvf193hRjez2xXUK VHHbHGM8G5RGVcIL7lX1f9OB5iPDKOgd4NnZD2niV/p3kLSHokU2lHJUm32zu0UlEdc+ dNmO4XPLDlX6on6+rtG9S02Jqty8C8buK2iXf8KLj/bBWJRV7mRUbZHulQL+gRfJEqkn V3m3Z+KIZGvl8ceGztAhzjCPU4Qf6fpYjQgLb5vV2DAgMmx9IJFsdmt5fU+2gyGFxVq+ /ndQ== X-Gm-Message-State: ACrzQf1lbCUaU4ufq8Rm1OAcAmHtyWCssVE0HF13q0k7mEo0bY4SyCKi JZOvyG9XlkyuZE5C9lEOTwE+EoggVKMfMw== X-Google-Smtp-Source: AMsMyM6MZcwqa3yjsaOISFFA8UBsBk7uGGITUX1TDsz3tCCwGoMSyuHAXsIbSlc5mWFTk/i7plORpw== X-Received: by 2002:a17:903:2411:b0:184:7159:dce6 with SMTP id e17-20020a170903241100b001847159dce6mr63365652plo.101.1668023635305; Wed, 09 Nov 2022 11:53:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 11:53:54 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Yuying Zhang , Beilei Xing Subject: [PATCH v2 13/14] net/i40e: fix whitespace Date: Wed, 9 Nov 2022 11:53:30 -0800 Message-Id: <20221109195331.143473-14-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 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