Searched refs:qsp (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | hbm_kern.h | 157 static __always_inline void hbm_update_stats(struct hbm_queue_stats *qsp, in hbm_update_stats() argument 169 if (qsp != NULL) { in hbm_update_stats() 171 __sync_add_and_fetch(&(qsp->bytes_total), len); in hbm_update_stats() 172 if (qsp->stats) { in hbm_update_stats() 174 if (qsp->firstPacketTime == 0) in hbm_update_stats() 175 qsp->firstPacketTime = curtime; in hbm_update_stats() 176 qsp->lastPacketTime = curtime; in hbm_update_stats() 177 __sync_add_and_fetch(&(qsp->pkts_total), 1); in hbm_update_stats() 179 __sync_add_and_fetch(&(qsp->pkts_marked), 1); in hbm_update_stats() 180 __sync_add_and_fetch(&(qsp in hbm_update_stats() [all...] |
H A 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, le in _hbm_out_cg() [all...] |
H A 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, le in _hbm_out_cg() [all...] |
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | hbm_kern.h | 155 static __always_inline void hbm_update_stats(struct hbm_queue_stats *qsp, in hbm_update_stats() argument 167 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() 178 __sync_add_and_fetch(&(qsp in hbm_update_stats() [all...] |
H A 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, le in _hbm_out_cg() [all...] |
H A 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, le in _hbm_out_cg() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 2004 struct qset_params *qsp; in set_coalesce() local 2012 qsp = &adapter->params.sge.qset[i]; in set_coalesce() 2014 qsp->coalesce_usecs = c->rx_coalesce_usecs; in set_coalesce() 2015 t3_update_qset_coalesce(qs, qsp); in set_coalesce()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 2009 struct qset_params *qsp; in set_coalesce() local 2017 qsp = &adapter->params.sge.qset[i]; in set_coalesce() 2019 qsp->coalesce_usecs = c->rx_coalesce_usecs; in set_coalesce() 2020 t3_update_qset_coalesce(qs, qsp); in set_coalesce()
|
Completed in 10 milliseconds