Skip to content

[action] [PR:22390] [FRR] Add support for 514 BGP sessions#22786

Merged
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/22390
May 30, 2025
Merged

[action] [PR:22390] [FRR] Add support for 514 BGP sessions#22786
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/22390

Conversation

@mssonicbld
Copy link
Collaborator

Why I did it

Add support for 512 BGP sessions

How I did it

Patch Upstream Commit
0035-lib-Add-support-for-stream-buffer-to-expand.patch 65b3ee4e
0036-zebra-zebra-crash-for-zapi-stream.patch c122afdb
0037-bgpd-Replace-per-peer-connection-error-with-per-bgp.patch 10c127bc
0038-bgpd-remove-apis-from-bgp_route.h.patch 1d5a8a20
0039-bgpd-batch-peer-connection-error-clearing.patch 4baa9f2d
0040-zebra-move-peer-conn-error-list-to-connection-struct.patch 411abd6b
0041-bgpd-Allow-batch-clear-to-do-partial-work-and-contin.patch b68be906
0042-zebra-send-v6-fast-RA-at-faster-interval.patch #18451
0043-bgpd-Paths-received-from-shutdown-peer-not-deleted.patch 2cbfc7ec
0044-bgpd-Modify-bgp-to-handle-packet-events-in-a-FIFO.patch 12bf042
0045-zebra-Limit-reading-packets-when-MetaQ-is-full.patch 937a9fb
0046-bgpd-Delay-processing-MetaQ-in-some-events.patch 83a92c9
0047-bgpd-Fix-holdtime-not-working-properly-when-busy.patch 9a26a56
0048-bgpd-ensure-that-bgp_generate_updgrp_packets-shares-.patch 681caee
0049-zebra-show-command-to-display-metaq-info.patch 751ae76
0050-bgpd-add-total-path-count-for-bgp-net-in-json-output.patch be3c6d3
0051-lib-Add-nexthop_same_no_ifindex-comparison-function.patch 66f552c
0052-zebra-show-nexthop-count-in-nexthop-group-command.patch da5703e
0053-zebra-Allow-nhg-s-to-be-reused-when-multiple-interfa.patch 46044a4
0054-zebra-Prevent-active-setting-if-interface-is-not-ope.patch e5f4675
0055-zebra-Add-nexthop-group-id-to-route-dump.patch b732ad2
0056-zebra-Display-interface-name-not-ifindex-in-nh-dump.patch c891cd2

How to verify it

Verified the changes on topology with scaled BGP tests and standard test suite

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

<!--
     Please make sure you've read and understood our contributing guidelines:
     https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

     ** Make sure all your commits include a signature generated with `git commit -s` **

     If this is a bug fix, make sure your description includes "fixes #xxxx", or
     "closes #xxxx" or "resolves #xxxx"

     Please provide the following information:
-->

#### Why I did it

**Add support for 512 BGP sessions**

#### How I did it

| Patch | Upstream Commit |
|-------|----------------|
| 0035-lib-Add-support-for-stream-buffer-to-expand.patch | [65b3ee4e](FRRouting/frr@c0c46ba) |
| 0036-zebra-zebra-crash-for-zapi-stream.patch | [c122afdb](FRRouting/frr@6fe9092) |
| 0037-bgpd-Replace-per-peer-connection-error-with-per-bgp.patch | [10c127bc](FRRouting/frr@6a5962e) |
| 0038-bgpd-remove-apis-from-bgp_route.h.patch | [1d5a8a20](FRRouting/frr@020245b) |
| 0039-bgpd-batch-peer-connection-error-clearing.patch | [4baa9f2d](FRRouting/frr@58f924d) |
| 0040-zebra-move-peer-conn-error-list-to-connection-struct.patch | [411abd6b](FRRouting/frr@6206e7e) |
| 0041-bgpd-Allow-batch-clear-to-do-partial-work-and-contin.patch | [b68be906](FRRouting/frr@c527882) |
| 0042-zebra-send-v6-fast-RA-at-faster-interval.patch | [sonic-net#18451](FRRouting/frr#18451) |
| 0043-bgpd-Paths-received-from-shutdown-peer-not-deleted.patch | [2cbfc7ec](FRRouting/frr@d2bec7a) |
| 0044-bgpd-Modify-bgp-to-handle-packet-events-in-a-FIFO.patch | [12bf042](FRRouting/frr@12bf042c68) |
| 0045-zebra-Limit-reading-packets-when-MetaQ-is-full.patch | [937a9fb](FRRouting/frr@937a9fb)  |
| 0046-bgpd-Delay-processing-MetaQ-in-some-events.patch | [83a92c9](FRRouting/frr@83a92c9)  |
| 0047-bgpd-Fix-holdtime-not-working-properly-when-busy.patch | [9a26a56](FRRouting/frr@9a26a56)  |
| 0048-bgpd-ensure-that-bgp_generate_updgrp_packets-shares-.patch | [681caee](FRRouting/frr@681caee)  |
| 0049-zebra-show-command-to-display-metaq-info.patch | [751ae76](FRRouting/frr@751ae76)  |
| 0050-bgpd-add-total-path-count-for-bgp-net-in-json-output.patch | [be3c6d3](FRRouting/frr@be3c6d3) |
| 0051-lib-Add-nexthop_same_no_ifindex-comparison-function.patch | [66f552c](FRRouting/frr@66f552c)  |
| 0052-zebra-show-nexthop-count-in-nexthop-group-command.patch | [da5703e](FRRouting/frr@da5703e)  |
| 0053-zebra-Allow-nhg-s-to-be-reused-when-multiple-interfa.patch | [46044a4](FRRouting/frr@46044a4)  |
| 0054-zebra-Prevent-active-setting-if-interface-is-not-ope.patch | [e5f4675](FRRouting/frr@e5f4675)  |
| 0055-zebra-Add-nexthop-group-id-to-route-dump.patch | [b732ad2](FRRouting/frr@b732ad2)  |
| 0056-zebra-Display-interface-name-not-ifindex-in-nh-dump.patch | [c891cd2](FRRouting/frr@c891cd2)  |

#### How to verify it

Verified the changes on topology with scaled BGP tests and standard test suite

<!--
If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012.
-->

#### Which release branch to backport (provide reason below if selected)

<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305

#### Tested branch (Please provide the tested image version)

<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->

- [ ] <!-- image version 1 -->
- [ ] <!-- image version 2 -->

#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

<!--
 Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
-->

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->

#### A picture of a cute animal (not mandatory but encouraged)
@mssonicbld
Copy link
Collaborator Author

Original PR: #22390

@mssonicbld
Copy link
Collaborator Author

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 116e33c into sonic-net:202505 May 30, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant