• Home
  • Raw
  • Download

Lines Matching refs:rx_ctrl

595 	struct bnad_rx_ctrl *rx_ctrl = ccb->ctrl;  in bnad_cq_process()  local
633 skb = napi_get_frags(&rx_ctrl->napi); in bnad_cq_process()
717 napi_gro_frags(&rx_ctrl->napi); in bnad_cq_process()
729 napi_gro_flush(&rx_ctrl->napi, false); in bnad_cq_process()
743 struct bnad_rx_ctrl *rx_ctrl = (struct bnad_rx_ctrl *)(ccb->ctrl); in bnad_netif_rx_schedule_poll() local
744 struct napi_struct *napi = &rx_ctrl->napi; in bnad_netif_rx_schedule_poll()
748 rx_ctrl->rx_schedule++; in bnad_netif_rx_schedule_poll()
800 struct bnad_rx_ctrl *rx_ctrl; in bnad_isr() local
839 rx_ctrl = &rx_info->rx_ctrl[j]; in bnad_isr()
840 if (rx_ctrl->ccb) in bnad_isr()
842 rx_ctrl->ccb); in bnad_isr()
1031 rx_info->rx_ctrl[ccb->id].ccb = ccb; in bnad_cb_ccb_setup()
1032 ccb->ctrl = &rx_info->rx_ctrl[ccb->id]; in bnad_cb_ccb_setup()
1041 rx_info->rx_ctrl[ccb->id].ccb = NULL; in bnad_cb_ccb_destroy()
1165 struct bnad_rx_ctrl *rx_ctrl; in bnad_cb_rx_stall() local
1169 rx_ctrl = &rx_info->rx_ctrl[i]; in bnad_cb_rx_stall()
1170 ccb = rx_ctrl->ccb; in bnad_cb_rx_stall()
1189 struct bnad_rx_ctrl *rx_ctrl; in bnad_rx_cleanup() local
1195 rx_ctrl = &rx_info->rx_ctrl[i]; in bnad_rx_cleanup()
1197 if (!rx_ctrl->ccb) in bnad_rx_cleanup()
1200 bnad = rx_ctrl->ccb->bnad; in bnad_rx_cleanup()
1206 napi_disable(&rx_ctrl->napi); in bnad_rx_cleanup()
1208 bnad_cq_cleanup(bnad, rx_ctrl->ccb); in bnad_rx_cleanup()
1209 bnad_rxq_cleanup(bnad, rx_ctrl->ccb->rcb[0]); in bnad_rx_cleanup()
1210 if (rx_ctrl->ccb->rcb[1]) in bnad_rx_cleanup()
1211 bnad_rxq_cleanup(bnad, rx_ctrl->ccb->rcb[1]); in bnad_rx_cleanup()
1224 struct bnad_rx_ctrl *rx_ctrl; in bnad_cb_rx_cleanup() local
1228 rx_ctrl = &rx_info->rx_ctrl[i]; in bnad_cb_rx_cleanup()
1229 ccb = rx_ctrl->ccb; in bnad_cb_rx_cleanup()
1248 struct bnad_rx_ctrl *rx_ctrl; in bnad_cb_rx_post() local
1252 rx_ctrl = &rx_info->rx_ctrl[i]; in bnad_cb_rx_post()
1253 ccb = rx_ctrl->ccb; in bnad_cb_rx_post()
1257 napi_enable(&rx_ctrl->napi); in bnad_cb_rx_post()
1578 if (rx_info->rx_ctrl[i].ccb == NULL) in bnad_rx_msix_unregister()
1581 vector_num = rx_info->rx_ctrl[i].ccb->intr_vector; in bnad_rx_msix_unregister()
1583 rx_info->rx_ctrl[i].ccb); in bnad_rx_msix_unregister()
1599 vector_num = rx_info->rx_ctrl[i].ccb->intr_vector; in bnad_rx_msix_register()
1600 sprintf(rx_info->rx_ctrl[i].ccb->name, "%s CQ %d", in bnad_rx_msix_register()
1602 rx_id + rx_info->rx_ctrl[i].ccb->id); in bnad_rx_msix_register()
1605 rx_info->rx_ctrl[i].ccb->name, in bnad_rx_msix_register()
1606 rx_info->rx_ctrl[i].ccb); in bnad_rx_msix_register()
1758 struct bnad_rx_ctrl *rx_ctrl; in bnad_dim_timeout() local
1771 rx_ctrl = &rx_info->rx_ctrl[j]; in bnad_dim_timeout()
1772 if (!rx_ctrl->ccb) in bnad_dim_timeout()
1774 bna_rx_dim_update(rx_ctrl->ccb); in bnad_dim_timeout()
1873 struct bnad_rx_ctrl *rx_ctrl = in bnad_napi_poll_rx() local
1875 struct bnad *bnad = rx_ctrl->bnad; in bnad_napi_poll_rx()
1878 rx_ctrl->rx_poll_ctr++; in bnad_napi_poll_rx()
1883 rcvd = bnad_cq_process(bnad, rx_ctrl->ccb, budget); in bnad_napi_poll_rx()
1890 rx_ctrl->rx_complete++; in bnad_napi_poll_rx()
1892 if (rx_ctrl->ccb) in bnad_napi_poll_rx()
1893 bnad_enable_rx_irq_unsafe(rx_ctrl->ccb); in bnad_napi_poll_rx()
1902 struct bnad_rx_ctrl *rx_ctrl; in bnad_napi_add() local
1907 rx_ctrl = &bnad->rx_info[rx_id].rx_ctrl[i]; in bnad_napi_add()
1908 netif_napi_add(bnad->netdev, &rx_ctrl->napi, in bnad_napi_add()
1920 netif_napi_del(&bnad->rx_info[rx_id].rx_ctrl[i].napi); in bnad_napi_delete()
2110 rx_info->rx_ctrl[i].bnad = bnad; in bnad_rx_ctrl_init()
2187 if (rx_info->rx_ctrl[0].ccb->intr_type == BNA_INTR_T_MSIX) in bnad_destroy_rx()
2406 if (bnad->rx_info[i].rx_ctrl[j].ccb) { in bnad_netdev_qstats_fill()
2408 rx_ctrl[j].ccb->rcb[0]->rxq->rx_packets; in bnad_netdev_qstats_fill()
2410 rx_ctrl[j].ccb->rcb[0]->rxq->rx_bytes; in bnad_netdev_qstats_fill()
2411 if (bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_netdev_qstats_fill()
2412 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_netdev_qstats_fill()
2415 bnad->rx_info[i].rx_ctrl[j]. in bnad_netdev_qstats_fill()
2418 bnad->rx_info[i].rx_ctrl[j]. in bnad_netdev_qstats_fill()
3392 struct bnad_rx_ctrl *rx_ctrl; in bnad_netpoll() local
3412 rx_ctrl = &rx_info->rx_ctrl[j]; in bnad_netpoll()
3413 if (rx_ctrl->ccb) in bnad_netpoll()
3415 rx_ctrl->ccb); in bnad_netpoll()