sFlow Phase 2: ifIndex translation platform/vpp changes#256
Open
ritvikiscool9 wants to merge 7 commits into
Open
sFlow Phase 2: ifIndex translation platform/vpp changes#256ritvikiscool9 wants to merge 7 commits into
ritvikiscool9 wants to merge 7 commits into
Conversation
Signed-off-by: Ritvik Uppal <rituppal@cisco.com>
Signed-off-by: Ritvik Uppal <rituppal@cisco.com>
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Signed-off-by: Ritvik Uppal <rituppal@cisco.com>
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Signed-off-by: Ritvik Uppal <rituppal@cisco.com>
… to 0012 Signed-off-by: Ritvik Uppal <rituppal@cisco.com>
…e_two_platform_vpp
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
To verify sFlow, I enabled it on Ethernet0 (VPP port bobm0) on the collector switch, set the sampling rate and send traffic from the other switch. I then captured a sampled packet with VPP packet trace (trace add dpdk-input). Trace of a sample packet: When sFlow is enabled on a port, VPP adds an sFlow node to that port's ingress path. Every incoming packet passes through this node, and 1 in N packets (sampling rate) are copied. The orignal packet continues forwarding untouched, the copy is exported out-of-band via PSAMPLE -> hsflowd -> UDP:6343 to the sFlow collector. A full trace for a packet: |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes to platform/vpp:
VPP_VERSION(…-0.3→…-0.4) so the build pulls the locally-patched VPP instead of the prebuilt upstream deb.report-linux-ifindexmode to the VPP sFlow plugin (helper that maps VPPhw_if_index→ Linux netdev ifindex via linux-cp, applied to PSAMPLE flow samples and NET_DM drop alerts) plus the new CLI/API to toggle it.