Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[routeorch]: Do not set packet action for updating next hop ID #200

Merged
merged 1 commit into from
Apr 28, 2017

Conversation

stcheng
Copy link
Contributor

@stcheng stcheng commented Apr 28, 2017

Signed-off-by: Shuotian Cheng [email protected]

@stcheng stcheng requested a review from lguohan April 28, 2017 19:12
@stcheng stcheng self-assigned this Apr 28, 2017
@svc-acs
Copy link
Collaborator

svc-acs commented Apr 28, 2017

@qiluo-msft , can you review?

The current design set the SAI_ROUTE_ATTR_PACKET_ACTION to
SAI_PACKET_ACTION_FORWARD every time the route is updated. This
will generate double SET function calls.

With this fix, the SAI_ROUTE_ATTR_PACKET_ACTION is only set to
SAI_PACKET_ACTION_FORWARD when there was no next hop (dropped).

Also update the default dropped routes to point to empty next hop
object.

Signed-off-by: Shuotian Cheng <[email protected]>
@stcheng stcheng merged commit beff20b into sonic-net:master Apr 28, 2017
@stcheng stcheng deleted the route branch April 28, 2017 22:16
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
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.

4 participants