From patchwork Thu May 23 12:49:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Duan X-Patchwork-Id: 1938332 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 4VlSgC1JS2z20dp for ; Thu, 23 May 2024 22:49:43 +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 1sA7t3-0005Py-MS; Thu, 23 May 2024 12:49:37 +0000 Received: from xvfrnhpk.outbound-mail.sendgrid.net ([168.245.32.49]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sA7t1-0005Nb-Iv for kernel-team@lists.ubuntu.com; Thu, 23 May 2024 12:49:35 +0000 Received: by filterdrecv-5d7d9cdcc-4dtg2 with SMTP id filterdrecv-5d7d9cdcc-4dtg2-1-664F3B5D-7B 2024-05-23 12:49:33.590394746 +0000 UTC m=+2038112.992573812 Received: from mtl123.mtl.labs.mlnx (unknown) by geopod-ismtpd-3 (SG) with ESMTP id MLlkV6NdRqysvFsAgR6zfw Thu, 23 May 2024 12:49:33.388 +0000 (UTC) Received: from sw-mtx-008.mtx.labs.mlnx. (sw-mtx-008.mtx.labs.mlnx [10.9.150.35]) by mtl123.mtl.labs.mlnx (8.14.4/8.14.4) with ESMTP id 44NCnSjg032467; Thu, 23 May 2024 15:49:31 +0300 From: Tony Duan Subject: [SRU][J:linux-bluefield][PATCH v1] UBUNTU: SAUCE: netdev: make the IFLA_DPLL_PIN align with upstream Date: Thu, 23 May 2024 12:49:33 +0000 (UTC) Message-Id: <1716468568-6527-2-git-send-email-yifeid@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1716468568-6527-1-git-send-email-yifeid@nvidia.com> References: <1716468568-6527-1-git-send-email-yifeid@nvidia.com> X-SG-EID: u001.2/T2i+PjH8FtPn7JfsSChHaWl3PpmVnyX5T1aOUIitXMdUOZ4/C/1ZN1GM/+2slrecRpbVCP8rDobQCgrOhbU8Kljxpt7wyJUIMqoYBXEQAJU9DIJ4wPKT0CJad0x2+nH04m4ArhPymegBgGk/4CLeC9XyWVpVjgY3UWKtTTkilhIZOmxEwactI9T2t6zWLA4+VEpeDJrTrGZ+p3g2GZGliQlqcVs3ns7pP0YF+xwp9CKE/XLX6JNhQe2w7w4+ej To: kernel-team@lists.ubuntu.com X-Entity-ID: u001.9Nu+sJkq3f0LJ/tZbyfOWA== Received-SPF: pass client-ip=168.245.32.49; envelope-from=bounces+3445690-1bdd-kernel-team=lists.ubuntu.com@sendgridstats.nvidia.com; helo=xvfrnhpk.outbound-mail.sendgrid.net 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: , Cc: vlad@nvidia.com, dann.frazier@canonical.com, bodong@nvidia.com MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2066897 IFLA_DPLL_PIN was exposed in upstream and backported into Bluefield kernel. Because from IFLA_GRO_MAX_SIZE to IFLA_GRO_IPV4_MAX_SIZE are not needed in Bluefield kernel, they are not backported. This causes the value of IFLA_DPLL_PIN is 58 while it is 65 in upstream. The inconsistency of this value may break the uapi and cause the user space application like synced fail. Fixes: 3872533 ("netdev: expose DPLL pin handle for netdevice") Signed-off-by: Tony Duan --- include/uapi/linux/if_link.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index eb8a500..0443db0 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -347,7 +347,7 @@ enum { */ IFLA_PARENT_DEV_NAME, IFLA_PARENT_DEV_BUS_NAME, - IFLA_DPLL_PIN, + IFLA_DPLL_PIN = 65, /* Set it same num as upstream to avoid breaking uapi */ __IFLA_MAX };