Home
last modified time | relevance | path

Searched refs:cp_ring (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c225 static int xgene_enet_tx_completion(struct xgene_enet_desc_ring *cp_ring, in xgene_enet_tx_completion() argument
228 struct xgene_enet_pdata *pdata = netdev_priv(cp_ring->ndev); in xgene_enet_tx_completion()
239 skb = cp_ring->cp_skb[skb_index]; in xgene_enet_tx_completion()
240 frag_dma_addr = &cp_ring->frag_dma_addr[skb_index * MAX_SKB_FRAGS]; in xgene_enet_tx_completion()
242 dev = ndev_to_dev(cp_ring->ndev); in xgene_enet_tx_completion()
263 cp_ring->tx_dropped++; in xgene_enet_tx_completion()
264 cp_ring->tx_errors++; in xgene_enet_tx_completion()
270 netdev_err(cp_ring->ndev, "completion skb is NULL\n"); in xgene_enet_tx_completion()
403 return &ring->cp_ring->frag_dma_addr[ring->tail * MAX_SKB_FRAGS]; in xgene_get_frag_dma_array()
542 tx_ring->cp_ring->cp_skb[tx_ring->tail] = skb; in xgene_enet_setup_tx_desc()
[all …]
Dxgene_enet_main.h117 struct xgene_enet_desc_ring *cp_ring; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dim.c22 cp_ring); in bnxt_dim_work()
Dbnxt_debugfs.c84 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; in bnxt_debug_dev_init()
Dbnxt.c1908 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
2034 bnapi->cp_ring.sw_stats.rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
2462 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_msix()
2486 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_inta()
2640 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll_nitroa0()
2711 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll()
2747 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in __bnxt_poll_cqs()
2765 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in __bnxt_poll_cqs_done()
2785 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll_p5()
3429 bnxt_free_cp_arrays(&bnapi->cp_ring); in bnxt_free_all_cp_arrays()
[all …]
Dbnxt.h1002 struct bnxt_cp_ring_info cp_ring; member
Dbnxt_ethtool.c601 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats()
3532 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback()