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 74379A057B; Wed, 1 Apr 2020 16:23:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C200C1BFB7; Wed, 1 Apr 2020 16:21:52 +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 E4EA71BF3C for ; Wed, 1 Apr 2020 16:21:50 +0200 (CEST) Received: by mail-lj1-f196.google.com with SMTP id q19so25894740ljp.9 for ; Wed, 01 Apr 2020 07:21:50 -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=mILA2OXX5JY1RnMY5aIZAnl0BBgbyyTfBaMA5jASz7o=; b=DyWNxRN2QO0SpkOSzcrS7Z4QNK+7SW52PkbX2yROuIKr3ojwdhgQmVOHmJkrjFJTbX 8HgijWIE5eUi5XBavX77SfkqO5HeBD757iuCa+AsKGL3OQMpSN+VWd9ZKIt5omgX//dq YZ8y2XKgn1MvbkTtgOsj0HxqSwpU3yOQA61S+hPnWqyJ1MMhL6tKvttGsoz2JdUXfdVb Gm5v9eS5MylikA2W19bG+IV9JY77FNQ5v+7LEcKonrlPi6BLTcf4RR6SO7exITkYA58d VpmiwUNU72oFfJ2IV00S7g5mg6fRyGp/KbZdwcKrfMm/wDfQtAzXqxAKpVCkae/K2+0A Pvzw== 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=mILA2OXX5JY1RnMY5aIZAnl0BBgbyyTfBaMA5jASz7o=; b=mVlmWZkOCD/5wovXH6vvEowTYTC/ohnibIKKyCcwUmvnU32bggu6/b7oMvPHqzeSCe RGFELLkE9oUmqXjBuJCEIqrcV+19ILMIsrgjlPE5kYnR5oClhtjFODnIU6NtHi9Q5TjU d9cHlzrPNA7JHDKWEMnlDb+CT9jiH47W5IFQ8YOYZwER8Kle2EGvzfkPyFj1v7MZfNa9 dLF5yYVLSbEtcxcN4Ktewlmb8fnTnu84SEpN4ywFMY+pnOxNF8Ir41XqyiRmH4DPAwli JKsJhSSkuXgamgp/IfTPjbFJbQWWh+iLTtDMs9AXgvrt4jOABFqL8M30effHAOJy01+Z tUHA== X-Gm-Message-State: AGi0Pub1V6JayOg/vAPZT8La0s2JOfsvCtXI+KZMmNI6CB3xCn/q1ymB jNz3DdL0gxw3y2zXzwiqsiHYzjY0lo4= X-Google-Smtp-Source: APiQypJ6snZcogPnnbkPDpJBSuSl2Xm0cqYjABensnzqPFGuW4faR7ANnPdO4I0PbTXF28sWjHsqcQ== X-Received: by 2002:a2e:9752:: with SMTP id f18mr13437986ljj.181.1585750909368; Wed, 01 Apr 2020 07:21:49 -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 r21sm1435961ljp.29.2020.04.01.07.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2020 07:21:48 -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, Michal Krawczyk Date: Wed, 1 Apr 2020 16:21:07 +0200 Message-Id: <20200401142127.13715-10-mk@semihalf.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200401142127.13715-1-mk@semihalf.com> References: <20200401142127.13715-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 09/29] 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 d15b7f22dc..7c1d0aef20 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