Home
last modified time | relevance | path

Searched refs:qc (Results 1 – 3 of 3) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_flow.c203 struct rte_flow_query_count *qc, in hns3_counter_query() argument
228 qc->hits_set = 1; in hns3_counter_query()
229 qc->hits = value; in hns3_counter_query()
230 qc->bytes_set = 0; in hns3_counter_query()
231 qc->bytes = 0; in hns3_counter_query()
2025 struct rte_flow_query_count *qc; in hns3_flow_query() local
2037 qc = (struct rte_flow_query_count *)data; in hns3_flow_query()
2038 ret = hns3_counter_query(dev, flow, qc, error); in hns3_flow_query()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c328 struct rte_flow_query_count *qc = data; in flow_verbs_counter_query() local
354 qc->hits_set = 1; in flow_verbs_counter_query()
355 qc->bytes_set = 1; in flow_verbs_counter_query()
356 qc->hits = counters[0] - cnt->hits; in flow_verbs_counter_query()
357 qc->bytes = counters[1] - cnt->bytes; in flow_verbs_counter_query()
358 if (qc->reset) { in flow_verbs_counter_query()
H A Dmlx5_flow_dv.c16107 struct rte_flow_query_count *qc = data; in flow_dv_query_count() local
16124 qc->hits_set = 1; in flow_dv_query_count()
16125 qc->bytes_set = 1; in flow_dv_query_count()
16126 qc->hits = pkts - cnt->hits; in flow_dv_query_count()
16127 qc->bytes = bytes - cnt->bytes; in flow_dv_query_count()
16128 if (qc->reset) { in flow_dv_query_count()