From: Minxi Hou <houminxi@gmail.com>
To: netdev@vger.kernel.org
Cc: Donald Hunter <donald.hunter@gmail.com>,
Jakub Kicinski <kuba@kernel.org>,
David S. Miller <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
dev@openvswitch.org, Aaron Conole <aconole@redhat.com>,
Eelco Chaudron <echaudro@redhat.com>,
Ilya Maximets <i.maximets@ovn.org>
Subject: Re: [PATCH net-next v5 0/2] netlink: specs: fill in the missing ovs operations
Date: Sat, 07 Nov 2026 04:46:27 -0500 [thread overview]
Message-ID: <6aeef384.2b6211eb.2eba46.0de8@mx.google.com> (raw)
In-Reply-To: <20261103183319.2730567-1-houminxi@gmail.com>
Sashiko reviewed v5 and raised four things. Answers below.
The ufid length one stands. get_ufid_len() returns 0 for a ufid shorter
than 1 byte or longer than 16, and ovs_nla_get_ufid() then reports it as
absent, so a del with no key and an invalid ufid does flush the data
path. I will say that in the del and key docs, and give the attribute the
range the kernel enforces. A new flow that carries an invalid ufid is
indexed by its unmasked key instead, so the ufid doc needs the same
qualification.
ifindex is u32 in the spec and signed in the kernel, and no datapath
request used the attribute before this series, so it went unnoticed. v6
declares it s32 with a minimum of 0.
dont-validate is missing. These ops carry GENL_DONT_VALIDATE_STRICT |
GENL_DONT_VALIDATE_DUMP, so new, del and set in both specs should say so,
the way fou and team do.
The last one is a real bug and it is older than this series.
ovs_dp_change() stores the new features in dp->user_features before
calling ovs_dp_set_upcall_portids(), and that call fails on an empty
per-cpu-pids. The request returns an error with the TC_RECIRC_SHARING bit
already recorded and tc_skb_ext_tc_enable() not run, so the next request
that clears the bit calls tc_skb_ext_tc_disable() for an enable that
never happened. The same key is shared with cls_flower. I will send a fix
separately rather than mix kernel code into a spec series.
prev parent reply other threads:[~2026-11-07 9:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 18:33 [PATCH net-next v5 0/2] netlink: specs: fill in the missing ovs operations Minxi Hou
2026-11-03 18:33 ` [PATCH net-next v5 1/2] netlink: specs: add ovs_flow del and set operations Minxi Hou
2026-11-03 18:33 ` [PATCH net-next v5 2/2] netlink: specs: add ovs datapath and vport " Minxi Hou
2026-11-04 17:26 ` [PATCH net-next v5 0/2] netlink: specs: fill in the missing ovs operations Minxi Hou
2026-11-07 9:46 ` Minxi Hou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6aeef384.2b6211eb.2eba46.0de8@mx.google.com \
--to=houminxi@gmail.com \
--cc=aconole@redhat.com \
--cc=davem@davemloft.net \
--cc=dev@openvswitch.org \
--cc=donald.hunter@gmail.com \
--cc=echaudro@redhat.com \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=i.maximets@ovn.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox