Home
last modified time | relevance | path

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

/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
/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.c1661 cpr->bnapi->cp_ring.sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1671 cpr->bnapi->cp_ring.sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1687 cpr->bnapi->cp_ring.sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1698 cpr->bnapi->cp_ring.sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1895 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
2008 bnapi->cp_ring.sw_stats.rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
2045 cpr->bnapi->cp_ring.sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
2093 cpr->bnapi->cp_ring.sw_stats.rx.rx_netpoll_discards += 1; in bnxt_force_rx_discard()
2440 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_msix()
2464 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_inta()
[all …]
Dbnxt.h1023 struct bnxt_cp_ring_info cp_ring; member
Dbnxt_ethtool.c602 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats()
3631 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback()