Searched refs:drop_counter (Results 1 - 11 of 11) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_lgcy.c73 struct mlx5_fc *drop_counter = NULL; local
84 if (vport->egress.legacy.drop_counter) {
85 drop_counter = vport->egress.legacy.drop_counter;
87 drop_counter = mlx5_fc_create(esw->dev, false);
88 if (IS_ERR(drop_counter)) {
91 vport->vport, PTR_ERR(drop_counter));
92 drop_counter = NULL;
94 vport->egress.legacy.drop_counter = drop_counter;
[all...]
H A Dingress_lgcy.c166 if (vport->ingress.legacy.drop_counter) {
167 counter = vport->ingress.legacy.drop_counter;
176 vport->ingress.legacy.drop_counter = counter;
301 if (vport->ingress.legacy.drop_counter) {
302 mlx5_fc_destroy(esw->dev, vport->ingress.legacy.drop_counter);
303 vport->ingress.legacy.drop_counter = NULL;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_meter.c118 struct mlx5_fc *drop_counter)
125 attr->counter = drop_counter;
150 struct mlx5_fc *drop_counter,
167 act_counter, drop_counter);
180 act_counter, drop_counter);
253 struct mlx5_fc *drop_counter,
277 act_counter, drop_counter,
338 struct mlx5_fc *drop_counter,
356 act_counter, drop_counter);
371 act_counter, drop_counter);
113 mlx5e_post_meter_add_rule(struct mlx5e_priv *priv, struct mlx5e_post_meter_priv *post_meter, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr, struct mlx5_fc *act_counter, struct mlx5_fc *drop_counter) argument
146 mlx5e_post_meter_rate_rules_create(struct mlx5e_priv *priv, struct mlx5e_post_meter_priv *post_meter, struct mlx5e_post_act *post_act, struct mlx5_fc *act_counter, struct mlx5_fc *drop_counter, struct mlx5_flow_attr *green_attr, struct mlx5_flow_attr *red_attr) argument
249 mlx5e_post_meter_rate_create(struct mlx5e_priv *priv, enum mlx5_flow_namespace_type ns_type, struct mlx5e_post_act *post_act, struct mlx5_fc *act_counter, struct mlx5_fc *drop_counter, struct mlx5e_post_meter_priv *post_meter, struct mlx5_flow_attr *green_attr, struct mlx5_flow_attr *red_attr) argument
334 mlx5e_post_meter_mtu_create(struct mlx5e_priv *priv, enum mlx5_flow_namespace_type ns_type, struct mlx5e_post_act *post_act, struct mlx5_fc *act_counter, struct mlx5_fc *drop_counter, struct mlx5e_post_meter_priv *post_meter, struct mlx5_flow_attr *green_attr, struct mlx5_flow_attr *red_attr) argument
393 mlx5e_post_meter_init(struct mlx5e_priv *priv, enum mlx5_flow_namespace_type ns_type, struct mlx5e_post_act *post_act, enum mlx5e_post_meter_type type, struct mlx5_fc *act_counter, struct mlx5_fc *drop_counter, struct mlx5_flow_attr *branch_true, struct mlx5_flow_attr *branch_false) argument
[all...]
H A Dpost_meter.h39 struct mlx5_fc *drop_counter,
H A Dmeter.h37 struct mlx5_fc *drop_counter; member in struct:mlx5e_flow_meter_handle
H A Dmeter.c263 meter->drop_counter = counter;
323 mlx5_fc_destroy(mdev, meter->drop_counter);
338 mlx5_fc_destroy(mdev, meter->drop_counter);
589 mlx5_fc_query_cached(meter->drop_counter, &bytes2, &packets2, &lastuse2);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c398 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_counter))
399 mlx5_fc_query(dev, vport->egress.legacy.drop_counter,
402 if (vport->ingress.legacy.drop_counter)
403 mlx5_fc_query(dev, vport->ingress.legacy.drop_counter,
/linux-master/include/net/
H A Dip_vs.h956 int drop_counter; member in struct:netns_ipvs
1654 if (--ipvs->drop_counter > 0)
1656 ipvs->drop_counter = ipvs->drop_rate;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h107 struct mlx5_fc *drop_counter; member in struct:vport_ingress::__anon1484
140 struct mlx5_fc *drop_counter; member in struct:vport_egress::__anon1486::__anon1487
H A Den_tc.c460 meter->act_counter, meter->drop_counter,
/linux-master/net/netfilter/ipvs/
H A Dip_vs_ctl.c148 ipvs->drop_rate = ipvs->drop_counter
158 ipvs->drop_rate = ipvs->drop_counter

Completed in 462 milliseconds