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 3A7ADA328D for ; Tue, 22 Oct 2019 23:36:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1033E1BF2F; Tue, 22 Oct 2019 23:36:32 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id BC3BF1BEC9 for ; Tue, 22 Oct 2019 23:36:30 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id u23so58185pgo.0 for ; Tue, 22 Oct 2019 14:36:30 -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=Z8VYE36AVRNfiHIn4DsCYWdnsqIJDNG9Vk+PYXDsgt8=; b=zFR96ik5EX/1uWiBP91F3HqKyToZcXnhsX/eud1EZljtObUV5GONcGpuQmn9vIot5G RMbXDZBBq+xdEHpJ9NmRwZijVG+3gwKwTZWYOqHMdT9HjznkQ65vLphOV++N1dUBqJQF HXcPTTG9z2/QtE90DFEGL4ZhjxqnxjJ9Ddy/QHu33iqMp0/q0yV4RMk+jIdTEbweZVH4 AwxgUr7RhYo9rUySoAqA+GWq1nxTNS+xBS3La6pZTARr/b1zqNujf49HeyX6QZjJgt6V EFnSjbqJg7PWvjoQ68CiepDae06KrASlwjAur2DNf6OOZ4MiE4yYIxGLcSQdS2KhhfAd dmTg== 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=Z8VYE36AVRNfiHIn4DsCYWdnsqIJDNG9Vk+PYXDsgt8=; b=mHRfkWfCZWGiZT08igfhGqus60nzvyacteljo8/wjbdHwb2ga7hYMokIuLfD5vq/wj rJiZ/ELvXNeAa8MpxmxWmvLj9UGLYC1NQBQjElTSSj8me4fSsdLSVJaAjST7buEvCTFI oHBFgGnW9LG5AkOJUxBth1gjqjiKoYXtAFwtxmq53MQIM7esqOjFTZeqh7ZwD/o3R+DD h9WWIekmThKMJDiX39GgIbZB7m/eBaH8LnXcrWsDB19oc8wnPohphp1iDN5I0LR9juRZ ZWNtziFWfFggD/BkFv07bLKml7YW5CtaoXWc+JBr1ZyW+wajjW2/CA97jF8FKe6fasaQ 2IbQ== X-Gm-Message-State: APjAAAXZB0DrnYa3i7tWu/e7R5YSux2+N+rm7iZDQSsEynb8AZ97DtPR nYVWLfa73Hfay5A1RFX3F4yChw== X-Google-Smtp-Source: APXvYqwwer6H+HLSe0hAYSr43mdt2VJ3kiPX6Zxr4Mg1QnD29WYAk2GBZF3k8kKGq19TbWysAbuvXw== X-Received: by 2002:a17:90a:b78c:: with SMTP id m12mr7366650pjr.12.1571780189544; Tue, 22 Oct 2019 14:36:29 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id v23sm4118913pfn.114.2019.10.22.14.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 14:36:29 -0700 (PDT) Date: Tue, 22 Oct 2019 14:36:21 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, bruce.richardson@intel.com, stable@dpdk.org, Thomas Monjalon Message-ID: <20191022143621.0bae5148@hermes.lan> In-Reply-To: <1571772857-18287-1-git-send-email-david.marchand@redhat.com> References: <1571772857-18287-1-git-send-email-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] eal: remove dead code on NUMA node detection 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" On Tue, 22 Oct 2019 21:34:17 +0200 David Marchand wrote: > RTE_EAL_ALLOW_INV_SOCKET_ID had been introduced and documented as used > with xen dom0 support (dropped for some time now). > > Closely looking at this, the code was changed later and ensures that the > socket id is in the [0..RTE_MAX_NUMA_NODES] range anyway. > > Let's drop this dead code and the build option with it. > > Fixes: 94ef2964148a ("eal/linux: fix numa node detection") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand Acked-by: Stephen Hemminger