Skip to content

Can we remove redundant tracing code from fastpath? #11

@sflow

Description

@sflow

Calling vlib_add_trace() for every packet that goes through the sflow node seems redundant, since the exact same packets could be traced in the node before or the node after.

There might be an argument for tracing only the packets that are sampled? Although making that easy to do elsewhere is kind of the whole point of sFlow, so could we remove all the tracing code? It's over 100 lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions