FILE
act_stats.h
File preview with syntax highlighting.
linux-6.19.14/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.h
1/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 2/* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ 3 4#ifndef __MLX5_EN_ACT_STATS_H__ 5#define __MLX5_EN_ACT_STATS_H__ 6 7#include <net/flow_offload.h> 8#include "en/tc_priv.h" 9 10struct mlx5e_tc_act_stats_handle; 11 12struct mlx5e_tc_act_stats_handle *mlx5e_tc_act_stats_create(void); 13void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle); 14 15int 16mlx5e_tc_act_stats_add_flow(struct mlx5e_tc_act_stats_handle *handle, 17 struct mlx5e_tc_flow *flow); 18 19void 20mlx5e_tc_act_stats_del_flow(struct mlx5e_tc_act_stats_handle *handle, 21 struct mlx5e_tc_flow *flow); 22 23int 24mlx5e_tc_act_stats_fill_stats(struct mlx5e_tc_act_stats_handle *handle, 25 struct flow_offload_action *fl_act); 26 27#endif /* __MLX5_EN_ACT_STATS_H__ */
~/
Read-only file preview.