Searched hist:"5 c7659eba873df8929f4bffd352906f625d4cfec" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | diff 5c7659eba873df8929f4bffd352906f625d4cfec Thu Mar 11 06:24:11 CST 2021 Ido Schimmel <idosch@nvidia.com> mlxsw: spectrum_span: Add SPAN session identifier support
When packets are mirrored to the CPU, the trap identifier with which the packets are trapped is determined according to the session identifier of the SPAN agent performing the mirroring. Packets that are trapped for the same logical reason (e.g., buffer drops) should use the same session identifier.
Currently, a single session is implicitly supported (identifier 0) and is used for packets that are mirrored to the CPU due to buffer drops (e.g., early drop).
Subsequent patches are going to mirror packets to the CPU due to sampling, which will require a different session identifier.
Prepare for that by making the session identifier an attribute of the SPAN agent.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | spectrum_qdisc.c | diff 5c7659eba873df8929f4bffd352906f625d4cfec Thu Mar 11 06:24:11 CST 2021 Ido Schimmel <idosch@nvidia.com> mlxsw: spectrum_span: Add SPAN session identifier support
When packets are mirrored to the CPU, the trap identifier with which the packets are trapped is determined according to the session identifier of the SPAN agent performing the mirroring. Packets that are trapped for the same logical reason (e.g., buffer drops) should use the same session identifier.
Currently, a single session is implicitly supported (identifier 0) and is used for packets that are mirrored to the CPU due to buffer drops (e.g., early drop).
Subsequent patches are going to mirror packets to the CPU due to sampling, which will require a different session identifier.
Prepare for that by making the session identifier an attribute of the SPAN agent.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | spectrum_span.c | diff 5c7659eba873df8929f4bffd352906f625d4cfec Thu Mar 11 06:24:11 CST 2021 Ido Schimmel <idosch@nvidia.com> mlxsw: spectrum_span: Add SPAN session identifier support
When packets are mirrored to the CPU, the trap identifier with which the packets are trapped is determined according to the session identifier of the SPAN agent performing the mirroring. Packets that are trapped for the same logical reason (e.g., buffer drops) should use the same session identifier.
Currently, a single session is implicitly supported (identifier 0) and is used for packets that are mirrored to the CPU due to buffer drops (e.g., early drop).
Subsequent patches are going to mirror packets to the CPU due to sampling, which will require a different session identifier.
Prepare for that by making the session identifier an attribute of the SPAN agent.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|