Lines Matching refs:tx_info

827 			tcb = bnad->tx_info[i].tcb[j];
829 bnad_tx_complete(bnad, bnad->tx_info[i].tcb[j]);
954 bnad->tx_info[tx_id].tcb[tcb_id];
1001 struct bnad_tx_info *tx_info =
1005 tx_info->tcb[tcb->id] = tcb;
1011 struct bnad_tx_info *tx_info =
1014 tx_info->tcb[tcb->id] = NULL;
1040 struct bnad_tx_info *tx_info = tx->priv;
1046 tcb = tx_info->tcb[i];
1058 struct bnad_tx_info *tx_info = tx->priv;
1064 tcb = tx_info->tcb[i];
1096 struct bnad_tx_info *tx_info =
1104 tcb = tx_info->tcb[i];
1122 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work,
1128 bna_tx_cleanup_complete(tx_info->tx);
1135 struct bnad_tx_info *tx_info = tx->priv;
1140 tcb = tx_info->tcb[i];
1145 queue_delayed_work(bnad->work_q, &tx_info->tx_cleanup_work, 0);
1509 bnad_tx_msix_unregister(struct bnad *bnad, struct bnad_tx_info *tx_info,
1516 if (tx_info->tcb[i] == NULL)
1519 vector_num = tx_info->tcb[i]->intr_vector;
1520 free_irq(bnad->msix_table[vector_num].vector, tx_info->tcb[i]);
1528 bnad_tx_msix_register(struct bnad *bnad, struct bnad_tx_info *tx_info,
1536 vector_num = tx_info->tcb[i]->intr_vector;
1537 sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name,
1538 tx_id + tx_info->tcb[i]->id);
1541 tx_info->tcb[i]->name,
1542 tx_info->tcb[i]);
1551 bnad_tx_msix_unregister(bnad, tx_info, (i - 1));
1911 struct bnad_tx_info *tx_info = &bnad->tx_info[tx_id];
1915 if (!tx_info->tx)
1920 bna_tx_disable(tx_info->tx, BNA_HARD_CLEANUP, bnad_cb_tx_disabled);
1924 if (tx_info->tcb[0]->intr_type == BNA_INTR_T_MSIX)
1925 bnad_tx_msix_unregister(bnad, tx_info,
1929 bna_tx_destroy(tx_info->tx);
1932 tx_info->tx = NULL;
1933 tx_info->tx_id = 0;
1943 struct bnad_tx_info *tx_info = &bnad->tx_info[tx_id];
1959 tx_info->tx_id = tx_id;
1986 tx_info);
1992 tx_info->tx = tx;
1994 INIT_DELAYED_WORK(&tx_info->tx_cleanup_work, bnad_tx_cleanup);
1998 err = bnad_tx_msix_register(bnad, tx_info,
2012 bna_tx_destroy(tx_info->tx);
2014 tx_info->tx = NULL;
2015 tx_info->tx_id = 0;
2293 struct bnad_tx_info *tx_info;
2295 tx_info = &bnad->tx_info[0];
2296 if (!tx_info->tx)
2299 bna_tx_coalescing_timeo_set(tx_info->tx, bnad->tx_coalescing_timeo);
2408 if (bnad->tx_info[i].tcb[j]) {
2410 bnad->tx_info[i].tcb[j]->txq->tx_packets;
2412 bnad->tx_info[i].tcb[j]->txq->tx_bytes;
2940 tcb = bnad->tx_info[0].tcb[txq_id];