summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2021-04-02 21:16:13 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-06-10 04:36:12 +0300
commit9724fd5d9c2a0d3686b799ed5ca90cb9378ca4f2 (patch)
tree01cfdcd05ce96bd3bb5c4c23ef416750f20b034d /include
parentcc2987c44be5d188b0fdf5c07b65a5c952457ef9 (diff)
downloadlinux-9724fd5d9c2a0d3686b799ed5ca90cb9378ca4f2.tar.xz
net/mlx5: Bridge, add tracepoints
Move private bridge structures to dedicated headers that is accessible to bridge tracepoint header. Implemented following tracepoints: - Initialize FDB entry. - Refresh FDB entry. - Cleanup FDB entry. - Create VLAN. - Cleanup VLAN. - Attach port to bridge. - Detach port from bridge. Usage example: ># cd /sys/kernel/debug/tracing ># echo mlx5:mlx5_esw_bridge_fdb_entry_init >> set_event ># cat trace ... kworker/u20:1-96 [001] .... 231.892503: mlx5_esw_bridge_fdb_entry_init: net_device=enp8s0f0_0 addr=e4:fd:05:08:00:02 vid=3 flags=0 lastuse=4294895695 Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Reviewed-by: Jianbo Liu <jianbol@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions