From patchwork Wed Jul 24 12:26:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Cox X-Patchwork-Id: 1964265 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WTYFL1Jndz1yZw for ; Wed, 24 Jul 2024 22:27:49 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sWb5n-0000JU-N0; Wed, 24 Jul 2024 12:27:39 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sWb5l-0000Iv-Ug for kernel-team@lists.ubuntu.com; Wed, 24 Jul 2024 12:27:37 +0000 Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 9B7F83F335 for ; Wed, 24 Jul 2024 12:27:37 +0000 (UTC) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-52eff760f37so4745720e87.0 for ; Wed, 24 Jul 2024 05:27:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721824055; x=1722428855; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Mr2eXKiO1XKCJc2l4cam9pSTT8j/B4LwBh+4vv5eXfE=; b=AxgIn8Ndr7S4tVip8/GUouOmkWNjIhj8YwmlarROiycEx2xj+ARmKMYwZ2yDUAGVEf Vx9gx7SRwk6pNYG6pVxiHtQmukwbxzMKZcxTRPXqTqbCYmSllNcgL1YwwCZTP68aU/IW WjENkHOv3/9jfmLWqV0OgOzNCeT06S/bF3d/ZY/0ZByj9rt5IMUXLif50YKRZDbPU+wI Odgq2YVRvLzT3ttJxSb7wfna6/BOG/TD0aAA8UWFjY1xqWud4TB87UoomKg0+5E8i+ou FvOAmwBmcIauNE2+35hHoAbn6VjJjnlWe9uFg7vnNzsqzkChUMKQd1j8UXVYIttAxWtl 62zg== X-Gm-Message-State: AOJu0YxW1GfcFYuaGB5vBN4KrBXDuruRtshnArFWbepes+zvYWt+NOGJ 0dh9Hg842r828mbMml3HGj8rOb/d1ObMZqXPMZqpPpQOT0ZNzHlAuOx8Uj7XgjY7jEYwdwkeUpn 0vxAVDB1lVe9st/BdbgKYVnJfgd+8IORFRNpBCplfaXsrlojWGsS3PCVsyKtV0ZCfTUKNnmjxZE VtlWMsEEN0K7bq X-Received: by 2002:a05:6512:3403:b0:52c:e180:4eac with SMTP id 2adb3069b0e04-52fcefea667mr1330367e87.9.1721824054918; Wed, 24 Jul 2024 05:27:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsCCE4swYB2MTbg4ItGYo5nwE9lt19qSXImjd2qPPyM7dU+cJbxnSRGC5l8HAc1fky5XyVsA== X-Received: by 2002:a05:6512:3403:b0:52c:e180:4eac with SMTP id 2adb3069b0e04-52fcefea667mr1330351e87.9.1721824054418; Wed, 24 Jul 2024 05:27:34 -0700 (PDT) Received: from cox.conference ([136.169.90.162]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52f01d9d5ebsm1235588e87.243.2024.07.24.05.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jul 2024 05:27:32 -0700 (PDT) From: Philip Cox To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][aws][v2] net: ena: Fix redundant device NUMA node override Date: Wed, 24 Jul 2024 15:26:24 +0300 Message-Id: <20240724122625.376350-1-philip.cox@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2067516 SRU Justification: [Impact] We discovered a network packets per second (PPS) performance issue in one of our upcoming EC2 instance platform on Graviton.The issue is addressed by setting a value for the numa_cma parameter. While this parameter is supported in 24.04, the parameter is not available in 22.04 or 20.04 today, which could impact customers running 22.04 or 20.04 on the new EC2 platform. [Fix] We are requesting that the following changes be backported to 24.04 to fix a performance issue with NUMA node overrides for AWS EC2 ENA adapaters: https://github.com/torvalds/linux/commit/2dc8b1e7177d4f49f492ce648440caf2de0c366 [Test Plan] aws tested [Where problems could occur] The patch changes how the driver uses shared memory NUMA node id advertised by the underlying device. If any newly written code assumes the old behaviour, errors could arise. [Other info] sf# 00385923 Acked-by: Manuel Diewald Acked-by: Kevin Becker