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 4AE1FA0093; Thu, 10 Nov 2022 00:26:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDBB742D5A; Thu, 10 Nov 2022 00:25:13 +0100 (CET) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTP id 373E242D50 for ; Thu, 10 Nov 2022 00:25:12 +0100 (CET) Received: by mail-pj1-f45.google.com with SMTP id v4-20020a17090a088400b00212cb0ed97eso151629pjc.5 for ; Wed, 09 Nov 2022 15:25:12 -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=twdy34ZzVvUzoOVi1T4Jtg/E8/fMFobjmkEBXLRGaCM+blkR89Sq88/NfKouoG0cHc U3lsc1d1CGYjUZpKLbJccLEANuXHeKyPW887WLbPc827/u7pKZVF5ANvBywBqZNw44dv K+jWAnvRF9lVBBKKuaBCXJrsRQ+TGkGDaxO3E2qeWKhhQvISzVDzuihZ3eyBrw3L0gOi w/n6SYng65odxZRRKYvy7lK+Dsjg5EePnL+ZeQXQ6lodp5ldTavXjse7FyyBjO/0SkD9 x4ZnZiX4ShrktvK4XQme9fFcwQfK/Yl6N1hcjk/BeiNVNo/ARmyOmj7b1G+MA0oJ0Gfv QDVA== 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=Lz7N2ANpDn8bR90Ocg5lNJmaUemM1cnIXgrdwzhHb+dApiGgrEYPnBVzELvnssaV9g wxZAsqP5zhmgEPNH68zOXlyO72fwYJ5dN3AdiZvq0t0qycWAu04wMaMHYuXsenaQcy0h GYCZd1ulZpHIlgrAtfgfxx8OLLJqi+KfsEquYJazU2/29WfZ9VakfVZQ0jHR8AF+chPZ zZxCOixnGGf7rN9U/paJ4XbG1m3VHklqCQOVllAm+9tM/9bRz1pK6WYnEGY+VYCUQJqE R0yd9mUFnZINQNlGPPqSGimLDvZ/1/mTa5Qf7Rm1jJq29ZYrnp2OHpMPWtzo3Nh+xzlB sH8w== X-Gm-Message-State: ACrzQf0NaQSrQ70L4j10cQyIs/5nU9T4LWexDXfiq/BfnRYE8Ln5qxDi pp4eRzS1ycot3erkgVLC6GUgxLpSZpymsw== X-Google-Smtp-Source: AMsMyM4sZBoK3VCOU93cyOn6PyE73E6keW5KPmkzBmJOjcqJmV+3LmNZsJJKgOkR77DIAuRJX2GC6g== X-Received: by 2002:a17:902:f28b:b0:186:b069:63fc with SMTP id k11-20020a170902f28b00b00186b06963fcmr64279700plc.38.1668036311142; Wed, 09 Nov 2022 15:25:11 -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.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 15:25:10 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Yuying Zhang , Beilei Xing Subject: [PATCH v3 13/14] net/i40e: fix whitespace Date: Wed, 9 Nov 2022 15:24:50 -0800 Message-Id: <20221109232451.265059-14-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 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