bnapi 357 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; bnapi 362 drivers/net/ethernet/broadcom/bnx2.c bnapi->cnic_present = 0; bnapi 367 drivers/net/ethernet/broadcom/bnx2.c bnapi->cnic_tag = bnapi->last_status_idx; bnapi 368 drivers/net/ethernet/broadcom/bnx2.c bnapi->cnic_present = 1; bnapi 375 drivers/net/ethernet/broadcom/bnx2.c ((unsigned long) bnapi->status_blk.msi + bnapi 410 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; bnapi 415 drivers/net/ethernet/broadcom/bnx2.c bnapi->cnic_present = 0; bnapi 468 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; bnapi 470 drivers/net/ethernet/broadcom/bnx2.c bnapi->cnic_tag = bnapi->last_status_idx; bnapi 602 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi; bnapi 605 drivers/net/ethernet/broadcom/bnx2.c bnapi = &bp->bnx2_napi[i]; bnapi 606 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_PCICFG_INT_ACK_CMD, bnapi->int_num | bnapi 616 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi; bnapi 619 drivers/net/ethernet/broadcom/bnx2.c bnapi = &bp->bnx2_napi[i]; bnapi 621 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_PCICFG_INT_ACK_CMD, bnapi->int_num | bnapi 624 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx); bnapi 626 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_PCICFG_INT_ACK_CMD, bnapi->int_num | bnapi 628 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx); bnapi 702 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; bnapi 703 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; bnapi 722 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; bnapi 723 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring; bnapi 754 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; bnapi 755 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; bnapi 776 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; bnapi 777 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring; bnapi 863 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; bnapi 877 drivers/net/ethernet/broadcom/bnx2.c if (bnapi->status_blk.msi) bnapi 878 drivers/net/ethernet/broadcom/bnx2.c bnapi->status_blk.msi = NULL; bnapi 885 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi; bnapi 887 drivers/net/ethernet/broadcom/bnx2.c bnapi = &bp->bnx2_napi[0]; bnapi 888 drivers/net/ethernet/broadcom/bnx2.c bnapi->status_blk.msi = bp->status_blk; bnapi 889 drivers/net/ethernet/broadcom/bnx2.c bnapi->hw_tx_cons_ptr = bnapi 890 drivers/net/ethernet/broadcom/bnx2.c &bnapi->status_blk.msi->status_tx_quick_consumer_index0; bnapi 891 drivers/net/ethernet/broadcom/bnx2.c bnapi->hw_rx_cons_ptr = bnapi 892 drivers/net/ethernet/broadcom/bnx2.c &bnapi->status_blk.msi->status_rx_quick_consumer_index0; bnapi 897 drivers/net/ethernet/broadcom/bnx2.c bnapi = &bp->bnx2_napi[i]; bnapi 900 drivers/net/ethernet/broadcom/bnx2.c bnapi->status_blk.msix = sblk; bnapi 901 drivers/net/ethernet/broadcom/bnx2.c bnapi->hw_tx_cons_ptr = bnapi 903 drivers/net/ethernet/broadcom/bnx2.c bnapi->hw_rx_cons_ptr = bnapi 905 drivers/net/ethernet/broadcom/bnx2.c bnapi->int_num = i << 24; bnapi 2802 drivers/net/ethernet/broadcom/bnx2.c bnx2_phy_event_is_set(struct bnx2 *bp, struct bnx2_napi *bnapi, u32 event) bnapi 2804 drivers/net/ethernet/broadcom/bnx2.c struct status_block *sblk = bnapi->status_blk.msi; bnapi 2822 drivers/net/ethernet/broadcom/bnx2.c bnx2_phy_int(struct bnx2 *bp, struct bnx2_napi *bnapi) bnapi 2826 drivers/net/ethernet/broadcom/bnx2.c if (bnx2_phy_event_is_set(bp, bnapi, STATUS_ATTN_BITS_LINK_STATE)) bnapi 2828 drivers/net/ethernet/broadcom/bnx2.c if (bnx2_phy_event_is_set(bp, bnapi, STATUS_ATTN_BITS_TIMER_ABORT)) bnapi 2836 drivers/net/ethernet/broadcom/bnx2.c bnx2_get_hw_tx_cons(struct bnx2_napi *bnapi) bnapi 2840 drivers/net/ethernet/broadcom/bnx2.c cons = READ_ONCE(*bnapi->hw_tx_cons_ptr); bnapi 2848 drivers/net/ethernet/broadcom/bnx2.c bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) bnapi 2850 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; bnapi 2856 drivers/net/ethernet/broadcom/bnx2.c index = (bnapi - bp->bnx2_napi); bnapi 2859 drivers/net/ethernet/broadcom/bnx2.c hw_cons = bnx2_get_hw_tx_cons(bnapi); bnapi 2916 drivers/net/ethernet/broadcom/bnx2.c hw_cons = bnx2_get_hw_tx_cons(bnapi); bnapi 3136 drivers/net/ethernet/broadcom/bnx2.c bnx2_get_hw_rx_cons(struct bnx2_napi *bnapi) bnapi 3140 drivers/net/ethernet/broadcom/bnx2.c cons = READ_ONCE(*bnapi->hw_rx_cons_ptr); bnapi 3148 drivers/net/ethernet/broadcom/bnx2.c bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) bnapi 3150 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring; bnapi 3158 drivers/net/ethernet/broadcom/bnx2.c hw_cons = bnx2_get_hw_rx_cons(bnapi); bnapi 3281 drivers/net/ethernet/broadcom/bnx2.c skb_record_rx_queue(skb, bnapi - &bp->bnx2_napi[0]); bnapi 3282 drivers/net/ethernet/broadcom/bnx2.c napi_gro_receive(&bnapi->napi, skb); bnapi 3294 drivers/net/ethernet/broadcom/bnx2.c hw_cons = bnx2_get_hw_rx_cons(bnapi); bnapi 3318 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = dev_instance; bnapi 3319 drivers/net/ethernet/broadcom/bnx2.c struct bnx2 *bp = bnapi->bp; bnapi 3321 drivers/net/ethernet/broadcom/bnx2.c prefetch(bnapi->status_blk.msi); bnapi 3330 drivers/net/ethernet/broadcom/bnx2.c napi_schedule(&bnapi->napi); bnapi 3338 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = dev_instance; bnapi 3339 drivers/net/ethernet/broadcom/bnx2.c struct bnx2 *bp = bnapi->bp; bnapi 3341 drivers/net/ethernet/broadcom/bnx2.c prefetch(bnapi->status_blk.msi); bnapi 3347 drivers/net/ethernet/broadcom/bnx2.c napi_schedule(&bnapi->napi); bnapi 3355 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = dev_instance; bnapi 3356 drivers/net/ethernet/broadcom/bnx2.c struct bnx2 *bp = bnapi->bp; bnapi 3357 drivers/net/ethernet/broadcom/bnx2.c struct status_block *sblk = bnapi->status_blk.msi; bnapi 3365 drivers/net/ethernet/broadcom/bnx2.c if ((sblk->status_idx == bnapi->last_status_idx) && bnapi 3383 drivers/net/ethernet/broadcom/bnx2.c if (napi_schedule_prep(&bnapi->napi)) { bnapi 3384 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx = sblk->status_idx; bnapi 3385 drivers/net/ethernet/broadcom/bnx2.c __napi_schedule(&bnapi->napi); bnapi 3392 drivers/net/ethernet/broadcom/bnx2.c bnx2_has_fast_work(struct bnx2_napi *bnapi) bnapi 3394 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; bnapi 3395 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring; bnapi 3397 drivers/net/ethernet/broadcom/bnx2.c if ((bnx2_get_hw_rx_cons(bnapi) != rxr->rx_cons) || bnapi 3398 drivers/net/ethernet/broadcom/bnx2.c (bnx2_get_hw_tx_cons(bnapi) != txr->hw_tx_cons)) bnapi 3407 drivers/net/ethernet/broadcom/bnx2.c bnx2_has_work(struct bnx2_napi *bnapi) bnapi 3409 drivers/net/ethernet/broadcom/bnx2.c struct status_block *sblk = bnapi->status_blk.msi; bnapi 3411 drivers/net/ethernet/broadcom/bnx2.c if (bnx2_has_fast_work(bnapi)) bnapi 3415 drivers/net/ethernet/broadcom/bnx2.c if (bnapi->cnic_present && (bnapi->cnic_tag != sblk->status_idx)) bnapi 3429 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; bnapi 3432 drivers/net/ethernet/broadcom/bnx2.c if (bnx2_has_work(bnapi)) { bnapi 3437 drivers/net/ethernet/broadcom/bnx2.c if (bnapi->last_status_idx == bp->idle_chk_status_idx) { bnapi 3441 drivers/net/ethernet/broadcom/bnx2.c bnx2_msi(bp->irq_tbl[0].vector, bnapi); bnapi 3445 drivers/net/ethernet/broadcom/bnx2.c bp->idle_chk_status_idx = bnapi->last_status_idx; bnapi 3449 drivers/net/ethernet/broadcom/bnx2.c static void bnx2_poll_cnic(struct bnx2 *bp, struct bnx2_napi *bnapi) bnapi 3453 drivers/net/ethernet/broadcom/bnx2.c if (!bnapi->cnic_present) bnapi 3459 drivers/net/ethernet/broadcom/bnx2.c bnapi->cnic_tag = c_ops->cnic_handler(bp->cnic_data, bnapi 3460 drivers/net/ethernet/broadcom/bnx2.c bnapi->status_blk.msi); bnapi 3465 drivers/net/ethernet/broadcom/bnx2.c static void bnx2_poll_link(struct bnx2 *bp, struct bnx2_napi *bnapi) bnapi 3467 drivers/net/ethernet/broadcom/bnx2.c struct status_block *sblk = bnapi->status_blk.msi; bnapi 3474 drivers/net/ethernet/broadcom/bnx2.c bnx2_phy_int(bp, bnapi); bnapi 3485 drivers/net/ethernet/broadcom/bnx2.c static int bnx2_poll_work(struct bnx2 *bp, struct bnx2_napi *bnapi, bnapi 3488 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; bnapi 3489 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring; bnapi 3491 drivers/net/ethernet/broadcom/bnx2.c if (bnx2_get_hw_tx_cons(bnapi) != txr->hw_tx_cons) bnapi 3492 drivers/net/ethernet/broadcom/bnx2.c bnx2_tx_int(bp, bnapi, 0); bnapi 3494 drivers/net/ethernet/broadcom/bnx2.c if (bnx2_get_hw_rx_cons(bnapi) != rxr->rx_cons) bnapi 3495 drivers/net/ethernet/broadcom/bnx2.c work_done += bnx2_rx_int(bp, bnapi, budget - work_done); bnapi 3502 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); bnapi 3503 drivers/net/ethernet/broadcom/bnx2.c struct bnx2 *bp = bnapi->bp; bnapi 3505 drivers/net/ethernet/broadcom/bnx2.c struct status_block_msix *sblk = bnapi->status_blk.msix; bnapi 3508 drivers/net/ethernet/broadcom/bnx2.c work_done = bnx2_poll_work(bp, bnapi, work_done, budget); bnapi 3512 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx = sblk->status_idx; bnapi 3515 drivers/net/ethernet/broadcom/bnx2.c if (likely(!bnx2_has_fast_work(bnapi))) { bnapi 3518 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_PCICFG_INT_ACK_CMD, bnapi->int_num | bnapi 3520 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx); bnapi 3529 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); bnapi 3530 drivers/net/ethernet/broadcom/bnx2.c struct bnx2 *bp = bnapi->bp; bnapi 3532 drivers/net/ethernet/broadcom/bnx2.c struct status_block *sblk = bnapi->status_blk.msi; bnapi 3535 drivers/net/ethernet/broadcom/bnx2.c bnx2_poll_link(bp, bnapi); bnapi 3537 drivers/net/ethernet/broadcom/bnx2.c work_done = bnx2_poll_work(bp, bnapi, work_done, budget); bnapi 3540 drivers/net/ethernet/broadcom/bnx2.c bnx2_poll_cnic(bp, bnapi); bnapi 3547 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx = sblk->status_idx; bnapi 3553 drivers/net/ethernet/broadcom/bnx2.c if (likely(!bnx2_has_work(bnapi))) { bnapi 3558 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx); bnapi 3564 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx); bnapi 3568 drivers/net/ethernet/broadcom/bnx2.c bnapi->last_status_idx); bnapi 5133 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi; bnapi 5139 drivers/net/ethernet/broadcom/bnx2.c bnapi = &bp->bnx2_napi[i]; bnapi 5140 drivers/net/ethernet/broadcom/bnx2.c txr = &bnapi->tx_ring; bnapi 5141 drivers/net/ethernet/broadcom/bnx2.c rxr = &bnapi->rx_ring; bnapi 5188 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi; bnapi 5191 drivers/net/ethernet/broadcom/bnx2.c bnapi = &bp->bnx2_napi[ring_num]; bnapi 5192 drivers/net/ethernet/broadcom/bnx2.c txr = &bnapi->tx_ring; bnapi 5245 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[ring_num]; bnapi 5246 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring; bnapi 5438 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; bnapi 5439 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_tx_ring_info *txr = &bnapi->tx_ring; bnapi 5483 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; bnapi 5484 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_rx_ring_info *rxr = &bnapi->rx_ring; bnapi 5819 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[0], *tx_napi; bnapi 5823 drivers/net/ethernet/broadcom/bnx2.c tx_napi = bnapi; bnapi 5826 drivers/net/ethernet/broadcom/bnx2.c rxr = &bnapi->rx_ring; bnapi 5864 drivers/net/ethernet/broadcom/bnx2.c rx_start_idx = bnx2_get_hw_rx_cons(bnapi); bnapi 5897 drivers/net/ethernet/broadcom/bnx2.c rx_idx = bnx2_get_hw_rx_cons(bnapi); bnapi 6604 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi; bnapi 6610 drivers/net/ethernet/broadcom/bnx2.c bnapi = &bp->bnx2_napi[i]; bnapi 6611 drivers/net/ethernet/broadcom/bnx2.c txr = &bnapi->tx_ring; bnapi 8532 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; bnapi 8541 drivers/net/ethernet/broadcom/bnx2.c bnapi->bp = bp; bnapi 619 drivers/net/ethernet/broadcom/bnxt/bnxt.c static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) bnapi 621 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_tx_ring_info *txr = bnapi->tx_ring; bnapi 869 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = cpr->bnapi; bnapi 870 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt *bp = bnapi->bp; bnapi 871 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 950 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb = napi_alloc_skb(&rxr->bnapi->napi, payload); bnapi 1004 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = cpr->bnapi; bnapi 1006 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 1089 drivers/net/ethernet/broadcom/bnxt/bnxt.c static inline struct sk_buff *bnxt_copy_skb(struct bnxt_napi *bnapi, u8 *data, bnapi 1093 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt *bp = bnapi->bp; bnapi 1097 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb = napi_alloc_skb(&bnapi->napi, len); bnapi 1170 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!rxr->bnapi->in_reset) { bnapi 1171 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr->bnapi->in_reset = true; bnapi 1508 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = cpr->bnapi; bnapi 1509 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 1519 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (unlikely(bnapi->in_reset)) { bnapi 1571 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb = bnxt_copy_skb(bnapi, data_ptr, len, mapping); bnapi 1652 drivers/net/ethernet/broadcom/bnxt/bnxt.c static void bnxt_deliver_skb(struct bnxt *bp, struct bnxt_napi *bnapi, bnapi 1660 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb_record_rx_queue(skb, bnapi->index); bnapi 1661 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_gro_receive(&bnapi->napi, skb); bnapi 1674 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = cpr->bnapi; bnapi 1675 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 1727 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_deliver_skb(bp, bnapi, skb); bnapi 1771 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->cp_ring.rx_buf_errors++; bnapi 1790 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb = bnxt_copy_skb(bnapi, data_ptr, len, dma_addr); bnapi 1854 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->cp_ring.rx_l4_csum_errors++; bnapi 1858 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_deliver_skb(bp, bnapi, skb); bnapi 2101 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = dev_instance; bnapi 2102 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt *bp = bnapi->bp; bnapi 2103 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2108 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_schedule(&bnapi->napi); bnapi 2125 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = dev_instance; bnapi 2126 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt *bp = bnapi->bp; bnapi 2127 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2147 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_schedule(&bnapi->napi); bnapi 2154 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = cpr->bnapi; bnapi 2224 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_tx_ring_info *txr = bnapi->tx_ring; bnapi 2234 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->tx_pkts += tx_pkts; bnapi 2235 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->events |= event; bnapi 2239 drivers/net/ethernet/broadcom/bnxt/bnxt.c static void __bnxt_poll_work_done(struct bnxt *bp, struct bnxt_napi *bnapi) bnapi 2241 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bnapi->tx_pkts) { bnapi 2242 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->tx_int(bp, bnapi, bnapi->tx_pkts); bnapi 2243 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->tx_pkts = 0; bnapi 2246 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bnapi->events & BNXT_RX_EVENT) { bnapi 2247 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 2249 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bnapi->events & BNXT_AGG_EVENT) bnapi 2253 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->events = 0; bnapi 2259 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = cpr->bnapi; bnapi 2270 drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_poll_work_done(bp, bnapi); bnapi 2276 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = container_of(napi, struct bnxt_napi, napi); bnapi 2277 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt *bp = bnapi->bp; bnapi 2278 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2279 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 2343 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = container_of(napi, struct bnxt_napi, napi); bnapi 2344 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt *bp = bnapi->bp; bnapi 2345 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2375 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int __bnxt_poll_cqs(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) bnapi 2377 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2392 drivers/net/ethernet/broadcom/bnxt/bnxt.c static void __bnxt_poll_cqs_done(struct bnxt *bp, struct bnxt_napi *bnapi, bnapi 2395 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2409 drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_poll_work_done(bp, bnapi); bnapi 2414 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = container_of(napi, struct bnxt_napi, napi); bnapi 2415 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2417 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt *bp = bnapi->bp; bnapi 2424 drivers/net/ethernet/broadcom/bnxt/bnxt.c work_done = __bnxt_poll_cqs(bp, bnapi, budget); bnapi 2426 drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_poll_cqs_done(bp, bnapi, DBR_TYPE_CQ, false); bnapi 2429 drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_poll_cqs_done(bp, bnapi, DBR_TYPE_CQ_ARMALL, true); bnapi 2439 drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_poll_cqs_done(bp, bnapi, DBR_TYPE_CQ_ARMALL, bnapi 2468 drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_poll_cqs_done(bp, bnapi, DBR_TYPE_CQ, true); bnapi 2935 drivers/net/ethernet/broadcom/bnxt/bnxt.c ring->grp_idx = txr->bnapi->index; bnapi 2968 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 2972 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 2977 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi) bnapi 2980 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = &bnapi->cp_ring; bnapi 3033 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 3037 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi) bnapi 3040 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = &bnapi->cp_ring; bnapi 3041 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr->bnapi = bnapi; bnapi 3063 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr2->bnapi = bnapi; bnapi 3073 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr2->bnapi = bnapi; bnapi 3084 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 3091 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi) bnapi 3094 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = &bnapi->cp_ring; bnapi 3103 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr = bnapi->rx_ring; bnapi 3126 drivers/net/ethernet/broadcom/bnxt/bnxt.c txr = bnapi->tx_ring; bnapi 3253 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnapi 3747 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 3753 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 3754 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 3772 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 3773 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 3853 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 3857 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 3862 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi) bnapi 3865 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = &bnapi->cp_ring; bnapi 3868 drivers/net/ethernet/broadcom/bnxt/bnxt.c txr = bnapi->tx_ring; bnapi 3874 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr = bnapi->rx_ring; bnapi 3953 drivers/net/ethernet/broadcom/bnxt/bnxt.c kfree(bp->bnapi); bnapi 3954 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi = NULL; bnapi 3963 drivers/net/ethernet/broadcom/bnxt/bnxt.c void *bnapi; bnapi 3972 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi = kzalloc(arr_size + size * bp->cp_nr_rings, GFP_KERNEL); bnapi 3973 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi) bnapi 3976 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi = bnapi; bnapi 3977 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi += arr_size; bnapi 3978 drivers/net/ethernet/broadcom/bnxt/bnxt.c for (i = 0; i < bp->cp_nr_rings; i++, bnapi += size) { bnapi 3979 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[i] = bnapi; bnapi 3980 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[i]->index = i; bnapi 3981 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[i]->bp = bp; bnapi 3984 drivers/net/ethernet/broadcom/bnxt/bnxt.c &bp->bnapi[i]->cp_ring; bnapi 4006 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr->bnapi = bp->bnapi[i]; bnapi 4007 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[i]->rx_ring = &bp->rx_ring[i]; bnapi 4033 drivers/net/ethernet/broadcom/bnxt/bnxt.c txr->bnapi = bp->bnapi[j]; bnapi 4034 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[j]->tx_ring = txr; bnapi 4038 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[j]->tx_int = bnxt_tx_int; bnapi 4040 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[j]->flags |= BNXT_NAPI_FLAG_XDP; bnapi 4041 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[j]->tx_int = bnxt_tx_int_xdp; bnapi 4088 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 4092 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 4093 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 4103 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[n]; bnapi 4106 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = &bnapi->cp_ring; bnapi 4130 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 4131 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 4808 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = rxr->bnapi; bnapi 4811 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = bnapi->cp_ring.cp_ring_arr[BNXT_RX_HDL]; bnapi 4821 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = txr->bnapi; bnapi 4824 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = bnapi->cp_ring.cp_ring_arr[BNXT_TX_HDL]; bnapi 5040 drivers/net/ethernet/broadcom/bnxt/bnxt.c grp_idx = bp->rx_ring[ring].bnapi->index; bnapi 5100 drivers/net/ethernet/broadcom/bnxt/bnxt.c grp_idx = bp->rx_ring[i].bnapi->index; bnapi 5170 drivers/net/ethernet/broadcom/bnxt/bnxt.c unsigned int grp_idx = bp->rx_ring[i].bnapi->index; bnapi 5408 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 5409 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 5440 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = txr->bnapi; bnapi 5444 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = &bnapi->cp_ring; bnapi 5448 drivers/net/ethernet/broadcom/bnxt/bnxt.c map_idx = bnapi->index; bnapi 5468 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = rxr->bnapi; bnapi 5469 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 map_idx = bnapi->index; bnapi 5480 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 5554 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 5575 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 grp_idx = rxr->bnapi->index; bnapi 5597 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 grp_idx = rxr->bnapi->index; bnapi 5622 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 5623 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 6197 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int __bnxt_hwrm_set_coal_nq(struct bnxt *bp, struct bnxt_napi *bnapi, bnapi 6201 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 6222 drivers/net/ethernet/broadcom/bnxt/bnxt.c int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi) bnapi 6225 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 6236 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi->rx_ring) bnapi 6244 drivers/net/ethernet/broadcom/bnxt/bnxt.c req_rx.ring_id = cpu_to_le16(bnxt_cp_ring_for_rx(bp, bnapi->rx_ring)); bnapi 6266 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 6271 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi->rx_ring) { bnapi 6272 drivers/net/ethernet/broadcom/bnxt/bnxt.c ring_id = bnxt_cp_ring_for_tx(bp, bnapi->tx_ring); bnapi 6275 drivers/net/ethernet/broadcom/bnxt/bnxt.c ring_id = bnxt_cp_ring_for_rx(bp, bnapi->rx_ring); bnapi 6287 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bnapi->rx_ring && bnapi->tx_ring) { bnapi 6289 drivers/net/ethernet/broadcom/bnxt/bnxt.c ring_id = bnxt_cp_ring_for_tx(bp, bnapi->tx_ring); bnapi 6296 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bnapi->rx_ring) bnapi 6300 drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_hwrm_set_coal_nq(bp, bnapi, hw_coal); bnapi 6311 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 6321 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 6322 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 6353 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 6354 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 8177 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->irq_tbl || !bp->bnapi) bnapi 8190 drivers/net/ethernet/broadcom/bnxt/bnxt.c free_irq(irq->vector, bp->bnapi[i]); bnapi 8222 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (rmap && bp->bnapi[i]->rx_ring) { bnapi 8231 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[i]); bnapi 8259 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 8263 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 8265 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_hash_del(&bnapi->napi); bnapi 8266 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_del(&bnapi->napi); bnapi 8278 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi; bnapi 8288 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi = bp->bnapi[i]; bnapi 8289 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_add(bp->dev, &bnapi->napi, poll_fn, 64); bnapi 8292 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi = bp->bnapi[cp_nr_rings]; bnapi 8293 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_add(bp->dev, &bnapi->napi, bnapi 8297 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi = bp->bnapi[0]; bnapi 8298 drivers/net/ethernet/broadcom/bnxt/bnxt.c netif_napi_add(bp->dev, &bnapi->napi, bnxt_poll, 64); bnapi 8306 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bp->bnapi) bnapi 8310 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnapi 8312 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->bnapi[i]->rx_ring) bnapi 8315 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_disable(&bp->bnapi[i]->napi); bnapi 8324 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnapi 8325 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[i]->in_reset = false; bnapi 8327 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->bnapi[i]->rx_ring) { bnapi 8331 drivers/net/ethernet/broadcom/bnxt/bnxt.c napi_enable(&bp->bnapi[i]->napi); bnapi 9288 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->bnapi && irq_re_init) bnapi 9434 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 9435 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 9883 drivers/net/ethernet/broadcom/bnxt/bnxt.c static void bnxt_dump_tx_sw_state(struct bnxt_napi *bnapi) bnapi 9885 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_tx_ring_info *txr = bnapi->tx_ring; bnapi 9886 drivers/net/ethernet/broadcom/bnxt/bnxt.c int i = bnapi->index; bnapi 9891 drivers/net/ethernet/broadcom/bnxt/bnxt.c netdev_info(bnapi->bp->dev, "[%d]: tx{fw_ring: %d prod: %x cons: %x}\n", bnapi 9896 drivers/net/ethernet/broadcom/bnxt/bnxt.c static void bnxt_dump_rx_sw_state(struct bnxt_napi *bnapi) bnapi 9898 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 9899 drivers/net/ethernet/broadcom/bnxt/bnxt.c int i = bnapi->index; bnapi 9904 drivers/net/ethernet/broadcom/bnxt/bnxt.c netdev_info(bnapi->bp->dev, "[%d]: rx{fw_ring: %d prod: %x} rx_agg{fw_ring: %d agg_prod: %x sw_agg_prod: %x}\n", bnapi 9910 drivers/net/ethernet/broadcom/bnxt/bnxt.c static void bnxt_dump_cp_sw_state(struct bnxt_napi *bnapi) bnapi 9912 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 9913 drivers/net/ethernet/broadcom/bnxt/bnxt.c int i = bnapi->index; bnapi 9915 drivers/net/ethernet/broadcom/bnxt/bnxt.c netdev_info(bnapi->bp->dev, "[%d]: cp{fw_ring: %d raw_cons: %x}\n", bnapi 9922 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi; bnapi 9925 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi = bp->bnapi[i]; bnapi 9927 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_dump_tx_sw_state(bnapi); bnapi 9928 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_dump_rx_sw_state(bnapi); bnapi 9929 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_dump_cp_sw_state(bnapi); bnapi 10206 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 10211 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!bnapi) bnapi 10214 drivers/net/ethernet/broadcom/bnxt/bnxt.c cpr = &bnapi->cp_ring; bnapi 763 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct bnxt_napi *bnapi; bnapi 868 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct bnxt_napi *bnapi; bnapi 903 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct bnxt_napi *bnapi; bnapi 1555 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct bnxt_napi **bnapi; bnapi 2005 drivers/net/ethernet/broadcom/bnxt/bnxt.h int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi); bnapi 84 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnapi 86 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c if (cpr && bp->bnapi[i]->rx_ring) bnapi 20 drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c struct bnxt_napi *bnapi = container_of(cpr, bnapi 29 drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c bnxt_hwrm_set_ring_coal(bnapi->bp, bnapi); bnapi 539 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (!bp->bnapi) { bnapi 548 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c struct bnxt_napi *bnapi = bp->bnapi[i]; bnapi 549 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnapi 2747 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c struct bnxt_napi *bnapi = cpr->bnapi; bnapi 2756 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c rxr = bnapi->rx_ring; bnapi 2767 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (!ether_addr_equal(data + i, bnapi->bp->dev->dev_addr)) bnapi 2823 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c cpr = &rxr->bnapi->cp_ring; bnapi 71 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) bnapi 73 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c struct bnxt_tx_ring_info *txr = bnapi->tx_ring; bnapi 74 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnapi 135 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c txr = rxr->bnapi->tx_ring; bnapi 238 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c !(bp->bnapi[ring]->flags & BNXT_NAPI_FLAG_XDP)) { bnapi 16 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts);