Searched refs:qsp (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/samples/bpf/ |
D | hbm_kern.h | 160 static __always_inline void hbm_update_stats(struct hbm_queue_stats *qsp, in hbm_update_stats() argument 172 if (qsp != NULL) { in hbm_update_stats() 174 __sync_add_and_fetch(&(qsp->bytes_total), len); in hbm_update_stats() 175 if (qsp->stats) { in hbm_update_stats() 177 if (qsp->firstPacketTime == 0) in hbm_update_stats() 178 qsp->firstPacketTime = curtime; in hbm_update_stats() 179 qsp->lastPacketTime = curtime; in hbm_update_stats() 180 __sync_add_and_fetch(&(qsp->pkts_total), 1); in hbm_update_stats() 182 __sync_add_and_fetch(&(qsp->pkts_marked), 1); in hbm_update_stats() 183 __sync_add_and_fetch(&(qsp->bytes_marked), len); in hbm_update_stats() [all …]
|
D | hbm_edt_kern.c | 60 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()
|
D | hbm_out_kern.c | 72 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-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 2005 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()
|