Skip to content

Conversation

@cscarpitta
Copy link
Contributor

What I did

There is a bug in fpmsyncd related to the handling of ECMP routes with multiple SRv6 nexthops.

When FRR attempts to program an ECMP route with multiple SRv6 nexthops, the FPM module encodes all nexthops in the Netlink message.

Upon receiving this Netlink message, fpmsyncd processes it but returns the error "Multipath SRv6 routes aren't supported" and subsequently drops the route.

As a result, the ECMP route is not installed in the ASIC.

This pull request extends fpmsyncd to properly handle and install ECMP routes with multiple SRv6 nexthops.

Why I did it

ECMP routes with multiple SRv6 nexthops were not being processed by fpmsyncd and, as a result, were not installed in the ASIC.

How I verified it

The SONiC VS test cases have been extended to include a scenario with an ECMP route containing multiple SRv6 nexthops. The extended tests demonstrate that fpmsyncd now processes the ECMP route correctly and that the route is successfully installed in the ASIC.

There is a bug in fpmsyncd related to the handling of ECMP routes with
multiple SRv6 nexthops.

When FRR attempts to program an ECMP route with multiple SRv6 nexthops,
the FPM module encodes all nexthops in the Netlink message.

Upon receiving this Netlink message, fpmsyncd processes it but returns
the error "Multipath SRv6 routes aren't supported" and subsequently
drops the route.

As a result, the ECMP route is not installed in the ASIC.

This pull request extends fpmsyncd to properly handle and install ECMP
routes with multiple SRv6 nexthops.

Signed-off-by: Carmine Scarpitta <[email protected]>
@cscarpitta cscarpitta requested a review from prsunny as a code owner November 26, 2025 16:12
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Carmine Scarpitta <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@GaladrielZhao GaladrielZhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants