summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2023-02-14 22:00:41 +0100
committerSaeed Mahameed <saeedm@nvidia.com>2023-04-11 20:57:37 -0700
commit55f3e740f7f697a2287447678c09d93238a6635a (patch)
tree9d90d53505c0faa382041f4d2a58074f11d32069 /include/linux/mlx5
parent70f0302b3f2053b64a6a653a76a20cb95438dc85 (diff)
net/mlx5: Bridge, add tracepoints for multicast
Pass target struct net_device to mdb attach/detach handler in order to expose the port name to the new tracepoints. Implemented following tracepoints: - Attach mdb to port. - Detach mdb from port. Usage example: ># cd /sys/kernel/debug/tracing ># echo mlx5:mlx5_esw_bridge_port_mdb_attach >> set_event ># cat trace ... kworker/0:0-19071 [000] ..... 259004.253848: mlx5_esw_bridge_port_mdb_attach: net_device=enp8s0f0_0 addr=33:33:ff:00:00:01 vid=0 num_ports=1 offloaded=1 Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Reviewed-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions