Searched refs:tc_psample (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | sample.c | 61 sampler_termtbl_create(struct mlx5e_tc_psample *tc_psample) argument 63 struct mlx5_eswitch *esw = tc_psample->esw; 87 tc_psample->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); 88 if (IS_ERR(tc_psample->termtbl)) { 89 err = PTR_ERR(tc_psample->termtbl); 97 tc_psample->termtbl_rule = mlx5_add_flow_rules(tc_psample->termtbl, NULL, &act, &dest, 1); 98 if (IS_ERR(tc_psample->termtbl_rule)) { 99 err = PTR_ERR(tc_psample->termtbl_rule); 101 mlx5_destroy_flow_table(tc_psample 109 sampler_termtbl_destroy(struct mlx5e_tc_psample *tc_psample) argument 173 sampler_get(struct mlx5e_tc_psample *tc_psample, u32 sample_ratio, u32 default_table_id) argument 215 sampler_put(struct mlx5e_tc_psample *tc_psample, struct mlx5e_sampler *sampler) argument 262 sample_restore_get(struct mlx5e_tc_psample *tc_psample, u32 obj_id, struct mlx5e_tc_mod_hdr_acts *mod_acts) argument 312 sample_restore_put(struct mlx5e_tc_psample *tc_psample, struct mlx5e_sample_restore *restore) argument 469 mlx5e_tc_sample_offload(struct mlx5e_tc_psample *tc_psample, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) argument 589 mlx5e_tc_sample_unoffload(struct mlx5e_tc_psample *tc_psample, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr) argument 619 struct mlx5e_tc_psample *tc_psample; local 646 mlx5e_tc_sample_cleanup(struct mlx5e_tc_psample *tc_psample) argument [all...] |
H A D | sample.h | 40 mlx5e_tc_sample_cleanup(struct mlx5e_tc_psample *tc_psample); 45 mlx5e_tc_sample_offload(struct mlx5e_tc_psample *tc_psample, argument 51 mlx5e_tc_sample_unoffload(struct mlx5e_tc_psample *tc_psample, argument 60 mlx5e_tc_sample_cleanup(struct mlx5e_tc_psample *tc_psample) {} argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.h | 91 struct mlx5e_tc_psample *tc_psample; member in struct:mlx5_rep_uplink_priv
|
H A D | en_tc.c | 377 return uplink_priv->tc_psample; 5298 uplink_priv->tc_psample = mlx5e_tc_sample_init(esw, uplink_priv->post_act); 5350 mlx5e_tc_sample_cleanup(uplink_priv->tc_psample); 5376 mlx5e_tc_sample_cleanup(uplink_priv->tc_psample);
|
Completed in 281 milliseconds