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 12C7BA046B for ; Tue, 23 Jul 2019 20:38:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB6E31C08E; Tue, 23 Jul 2019 20:38:44 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 292091C08E for ; Tue, 23 Jul 2019 20:38:43 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id i70so9101896pgd.4 for ; Tue, 23 Jul 2019 11:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KDj79DyUvnbHp6OU9LtPYGIavTN/OGO37z/a83MuPkY=; b=HZT7Mmtjct7xlgNBNgK71lvaeleqOJZT6GcwGtq2OtFZkrclhoHqXnIlR6PMeYOZZf 6t7Q1To6gxFqcmDDUicPbblfmCY+gdzwD/A6mDfLh2eSJp3DTnXdVYabosmfaTosbwNy ijOCwPLrXdanezsKvaFJragplSnydOBEdT6ZmntaZkIwy2HMemSpiPerRm/LBwsHK6Xl EJnoNTEQmUH0DzvBeev61Xr1upziGFbd7Ngdg/zPoUuyMBcmYuHx6FDZmHj2FuLaoKdV JwYEq8Ct0Afk910NBBdeFm+fj6yGhd7QoDsOPFChK7M9xRwmAqm1Ehx8J0XLdKvOTl2t Y3Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KDj79DyUvnbHp6OU9LtPYGIavTN/OGO37z/a83MuPkY=; b=pBDscnTpsmbd+QWTvv8iUOnU29xUkcezKKeGo+NVk5tTnwswpaareK5Pqg8v6vm/eb LZGd5KmtdKjX5ONXiWDjouILPma5AJzRft4LOK1KKhp+mYGWWEYWUvnFpqFTP/VBUcIM 3L0pcGu7oQEVeVGyOTsNW+NoARnvE2ufjRTNrABC1hHvDW6Z8Cu7QbdwM6Zn+cSJ/mV6 cunsOpMwLQLlQR+c9y3YdL51B7vKcZdFPPn2lZggOti2GCQBB9n1R9KHavtlAczT4zbM aV8BvEgcgnBiEXwmzkARaErkbZiSlqtSjTY7a3Ox9IkwpSEXY9FNkZkgCqJkOOQ7oS/i OqBg== X-Gm-Message-State: APjAAAUVx+X8YrxPjNbFa7xTjYoO9v5E+HHKkCWmpeRvcJ3kEWFXAMu8 M/kpsjf5iBH+xZWcUwZBcXs= X-Google-Smtp-Source: APXvYqwS44zRArwNfNovxtZEszdl8bTI/sPdQyfWjILvi55N++I9AJ3VJ4DszBDSU4QruwGU13QzTA== X-Received: by 2002:a63:5048:: with SMTP id q8mr76805460pgl.446.1563907122249; Tue, 23 Jul 2019 11:38:42 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id q144sm44053433pfc.103.2019.07.23.11.38.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 23 Jul 2019 11:38:42 -0700 (PDT) Date: Tue, 23 Jul 2019 11:38:35 -0700 From: Stephen Hemminger To: Anatoly Burakov Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20190723113835.3cbe5dd5@hermes.lan> In-Reply-To: <6613e2fb817959e0a1230810b2b0c5b93738f1b8.1563887988.git.anatoly.burakov@intel.com> References: <6613e2fb817959e0a1230810b2b0c5b93738f1b8.1563887988.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] eal: fix proc type auto detection X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Tue, 23 Jul 2019 14:19:53 +0100 Anatoly Burakov wrote: > diff --git a/lib/librte_eal/linux/eal/eal.c b/lib/librte_eal/linux/eal/eal.c > index 34db78753..54feb24a3 100644 > --- a/lib/librte_eal/linux/eal/eal.c > +++ b/lib/librte_eal/linux/eal/eal.c > @@ -83,6 +83,13 @@ static struct flock wr_lock = { > .l_len = sizeof(early_mem_config.memsegs), > }; > > +static struct flock rd_lock = { > + .l_type = F_RDLCK, > + .l_whence = SEEK_SET, > + .l_start = offsetof(struct rte_mem_config, memsegs), > + .l_len = sizeof(early_mem_config.memsegs), > +}; > + Indentation (whitespace) of both flock structures is wrong. Should be single tab.