diff options
author | Dmytro Linkin <dmitrolin@mellanox.com> | 2019-06-27 12:55:02 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-22 00:55:17 +0200 |
commit | 7a978759b4e0e7a2ad3f10cbf9077915a85ec956 (patch) | |
tree | a3bdf4b07db1f3546098d1fe4c24443e3beadc0d /include/net/flow_offload.h | |
parent | net/mlx5e: Only access fully initialized flows in neigh update (diff) | |
download | linux-7a978759b4e0e7a2ad3f10cbf9077915a85ec956.tar.xz linux-7a978759b4e0e7a2ad3f10cbf9077915a85ec956.zip |
net/mlx5e: Add tc flower tracepoints
Implemented following tracepoints:
1. Configure flower (mlx5e_configure_flower)
2. Delete flower (mlx5e_delete_flower)
3. Stats flower (mlx5e_stats_flower)
Usage example:
># cd /sys/kernel/debug/tracing
># echo mlx5:mlx5e_configure_flower >> set_event
># cat trace
...
tc-6535 [019] ...1 2672.404466: mlx5e_configure_flower: cookie=0000000067874a55 actions= REDIRECT
Added corresponding documentation in
Documentation/networking/device-driver/mellanox/mlx5.rst
Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/net/flow_offload.h')
-rw-r--r-- | include/net/flow_offload.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index e8069b6c474c..757fa84de654 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -138,6 +138,7 @@ enum flow_action_id { FLOW_ACTION_MPLS_PUSH, FLOW_ACTION_MPLS_POP, FLOW_ACTION_MPLS_MANGLE, + NUM_FLOW_ACTIONS, }; /* This is mirroring enum pedit_header_type definition for easy mapping between |