Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp853829lqm; Wed, 1 May 2024 19:14:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFPKZJzpdPoGNIRqk4paBJjjUJ6vXZj6GDgxvCeu3OMSv4nu3O3YBlyBs6s2GKO4W5O0r9tUsOPuEomcyCodcyAs/6mdOosqHikyVWKQ== X-Google-Smtp-Source: AGHT+IEsVPIoPahTU8rwp7fMYM0Mxh032Y2S7jCZxvcbHTd3llJltP/DtV9wVdoeOWQ4AEWBO7ew X-Received: by 2002:a05:622a:f:b0:43a:f23c:7fcd with SMTP id x15-20020a05622a000f00b0043af23c7fcdmr841879qtw.12.1714616060638; Wed, 01 May 2024 19:14:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714616060; cv=pass; d=google.com; s=arc-20160816; b=It0w/vy3iVQtwZnzEyF7Oa3IixauFLsUN43LwVrk8v04wOymnUdCSh6R0LKTxGzrVy CVcXBZyUnwBrOGWMwQreB5yUSzi/RLCG7N9fYR0CFeRMhTqu6/T0O5iTyNdL2UZjenZt E7aJ+nLmaC5gr0+HB13ala+AZOMr0Y46GPEB+KxHOHrDd+ddya92PSnR5Sa2ZWelw+ai phatFNPxDiGVuugTsVAZwGo9HUFAJjNth0IBu8ULpabYtAIzH11WkvVuZuqCob3/cTZs 1CGVF5ekpXS2j6gvhbpntZp1Tv+iwQQKUxcqgjkAEPHmdRKLKtVI68f8N8P7VgZ14FTy i0EQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=cKWpVp5jq1gbs+ZU7fgfYEsFqijG2uyl2O3GpGOrN8E=; fh=AF8u3Hq2LCAR86VDBUa9qi/2kjQJaPvHiqWvnKg4Z08=; b=v8ONTdvsb5gIoSKHUTCA3a1Z4bGxRdkbpi0GF8hmckrZqUtkYWge/S9SR8mA5U3uH1 S1toIJ8GVGd8pb5GQ3A4QXOw423rF85a7z9BSy48MQnSsOAb/ErvMnZNlzCktSr4m/15 eanDpGHgxH094XvklctZMUU4xBtKef0nTOomupiXWKDjMssr6UJz0BCDChKtCyGEHbQt T5NMl/Of+KMdqrM6C8RghHzIj39r0qe+EWPCaCSPftwo8yeGvHi+cMqB23eXJFBtD6K7 Mr3Kc3dmymEd3yGtUwm22SlI2vH36nHB6YSvQ41qBcXu8mcJW3AeXbFZO/hx2p7r5sU7 2/9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DqO+sfLm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165915-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 9-20020ac85709000000b00439d0c91676si28993qtw.290.2024.05.01.19.14.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 19:14:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165915-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DqO+sfLm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165915-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5E5711C21B93 for ; Thu, 2 May 2024 02:14:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A3BD17BDC; Thu, 2 May 2024 02:14:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DqO+sfLm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60ABF2C9D; Thu, 2 May 2024 02:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714616050; cv=none; b=sJbXN4zIepXjrjISbW0AdW9iFF1L35vg7aGPvqG39KfWyDYuhKJcrsXnLYXsvYoppDxBllrTbzuKObn56rx5eJLYY+/GBL3xVOUNNjgN+66HfaJnt91JmPSQR2YJsH9CTjkbklIcDskDi66ScoYZxmRXEEa4Lk5XrwKopCEfkqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714616050; c=relaxed/simple; bh=TlbegFKMMlrkIU8WC7jdVp30LiHli2gqp41ZScKawDk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QLfUH679u0+b7Dz6hz3ANXvE81szz4WSksqVUUnLvlQQ4kIlOByGlCT94XZoscw7Gmw94OGc9ri890ESumZhLbY2ZulE+kwPWNU88DZXFYSFfCK6ci1nO+jbxa8RxOwM1E7VaFAbQU7hFSV0jwwWHzw3obl8QYGUuVskqjSvra8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DqO+sfLm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6221C072AA; Thu, 2 May 2024 02:14:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714616049; bh=TlbegFKMMlrkIU8WC7jdVp30LiHli2gqp41ZScKawDk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DqO+sfLmWT4c6a/a1eJXdFMz3CEkweSG1uQc3wC+EOUt2ayAthYDhK3UDekzfzYLR NGZpAMUuSEsFwvIr+JmjERuXpRMbs0mfIQs5hIbzFTz/B/DadztdAUr/KTh437wgAE 0RnNxM1p8jgNMzkQUewlJc6pf+73OCNJqFf064tr5G285zYSpUBU1TbNcB0DsQHgoV TjDV8cAs1goSoRfSfgWFWPCTw1rz4rZpJ7kVs4Ncyhzs9GYm1NbbbRp1jeiwGKAqPA 1E6+MKQEu4SVA8TUM9T7E6de18kMXiCkTUTlxIv9oIWG6gl5i4uGBuDVzW5qGiFKl8 REFebrG6P+qzw== Date: Wed, 1 May 2024 19:14:07 -0700 From: Jakub Kicinski To: Kory Maincent Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Vladimir Oltean , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier , Rahul Rameshbabu Subject: Re: [PATCH net-next v12 13/13] netlink: specs: tsinfo: Enhance netlink attributes and add a set command Message-ID: <20240501191407.5661aca0@kernel.org> In-Reply-To: <20240430-feature_ptp_netnext-v12-13-2c5f24b6a914@bootlin.com> References: <20240430-feature_ptp_netnext-v12-0-2c5f24b6a914@bootlin.com> <20240430-feature_ptp_netnext-v12-13-2c5f24b6a914@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 30 Apr 2024 17:49:56 +0200 Kory Maincent wrote: > + - > + name: hwtst-provider > + type: nest > + nested-attributes: tsinfo-hwtst-provider > + - > + name: hwtst-flags > + type: u32 C code is unhappy about the naming here vs what the actual C enums are called (make -C tools/net/ynl) You can keep the shorter names if very strongly prefer (=F0=9F=99=82=E2=80= =8D=E2=86=94=EF=B8=8F) but then you need to give C code gen hints about naming: https://docs.kernel.org/next/userspace-api/netlink/c-code-gen.html