forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[routeorch]: Do not set packet action for updating next hop ID (sonic…
…-net#200) 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 <shuche@microsoft.com>
- Loading branch information
Shuotian Cheng
authored
Apr 28, 2017
1 parent
32cd0ea
commit beff20b
Showing
1 changed file
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters