Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit bdda257

Browse files
Sonic BuildGerrit Code Review
Sonic Build
authored and
Gerrit Code Review
committed
Update git submodules
* Update src/sonic-sairedis from branch 'buzznik_dev' to bb720ee030d312757d4f11843bf59015c2a46dd0 - Merge "[JIRA SONIC-9750] sflow :support sflow on virtual switch (sonic-net#498)" into buzznik_dev - [JIRA SONIC-9750] sflow :support sflow on virtual switch (sonic-net#498) Dev sanity: http://10.59.132.240:9009/projects/csg_sonic/sanity/logs/dev-sanity-th2-td3-03/sonic_dev_sanity_190923_0503_1739 When sflow is configured using CLI or other supported mechanisms, the orch-agent invokes the SAI API set_port_attribute(). For the sflow feature, his API is used to set the SAI_PORT_ATTR_INGRESS_SAMPLEPACKET_ENABLE attribute of a netdev port. The value stored for this attribute is a samplepacket object, which essentially contains various sampling attributes (sampling rate, sampler group etc.) associated with the port. When sampling is disabled on a port, the SAI_PORT_ATTR_INGRESS_SAMPLEPACKET_ENABLE attribute is set to a null object. When sampling is enabled on a port, the SAI_PORT_ATTR_INGRESS_SAMPLEPACKET_ENABLE attribute is set to a valid samplepacket object. For sonic-vs, in the absence of a real ASIC programming, the 'tc' command is used instead to configure the sampling parameters inside the kernel. In this PR we invoke the appropriate 'tc' command, based on the requested config actions (disable or enable or update). Signed-off-by: Rakesh Datta <rakesh.datta@dell.com> (cherry picked from commit 38c6945) Change-Id: I5a7e83561a7dbb7c13b981f5fcc8a03eac6245b2
1 parent 4b91289 commit bdda257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonic-sairedis

0 commit comments

Comments
 (0)