Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h508 struct ustorm_eth_rx_producers rx_prods = {0}; in bnx2x_update_rx_prod() local
512 rx_prods.bd_prod = bd_prod; in bnx2x_update_rx_prod()
513 rx_prods.cqe_prod = rx_comp_prod; in bnx2x_update_rx_prod()
514 rx_prods.sge_prod = rx_sge_prod; in bnx2x_update_rx_prod()
525 for (i = 0; i < sizeof(rx_prods)/4; i++) in bnx2x_update_rx_prod()
527 ((u32 *)&rx_prods)[i]); in bnx2x_update_rx_prod()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c569 struct eth_rx_prod_data rx_prods = {0}; in qede_update_rx_prod() local
572 rx_prods.bd_prod = cpu_to_le16(bd_prod); in qede_update_rx_prod()
573 rx_prods.cqe_prod = cpu_to_le16(cqe_prod); in qede_update_rx_prod()
581 internal_ram_wr(rxq->hw_rxq_prod_addr, sizeof(rx_prods), in qede_update_rx_prod()
582 (u32 *)&rx_prods); in qede_update_rx_prod()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dcnic.c5181 struct ustorm_eth_rx_producers rx_prods = {0}; in cnic_init_rings() local
5184 rx_prods.bd_prod = 0; in cnic_init_rings()
5185 rx_prods.cqe_prod = BNX2X_MAX_RCQ_DESC_CNT; in cnic_init_rings()
5196 CNIC_WR(dev, off + i * 4, ((u32 *) &rx_prods)[i]); in cnic_init_rings()