Home
last modified time | relevance | path

Searched refs:bnapi (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c323 if (!rxr->bnapi->in_reset) { in bnxt_sched_reset_rxr()
324 rxr->bnapi->in_reset = true; in bnxt_sched_reset_rxr()
337 struct bnxt_napi *bnapi = txr->bnapi; in bnxt_sched_reset_txr() local
339 if (bnapi->tx_fault) in bnxt_sched_reset_txr()
343 txr->txq_index, bnapi->tx_pkts, in bnxt_sched_reset_txr()
346 bnapi->tx_fault = 1; in bnxt_sched_reset_txr()
690 static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) in bnxt_tx_int() argument
692 struct bnxt_tx_ring_info *txr = bnapi->tx_ring; in bnxt_tx_int()
696 int nr_pkts = bnapi->tx_pkts; in bnxt_tx_int()
751 bnapi->tx_pkts = 0; in bnxt_tx_int()
[all …]
Dbnxt_dim.c20 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()
Dbnxt_debugfs.c84 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()
Dbnxt_xdp.c121 void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) in bnxt_tx_int_xdp() argument
123 struct bnxt_tx_ring_info *txr = bnapi->tx_ring; in bnxt_tx_int_xdp()
124 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; in bnxt_tx_int_xdp()
126 int nr_pkts = bnapi->tx_pkts; in bnxt_tx_int_xdp()
166 bnapi->tx_pkts = 0; in bnxt_tx_int_xdp()
245 txr = rxr->bnapi->tx_ring; in bnxt_rx_xdp()
Dbnxt_xdp.h19 void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int budget);
Dbnxt.h800 struct bnxt_napi *bnapi; member
909 struct bnxt_napi *bnapi; member
983 struct bnxt_napi *bnapi; member
1887 struct bnxt_napi **bnapi; member
2388 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);
Dbnxt_ethtool.c594 if (!bp->bnapi) { in bnxt_get_ethtool_stats()
601 struct bnxt_napi *bnapi = bp->bnapi[i]; in bnxt_get_ethtool_stats() local
602 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; in bnxt_get_ethtool_stats()
3555 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_loopback() local
3564 rxr = bnapi->rx_ring; in bnxt_rx_loopback()
3575 if (!ether_addr_equal(data + i, bnapi->bp->dev->dev_addr)) in bnxt_rx_loopback()
3631 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbnx2.c350 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_setup_cnic_irq_info() local
355 bnapi->cnic_present = 0; in bnx2_setup_cnic_irq_info()
360 bnapi->cnic_tag = bnapi->last_status_idx; in bnx2_setup_cnic_irq_info()
361 bnapi->cnic_present = 1; in bnx2_setup_cnic_irq_info()
368 ((unsigned long) bnapi->status_blk.msi + in bnx2_setup_cnic_irq_info()
403 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_unregister_cnic() local
408 bnapi->cnic_present = 0; in bnx2_unregister_cnic()
461 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_cnic_start() local
463 bnapi->cnic_tag = bnapi->last_status_idx; in bnx2_cnic_start()
595 struct bnx2_napi *bnapi; in bnx2_disable_int() local
[all …]