Lines Matching refs:counter
147 struct mlx5_fc *counter = NULL;
167 counter = vport->ingress.legacy.drop_counter;
169 counter = mlx5_fc_create(esw->dev, false);
170 if (IS_ERR(counter)) {
172 "vport[%d] configure ingress drop rule counter failed\n",
174 counter = NULL;
176 vport->ingress.legacy.drop_counter = counter;
259 /* Attach drop flow counter */
260 if (counter) {
263 drop_ctr_dst.counter_id = mlx5_fc_id(counter);