From mboxrd@z Thu Jan 1 00:00:00 1970 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 B04A8A4A for ; Fri, 15 Dec 2023 01:57:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KnBvZA83" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D767BC433CB; Fri, 15 Dec 2023 01:57:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702605459; bh=NM5xilIbx0kjrc4imvbeQRVbgeRTDEHgxJhu1g+FZLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KnBvZA83Y1WnPquJwNeNVmmNoHDqFGQsK7ZiT17ihiBUr11BaeJEjS7bJaWfb7UTt faiFUKNBOceYg7hOoPWMY2ElZpeptpy0YBSIl96bWzdM7C0hROKQH8aOs5SOqRu2y8 LnAqPjMwKVSKo/B54ZB/kcwWqTu5+P5Z7cNKWvqzFZMBChgI+Wg35khi6vF0PMbqGV g4pmW1NSGa+EimMvitbKD2NG7+8UygvPIcOnVoqDNIJhmaxHVIGE5em8Bd9+8jiEwt xkLm8WNvnzKl5WzHzdZTeRL2jDH89I9WE9q3hGkI9jel1/u5A7F0iUlurwrCQI8aTs iV9rZtBEGdfPQ== From: Jakub Kicinski To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, donald.hunter@gmail.com, Jakub Kicinski Subject: [PATCH net-next v2 2/3] netlink: specs: ovs: correct enum names in specs Date: Thu, 14 Dec 2023 17:57:34 -0800 Message-ID: <20231215015735.3419974-3-kuba@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231215015735.3419974-1-kuba@kernel.org> References: <20231215015735.3419974-1-kuba@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Align the enum-names of OVS with what's actually in the uAPI. Either correct the names, or mark the enum as empty because the values are in fact #defines. Reviewed-by: Donald Hunter Signed-off-by: Jakub Kicinski --- Documentation/netlink/specs/ovs_datapath.yaml | 1 + Documentation/netlink/specs/ovs_flow.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Documentation/netlink/specs/ovs_datapath.yaml b/Documentation/netlink/specs/ovs_datapath.yaml index 067c54a52d7a..edc8c95ca6f5 100644 --- a/Documentation/netlink/specs/ovs_datapath.yaml +++ b/Documentation/netlink/specs/ovs_datapath.yaml @@ -20,6 +20,7 @@ uapi-header: linux/openvswitch.h name: user-features type: flags name-prefix: ovs-dp-f- + enum-name: entries: - name: unaligned diff --git a/Documentation/netlink/specs/ovs_flow.yaml b/Documentation/netlink/specs/ovs_flow.yaml index 29315f3538fd..4fdfc6b5cae9 100644 --- a/Documentation/netlink/specs/ovs_flow.yaml +++ b/Documentation/netlink/specs/ovs_flow.yaml @@ -124,6 +124,7 @@ uapi-header: linux/openvswitch.h - name: ovs-frag-type name-prefix: ovs-frag-type- + enum-name: ovs-frag-type type: enum entries: - @@ -269,6 +270,7 @@ uapi-header: linux/openvswitch.h - name: ovs-ufid-flags name-prefix: ovs-ufid-f- + enum-name: type: flags entries: - omit-key @@ -288,6 +290,7 @@ uapi-header: linux/openvswitch.h doc: Basis used for computing hash. - name: ovs-hash-alg + enum-name: ovs-hash-alg type: enum doc: | Data path hash algorithm for computing Datapath hash. The algorithm type only specifies @@ -339,6 +342,7 @@ uapi-header: linux/openvswitch.h MPLS tunnel attributes. - name: ct-state-flags + enum-name: type: flags name-prefix: ovs-cs-f- entries: -- 2.43.0