From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3DB8AA0597; Wed, 8 Apr 2020 10:31:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EFD6B1C123; Wed, 8 Apr 2020 10:29:44 +0200 (CEST) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by dpdk.org (Postfix) with ESMTP id 758951C0CE for ; Wed, 8 Apr 2020 10:29:39 +0200 (CEST) Received: by mail-lj1-f196.google.com with SMTP id p10so6712521ljn.1 for ; Wed, 08 Apr 2020 01:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W7piDFMpFthle7A8s+8+JunLxgKAG/6jCiG2ZfbBTRg=; b=gyp2SqMhc1TvDPya8vCDCquST6t7AWNVqFWD28qlPcMlfkfKmnXg8uT+tY1HGI+4nc Ux2azLewPijAzJ8QmRxfIqdz6GKgQ1GcEUHK5M5nGg1U3KvK+cTyxCHsca0VRVeE+F17 qMUCANS3N2rwUC/bWfin2+yxODY4ytSCkB68dNUiltHeZFTQYu7s9mJreR/CIhBLYOUE Nkpe5gJUiN1hYTmXjvUDimLJ21hNiH0CJPzv7D49lfRimj+otLCzjYnuIfC4R93BkzqX /FBSRRoH6GoKU3Hn1Jim4RWHGGjBvakww+LLIscTMp5XswcGW4ru4SoJ2BY/tlKdmW3N OLTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W7piDFMpFthle7A8s+8+JunLxgKAG/6jCiG2ZfbBTRg=; b=g1orXRRpRItHvYc33jqrjz4ofFFTHxfVDCahNBqI8OKC83AQf/XR2OBL6/zYiF7x5T 2FfYSKRZToa/ypMO0n5lNLb4UfRbUrIpmWOTYsKEpnWK7l/Xn6ekiwIiq6GbYJI3aLL1 t2JQoZjGk5ASLPjHtDAPtmtubHwe3940i5blNVF1Gom6PwjuPZQ7kEP2KdixmQ8JefPz OGg4zYEQ3FqRtc64Uo5YY0yUhbi6jkXkzZikVaPLsBMqbRIgcUd8c42NYrU1rAQqVSa7 nSPnAFV8YhiaLL566gBpYJM0MicDelx4z0IHl0Pyn1N0p3p0B7lcmFdMfrbwVEQ6XV46 kWWQ== X-Gm-Message-State: AGi0PuZCO1Hot507HTlR5jbJbgqjxr3vVXoHluoZAHVIXE+QRtd70oCp bFDHYJHURqLs1FPnxSq4/40NTh10df4= X-Google-Smtp-Source: APiQypJOcXU7RQJfAMpC/VazKj/ybBuTxSAOLIO8vYcWWU4akaYx1AztNc5yJgR9ew2yvaHeRZrBrw== X-Received: by 2002:a2e:8652:: with SMTP id i18mr4402807ljj.265.1586334578786; Wed, 08 Apr 2020 01:29:38 -0700 (PDT) Received: from mkPC.semihalf.local (193-106-246-138.noc.fibertech.net.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id e8sm765685lja.3.2020.04.08.01.29.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 01:29:38 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: mw@semihalf.com, mba@semihalf.com, gtzalik@amazon.com, evgenys@amazon.com, igorch@amazon.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, Michal Krawczyk Date: Wed, 8 Apr 2020 10:29:02 +0200 Message-Id: <20200408082921.31000-12-mk@semihalf.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200408082921.31000-1-mk@semihalf.com> References: <20200408082921.31000-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 11/30] net/ena/base: fix indentation in cq polling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The spaces instead of tabs were used for the indent. Signed-off-by: Michal Krawczyk Reviewed-by: Igor Chauskin Reviewed-by: Guy Tzalik --- drivers/net/ena/base/ena_com.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ena/base/ena_com.c b/drivers/net/ena/base/ena_com.c index 962baf6024..f128d3c4f3 100644 --- a/drivers/net/ena/base/ena_com.c +++ b/drivers/net/ena/base/ena_com.c @@ -532,11 +532,11 @@ static int ena_com_wait_and_process_admin_cq_polling(struct ena_comp_ctx *comp_c timeout = ENA_GET_SYSTEM_TIMEOUT(admin_queue->completion_timeout); while (1) { - ENA_SPINLOCK_LOCK(admin_queue->q_lock, flags); - ena_com_handle_admin_completion(admin_queue); - ENA_SPINLOCK_UNLOCK(admin_queue->q_lock, flags); + ENA_SPINLOCK_LOCK(admin_queue->q_lock, flags); + ena_com_handle_admin_completion(admin_queue); + ENA_SPINLOCK_UNLOCK(admin_queue->q_lock, flags); - if (comp_ctx->status != ENA_CMD_SUBMITTED) + if (comp_ctx->status != ENA_CMD_SUBMITTED) break; if (ENA_TIME_EXPIRE(timeout)) { -- 2.20.1