Netdev List
 help / color / mirror / Atom feed
From: Minxi Hou <houminxi@gmail.com>
To: Aaron Conole <aconole@redhat.com>, Ilya Maximets <i.maximets@redhat.com>
Cc: netdev@vger.kernel.org, Minxi Hou <houminxi@gmail.com>
Subject: Re: [PATCH net-next 0/2] netlink: specs: complete OVS family coverage
Date: Sun, 17 May 2026 16:55:35 +0800	[thread overview]
Message-ID: <20260517085535.2129533-1-houminxi@gmail.com> (raw)
In-Reply-To: <20260517083358.2088599-1-houminxi@gmail.com>

Hi Aaron, Ilya,

I sent the first two patches of the pyroute2-to-ynl migration series.
Before continuing with patch 3 (the actual ovs-dpctl.py migration),
I wanted to check if the design direction matches what you had in mind.

A few questions:

  1. ovs_packet.yaml marks key/actions/egress-tun-key as type: binary
     instead of nest, since ynl doesn't support cross-spec attribute
     references.  The plan is to load ovs_flow's YnlFamily separately
     to decode those blobs.  Does that seem reasonable, or would you
     prefer duplicating the attribute-sets (~600 lines) into
     ovs_packet.yaml for full typing?

  2. For upcall receiving, patch 2 adds ntf_listen() to pyynl so we
     can bind a socket and receive unicast MISS/ACTION upcalls through
     the existing poll_ntf path.  The alternative would be raw socket
     code in the selftest.  Any preference?

  3. The remaining pyroute2 usage in ovs-dpctl.py is pyroute2.iproute
     (tunnel interface creation) and NDB (interface lookup).  I'm
     planning to replace those with subprocess calls to `ip`.  Any
     concerns with that approach?

  4. For the ODP string parser (~1500 lines of flow key/action
     encoding), that stays as-is since it handles the human-readable
     input format.  Anything there you'd want changed?

Happy to adjust the design before writing patch 3.

Thanks,
Minxi

      parent reply	other threads:[~2026-05-17  8:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-17  8:33 [PATCH net-next 0/2] netlink: specs: complete OVS family coverage Minxi Hou
2026-05-17  8:33 ` [PATCH 1/2] netlink: specs: add OVS packet family specification Minxi Hou
2026-05-18 13:52   ` Donald Hunter
2026-05-17  8:33 ` [PATCH 2/2] tools: ynl: add unicast notification receive support Minxi Hou
2026-05-18 13:56   ` Donald Hunter
2026-05-17  8:55 ` 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=20260517085535.2129533-1-houminxi@gmail.com \
    --to=houminxi@gmail.com \
    --cc=aconole@redhat.com \
    --cc=i.maximets@redhat.com \
    --cc=netdev@vger.kernel.org \
    /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