Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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.c1879 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
2005 bnapi->cp_ring.sw_stats.rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
2434 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_msix()
2458 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_inta()
2611 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll_nitroa0()
2687 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll()
2723 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in __bnxt_poll_cqs()
2741 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in __bnxt_poll_cqs_done()
2761 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll_p5()
3393 bnxt_free_cp_arrays(&bnapi->cp_ring); in bnxt_free_all_cp_arrays()
[all …]
Dbnxt.h1017 struct bnxt_cp_ring_info cp_ring; member
Dbnxt_ethtool.c603 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats()
3637 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback()