Lines Matching refs:dp_tx
185 if (sap->dp_tx->get_dev_info != NULL) in sfc_dev_infos_get()
186 sap->dp_tx->get_dev_info(dev_info); in sfc_dev_infos_get()
1287 const struct sfc_dp_tx *dp_tx; in sfc_tx_descriptor_status() local
1289 dp_tx = sfc_dp_tx_by_dp_txq(dp_txq); in sfc_tx_descriptor_status()
1291 return dp_tx->qdesc_status(dp_txq, offset); in sfc_tx_descriptor_status()
1892 const struct sfc_dp_tx *dp_tx; in sfc_eth_dev_set_ops() local
1961 dp_tx = sfc_dp_find_tx_by_name(&sfc_dp_head, tx_name); in sfc_eth_dev_set_ops()
1962 if (dp_tx == NULL) { in sfc_eth_dev_set_ops()
1967 if (!sfc_dp_match_hw_fw_caps(&dp_tx->dp, avail_caps)) { in sfc_eth_dev_set_ops()
1975 dp_tx = sfc_dp_find_tx_by_caps(&sfc_dp_head, avail_caps); in sfc_eth_dev_set_ops()
1976 if (dp_tx == NULL) { in sfc_eth_dev_set_ops()
1984 sas->dp_tx_name = sfc_strdup(dp_tx->dp.name); in sfc_eth_dev_set_ops()
1993 sa->priv.dp_tx = dp_tx; in sfc_eth_dev_set_ops()
1996 dev->tx_pkt_prepare = dp_tx->pkt_prepare; in sfc_eth_dev_set_ops()
1997 dev->tx_pkt_burst = dp_tx->pkt_burst; in sfc_eth_dev_set_ops()
2034 sa->priv.dp_tx = NULL; in sfc_eth_dev_clear_ops()
2055 const struct sfc_dp_tx *dp_tx; in sfc_eth_dev_secondary_init() local
2085 dp_tx = sfc_dp_find_tx_by_name(&sfc_dp_head, sas->dp_tx_name); in sfc_eth_dev_secondary_init()
2086 if (dp_tx == NULL) { in sfc_eth_dev_secondary_init()
2092 if (~dp_tx->features & SFC_DP_TX_FEAT_MULTI_PROCESS) { in sfc_eth_dev_secondary_init()
2101 sap->dp_tx = dp_tx; in sfc_eth_dev_secondary_init()
2105 dev->tx_pkt_prepare = dp_tx->pkt_prepare; in sfc_eth_dev_secondary_init()
2106 dev->tx_pkt_burst = dp_tx->pkt_burst; in sfc_eth_dev_secondary_init()