On 9/21/23 08:16, chuanyun Xiao via discuss wrote:
> Hi:
>     In ovn 23.03.0, I run the "*ovn-nbctl --ecmp lr-route-add ROUTER PREFIX
> NEXTHOP [PORT]*" command to add multiple routes with the same prefix but
> different nexthop and port. Somebody tell me Specifies the maximum number
> of ecmp routes supported for concurrent load?
> 

Hi,

One can configure up to 64K ECMP routes (prefixes) with up to 64K paths
each; from northd.c:

/* Register for ECMP bucket selection. */
#define REG_ECMP_GROUP_ID       "reg8[0..15]"
#define REG_ECMP_MEMBER_ID      "reg8[16..31]"

I'm quite sure though that 64K paths for a route is not that reasonable
though.  Each ECMP prefix translates to an openflow group and each path
is a bucket in that group.  AFAICT the number of buckets in a group is
not limited by the OpenFlow standard but it is essentially limited to
the max size of a struct ofpbuf (i.e., 64K) divided by
size-of-a-single-bucket.

Regards,
Dumitru

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to