Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/apm/xgene/
H A 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 …]
H A Dxgene_enet_main.h118 struct xgene_enet_desc_ring *cp_ring; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c22 cp_ring); in bnxt_dim_work()
H A Dbnxt_debugfs.c84 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; in bnxt_debug_dev_init()
H A Dbnxt.c2237 bnapi->cp_ring.sw_stats->rx.rx_buf_errors++; in bnxt_rx_pkt()
2369 bnapi->cp_ring.sw_stats->rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
3024 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_msix()
3192 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll_nitroa0()
3268 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll()
3304 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in __bnxt_poll_cqs()
3322 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in __bnxt_poll_cqs_done()
3350 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_poll_p5()
4199 bnxt_free_cp_arrays(&bnapi->cp_ring); in bnxt_free_all_cp_arrays()
4213 rc = bnxt_alloc_cp_arrays(&bnapi->cp_ring, n); in bnxt_alloc_all_cp_arrays()
[all …]
H A Dbnxt.h1242 struct bnxt_cp_ring_info cp_ring; member
H A Dbnxt_ethtool.c613 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats()
5173 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback()