Searched refs:bnapi (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_dim.c | 20 struct bnxt_napi *bnapi = container_of(cpr, in bnxt_dim_work() local 29 bnxt_hwrm_set_ring_coal(bnapi->bp, bnapi); in bnxt_dim_work()
|
D | bnxt.c | 619 static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) in bnxt_tx_int() argument 621 struct bnxt_tx_ring_info *txr = bnapi->tx_ring; in bnxt_tx_int() 869 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_reuse_rx_agg_bufs() local 870 struct bnxt *bp = bnapi->bp; in bnxt_reuse_rx_agg_bufs() 871 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; in bnxt_reuse_rx_agg_bufs() 950 skb = napi_alloc_skb(&rxr->bnapi->napi, payload); in bnxt_rx_page_skb() 1004 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_pages() local 1006 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; in bnxt_rx_pages() 1089 static inline struct sk_buff *bnxt_copy_skb(struct bnxt_napi *bnapi, u8 *data, in bnxt_copy_skb() argument 1093 struct bnxt *bp = bnapi->bp; in bnxt_copy_skb() [all …]
|
D | bnxt_xdp.c | 71 void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) in bnxt_tx_int_xdp() argument 73 struct bnxt_tx_ring_info *txr = bnapi->tx_ring; in bnxt_tx_int_xdp() 74 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; in bnxt_tx_int_xdp() 135 txr = rxr->bnapi->tx_ring; in bnxt_rx_xdp() 239 !(bp->bnapi[ring]->flags & BNXT_NAPI_FLAG_XDP)) { in bnxt_xdp_xmit()
|
D | bnxt_debugfs.c | 84 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; in bnxt_debug_dev_init() 86 if (cpr && bp->bnapi[i]->rx_ring) in bnxt_debug_dev_init()
|
D | bnxt_xdp.h | 16 void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts);
|
D | bnxt.h | 769 struct bnxt_napi *bnapi; member 874 struct bnxt_napi *bnapi; member 932 struct bnxt_napi *bnapi; member 1706 struct bnxt_napi **bnapi; member 2202 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);
|
D | bnxt_ethtool.c | 549 if (!bp->bnapi) { in bnxt_get_ethtool_stats() 559 struct bnxt_napi *bnapi = bp->bnapi[i]; in bnxt_get_ethtool_stats() local 560 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats() 3178 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_loopback() local 3187 rxr = bnapi->rx_ring; in bnxt_rx_loopback() 3198 if (!ether_addr_equal(data + i, bnapi->bp->dev->dev_addr)) in bnxt_rx_loopback() 3254 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 351 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_setup_cnic_irq_info() local 356 bnapi->cnic_present = 0; in bnx2_setup_cnic_irq_info() 361 bnapi->cnic_tag = bnapi->last_status_idx; in bnx2_setup_cnic_irq_info() 362 bnapi->cnic_present = 1; in bnx2_setup_cnic_irq_info() 369 ((unsigned long) bnapi->status_blk.msi + in bnx2_setup_cnic_irq_info() 404 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_unregister_cnic() local 409 bnapi->cnic_present = 0; in bnx2_unregister_cnic() 462 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_cnic_start() local 464 bnapi->cnic_tag = bnapi->last_status_idx; in bnx2_cnic_start() 596 struct bnx2_napi *bnapi; in bnx2_disable_int() local [all …]
|