[ovs-git] [ovn-org/ovn] e97416: Enforce datapath and port key constraints in vxlan...

Ihar Hrachyshka noreply at github.com
Mon Oct 4 18:21:37 UTC 2021


  Branch: refs/heads/branch-21.09
  Home:   https://github.com/ovn-org/ovn
  Commit: e97416f14389bd1b72a88608ed19376ae71a101d
      https://github.com/ovn-org/ovn/commit/e97416f14389bd1b72a88608ed19376ae71a101d
  Author: Ihar Hrachyshka <ihrachys at redhat.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M lib/mcast-group-index.h
    M northd/northd.c
    M northd/ovn_northd.dl
    M tests/ovn.at

  Log Message:
  -----------
  Enforce datapath and port key constraints in vxlan mode

With vxlan enabled for in-cluster communication, the ranges available
for port and datapath keys are limited to 12 bits (including multigroup
keys). (The default range is 16 bit long.)

This means that OVN should avoid allocating, or allowing to request,
tunnel keys for datapaths and ports that are equal or higher than
2 << 11. This was not enforced before, and this patch adds the missing
enforcement rules.

Fixes: b07f1bc3d068 ("Add VXLAN support for non-VTEP datapath bindings")
Signed-off-by: Ihar Hrachyshka <ihrachys at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
(cherry picked from commit fd44d75959cedcedf1f103173be1d9fa1abd9cb8)




More information about the git mailing list