Thread (42 messages) flat view 42 messages, 6 authors, 2020-06-26

Re: [RFC PATCH 6/9] net: dsa: hellcreek: Add debugging mechanisms

From: Kurt Kanzenbach <kurt@linutronix.de>
Date: 2020-06-23 06:05:17
Also in: netdev

Hi Vladimir,

On Mon Jun 22 2020, Vladimir Oltean wrote:
Hi Kurt,

On Mon, 22 Jun 2020 at 15:34, Kurt Kanzenbach [off-list ref] wrote:
quoted
 * Re-prioritization of packets based on the ether type (not mac address)
This can be done by offloading a tc skbedit priority action, and a
"protocol" key (even though I don't understand why you need to mention
"not mac address".
Thanks. That seems like it can be used. I did mention the mac address,
because the switch has two ways of doing a re-prioritization either by
fdb entries via mac addresses or by the high level inspection (HLI)
based on the ether type.
quoted
 * Packet logging (-> retrieval of packet time stamps) based on port, traffic class and direction
What does this mean? tcpdump can give you this, for traffic destined
to the CPU. Do you want to mirror/sample traffic to the CPU for debug?
The switch can capture timestamps (nanoseconds) when packets have been
transmitted or received on all ports. The timestamps are stored in a
FIFO and can be retrieved later. As you said tcpdump only works for
packets at the CPU port. This feature is useful for debugging latency
issues for specific traffic flows.

Thanks,
Kurt

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help