Home
last modified time | relevance | path

Searched refs:cq_len (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c848 cq_cfg.qsize = ilog2(qs->cq_len >> 10); in nicvf_cmp_queue_config()
902 sq_cfg.cq_limit = (CMP_QUEUE_PIPELINE_RSVD * 256) / qs->cq_len; in nicvf_snd_queue_config()
1027 if (nicvf_init_cmp_queue(nic, &qs->cq[qidx], qs->cq_len)) in nicvf_alloc_resources()
1055 qs->cq_len = CMP_QUEUE_LEN; in nicvf_set_qset_resources()
1079 qs->cq_len = pqs->cq_len; in nicvf_config_data_transfer()
Dnicvf_ethtool.c478 ring->rx_pending = qs->cq_len; in nicvf_get_ringparam()
504 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam()
509 qs->cq_len = rounddown_pow_of_two(rx_count); in nicvf_set_ringparam()
Dnicvf_queues.h294 u64 cq_len; member
/linux-6.1.9/drivers/staging/qlge/
Dqlge_main.c985 if (unlikely(rx_ring->cnsmr_idx == rx_ring->cq_len)) { in qlge_update_cq()
2992 cqicb->len = cpu_to_le16(QLGE_FIT16(rx_ring->cq_len) | LEN_V | in qlge_start_rx_ring()
3960 rx_ring->cq_len = qdev->rx_ring_size; in qlge_configure_rings()
3962 rx_ring->cq_len * sizeof(struct qlge_net_rsp_iocb); in qlge_configure_rings()
3972 rx_ring->cq_len = qdev->tx_ring_size; in qlge_configure_rings()
3974 rx_ring->cq_len * sizeof(struct qlge_net_rsp_iocb); in qlge_configure_rings()
Dqlge.h1466 u32 cq_len; member