Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_controlq.c355 int idpf_ctlq_clean_sq(struct idpf_ctlq_info *cq, u16 *clean_count, in idpf_ctlq_clean_sq() argument
362 if (*clean_count == 0) in idpf_ctlq_clean_sq()
364 if (*clean_count > cq->ring_size) in idpf_ctlq_clean_sq()
371 num_to_clean = *clean_count; in idpf_ctlq_clean_sq()
400 *clean_count = i; in idpf_ctlq_clean_sq()
Didpf_controlq_api.h162 int idpf_ctlq_clean_sq(struct idpf_ctlq_info *cq, u16 *clean_count,
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c850 int recv_pkts, recv_bds, clean_count, err; in hns_nic_rx_poll_one() local
856 recv_pkts = 0, recv_bds = 0, clean_count = 0; in hns_nic_rx_poll_one()
861 if (clean_count + unused_count >= RCB_NOF_ALLOC_RX_BUFF_ONCE) { in hns_nic_rx_poll_one()
863 clean_count + unused_count); in hns_nic_rx_poll_one()
864 clean_count = 0; in hns_nic_rx_poll_one()
874 clean_count += bnum; in hns_nic_rx_poll_one()
888 if (clean_count + unused_count > 0) in hns_nic_rx_poll_one()
890 clean_count + unused_count); in hns_nic_rx_poll_one()