Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-2842

Upstream: [OVN] Increase OVS register count and detect extended support in OVN

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • OVN
    • None
    • [OVN] Increase OVS register count and detect extended support in OVN
    • 21
    • False
    • False
    • Hide

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given OVS with an increased maximum number of OpenFlow registers and OVN configured to detect available register count,

      When ovn-controller starts and connects to OVS, it detects the number of supported registers and populates this information in the OVN Southbound database,

      Then ovn-northd can query the available register count and conditionally use extended registers only when OVS supports them.
      OVN running against older OVS versions (with 16 registers) continues to function without attempting to use unsupported registers


      ( ) The epics work is available in a downstream build (nightly/async or other)


      ( ) Test coverage is available in downstream CI if applicable


      ( ) All cards under the epic have been moved to Done


      ( ) Failed Test Plans have bugs added as children to the epic/feature.

      Show
      Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given OVS with an increased maximum number of OpenFlow registers and OVN configured to detect available register count, When ovn-controller starts and connects to OVS, it detects the number of supported registers and populates this information in the OVN Southbound database, Then ovn-northd can query the available register count and conditionally use extended registers only when OVS supports them. OVN running against older OVS versions (with 16 registers) continues to function without attempting to use unsupported registers ( ) The epics work is available in a downstream build (nightly/async or other) ( ) Test coverage is available in downstream CI if applicable ( ) All cards under the epic have been moved to Done ( ) Failed Test Plans have bugs added as children to the epic/feature.
    • In Progress
    • rhel-9
    • rhel-net-ovn
    • 50% To Do, 50% In Progress, 0% Done
    • ssg_networking

      OVS supports a fixed set of OpenFlow registers (currently 16 x 32bit registers).

      OVN is using most of them already in its pipeline and while it's possible to work around the limited available space by using the stack to push/pop registers, it's probably simpler (and cleaner from the OVN pipeline perspective) to just increase the number of registers OVS supports.

      This means we need two changes.

      • one in OVS to actually bump the maximum number of registers ovs-vswitchd supports
      • one in OVN to detect the actual number of registers OVS supports (in case OVN is running with an older version of OVS it shouldn't try to use registers that don't exist)

              ovnteam@redhat.com OVN Team
              dceara@redhat.com Dumitru Ceara
              OVN QE OVN QE (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: