diff mbox series

[SRU,J:linux-bluefield,v1] UBUNTU: SAUCE: netdev: make the IFLA_DPLL_PIN align with upstream

Message ID 1716468568-6527-2-git-send-email-yifeid@nvidia.com
State New
Headers show
Series [SRU,J:linux-bluefield,v1] UBUNTU: SAUCE: netdev: make the IFLA_DPLL_PIN align with upstream | expand

Commit Message

Tony Duan May 23, 2024, 12:49 p.m. UTC
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 <yifeid@nvidia.com>
---
 include/uapi/linux/if_link.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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
 };