Home
last modified time | relevance | path

Searched refs:qsp (Results 1 – 4 of 4) sorted by relevance

/linux/samples/bpf/
A Dhbm_kern.h167 if (qsp != NULL) { in hbm_update_stats()
169 __sync_add_and_fetch(&(qsp->bytes_total), len); in hbm_update_stats()
170 if (qsp->stats) { in hbm_update_stats()
172 if (qsp->firstPacketTime == 0) in hbm_update_stats()
173 qsp->firstPacketTime = curtime; in hbm_update_stats()
174 qsp->lastPacketTime = curtime; in hbm_update_stats()
175 __sync_add_and_fetch(&(qsp->pkts_total), 1); in hbm_update_stats()
177 __sync_add_and_fetch(&(qsp->pkts_marked), 1); in hbm_update_stats()
182 __sync_add_and_fetch(&(qsp->bytes_dropped), in hbm_update_stats()
188 __sync_add_and_fetch(&(qsp->sum_cwnd), in hbm_update_stats()
[all …]
A Dhbm_edt_kern.c60 struct hbm_queue_stats *qsp = NULL; in _hbm_out_cg() local
71 qsp = bpf_map_lookup_elem(&queue_stats, &queue_index); in _hbm_out_cg()
74 if (qsp != NULL && !qsp->loopback && (skb->ifindex == 1)) in _hbm_out_cg()
110 if (qsp != NULL && (qsp->rate * 128) != qdp->rate) in _hbm_out_cg()
111 qdp->rate = qsp->rate * 128; in _hbm_out_cg()
153 if (qsp != NULL && qsp->no_cn) in _hbm_out_cg()
156 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag, in _hbm_out_cg()
A Dhbm_out_kern.c72 struct hbm_queue_stats *qsp = NULL; in _hbm_out_cg() local
75 qsp = bpf_map_lookup_elem(&queue_stats, &queue_index); in _hbm_out_cg()
76 if (qsp != NULL && !qsp->loopback && (skb->ifindex == 1)) in _hbm_out_cg()
115 if (qsp != NULL && (qsp->rate * 128) != qdp->rate) { in _hbm_out_cg()
116 qdp->rate = qsp->rate * 128; in _hbm_out_cg()
163 if (qsp != NULL) in _hbm_out_cg()
164 if (qsp->no_cn) in _hbm_out_cg()
167 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag, in _hbm_out_cg()
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dcxgb3_main.c2005 struct qset_params *qsp; in set_coalesce() local
2013 qsp = &adapter->params.sge.qset[i]; in set_coalesce()
2015 qsp->coalesce_usecs = c->rx_coalesce_usecs; in set_coalesce()
2016 t3_update_qset_coalesce(qs, qsp); in set_coalesce()

Completed in 17 milliseconds