From patchwork Wed Jul 13 15:50:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Matz X-Patchwork-Id: 113950 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1C9F7A0032; Wed, 13 Jul 2022 17:51:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B79114282D; Wed, 13 Jul 2022 17:51:45 +0200 (CEST) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mails.dpdk.org (Postfix) with ESMTP id 841B94280D for ; Wed, 13 Jul 2022 17:51:44 +0200 (CEST) Received: by mail-wm1-f45.google.com with SMTP id n185so6763853wmn.4 for ; Wed, 13 Jul 2022 08:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oYY87pvpxktua16JfLO6qj+xxunLWzZy1k6C6/jmvz8=; b=D1PtiSMMXy4kvj2jgezw+l4GAl69us8cm8bCIhSlvrxvTJDlTWMM/Di2tQmrsqFPbA qDs27GIAs+ZbmyV00EEy1PnDsZwnIO2IzWFpjWMPVp+3Y4M4EMgyrSf6+rtmHQ4+tln/ EyUX6igmfZtU81MkOLeIe/qe4h2h6v1KVXm8Q6LctTSDmr/hiRpBuAwa6Evtj4acyKeB +KFopjAlIwndx9DtvbX6eTROzd54anY68mJN63uf4EIaF+Q0lYJf4ST7qZ11HCoFvIfC o4rs4A2aGhtpxwj8bMyEUQTP6cfFR0yud0bHZYiZ/fDSFKy/HMTTzRN46bMytO/yI3jx WuFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oYY87pvpxktua16JfLO6qj+xxunLWzZy1k6C6/jmvz8=; b=gk6dpnw8p3MSoPh6wFevg+v1tC6vLOpXCOi9pq4VkDUPzKiZeYXP3sF7E5w9F4gQW7 fCttPRJN7Ox37ALijV3Yn+/XcXn22BWDcw127Iv3Z4NnuXcUKQC+O+AIESHLHzjtTK3h cBStIdnad3+tH7cX+ncZtOqps1kMT6Nna9ChRiU+YtqPxxIuCU/HEsXGXQ5U2aFN+KOR k3t3/V380SCWaO3GEvuRoVAbBUw2G1eaMwA9E6Sncanw5gKsI2lwcS1DS9qBmtW67168 waq9JPP/HQ/cjTXgOgwdYjT+QGmAqlRHp52rwZfUzKO1mJii8oQ8Z2anxnUsdPsU08Za 50dg== X-Gm-Message-State: AJIora9Jsh+JuNsU3GDY1qa7wIv+fVCrZ9MsvUEeqviXd+1zoZJ1+/oi T+hMtorCBCqQg35G6DRX9BnLgC++nh0s1g== X-Google-Smtp-Source: AGRyM1uJC2k4mVnatebudhbo5F7wjz2eXQ15fN4ghuDI6lKlp/o2LA4o7amHybqaN+0JHAff1daLpA== X-Received: by 2002:a05:600c:154a:b0:3a1:70dd:9a12 with SMTP id f10-20020a05600c154a00b003a170dd9a12mr10728523wmg.70.1657727504221; Wed, 13 Jul 2022 08:51:44 -0700 (PDT) Received: from gojira.dev.6wind.com ([185.13.181.2]) by smtp.gmail.com with ESMTPSA id m23-20020a05600c3b1700b003a2e278510csm2836808wms.15.2022.07.13.08.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 08:51:43 -0700 (PDT) From: Olivier Matz To: dev@dpdk.org Cc: Ray Kinsella , David Marchand Subject: [PATCH] doc: announce behavior change for device NUMA node field Date: Wed, 13 Jul 2022 17:50:43 +0200 Message-Id: <20220713155043.11490-1-olivier.matz@6wind.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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 The dev->device.numa_node field is set by the bus driver for each device it manages to indicate on which NUMA node this device lies. When this information is unknown, the assigned value is not consistent across the bus drivers. In v22.11, the value will be set to -1 in this case. Link: https://patches.dpdk.org/project/dpdk/patch/20211026090610.10823-1-houssem.bouhlel@6wind.com/ Signed-off-by: Olivier Matz Acked-by: Bruce Richardson Acked-by: Jerin Jacob Acked-by: David Marchand Acked-by: Anatoly Burakov --- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 4e5b23c53d..5f269bf527 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -125,3 +125,9 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* bus: The ``dev->device.numa_node`` field is set by the bus driver for + each device it manages to indicate on which NUMA node this device + lies. When this information is unknown, the assigned value is not + consistent across the bus drivers. In v22.11, the value will be set + to -1 in this case.