Lines Matching refs:dp_tx
179 if (sap->dp_tx->get_dev_info != NULL) in sfc_dev_infos_get()
180 sap->dp_tx->get_dev_info(dev_info); in sfc_dev_infos_get()
674 bool have_dp_tx_stats = sap->dp_tx->features & SFC_DP_TX_FEAT_STATS; in sfc_stats_get()
1385 const struct sfc_dp_tx *dp_tx; in sfc_tx_descriptor_status() local
1387 dp_tx = sfc_dp_tx_by_dp_txq(dp_txq); in sfc_tx_descriptor_status()
1389 return dp_tx->qdesc_status(dp_txq, offset); in sfc_tx_descriptor_status()
2420 const struct sfc_dp_tx *dp_tx; in sfc_eth_dev_set_ops() local
2495 dp_tx = sfc_dp_find_tx_by_name(&sfc_dp_head, tx_name); in sfc_eth_dev_set_ops()
2496 if (dp_tx == NULL) { in sfc_eth_dev_set_ops()
2501 if (!sfc_dp_match_hw_fw_caps(&dp_tx->dp, avail_caps)) { in sfc_eth_dev_set_ops()
2509 dp_tx = sfc_dp_find_tx_by_caps(&sfc_dp_head, avail_caps); in sfc_eth_dev_set_ops()
2510 if (dp_tx == NULL) { in sfc_eth_dev_set_ops()
2518 sas->dp_tx_name = sfc_strdup(dp_tx->dp.name); in sfc_eth_dev_set_ops()
2527 sa->priv.dp_tx = dp_tx; in sfc_eth_dev_set_ops()
2530 dev->tx_pkt_prepare = dp_tx->pkt_prepare; in sfc_eth_dev_set_ops()
2531 dev->tx_pkt_burst = dp_tx->pkt_burst; in sfc_eth_dev_set_ops()
2567 sa->priv.dp_tx = NULL; in sfc_eth_dev_clear_ops()
2588 const struct sfc_dp_tx *dp_tx; in sfc_eth_dev_secondary_init() local
2618 dp_tx = sfc_dp_find_tx_by_name(&sfc_dp_head, sas->dp_tx_name); in sfc_eth_dev_secondary_init()
2619 if (dp_tx == NULL) { in sfc_eth_dev_secondary_init()
2625 if (~dp_tx->features & SFC_DP_TX_FEAT_MULTI_PROCESS) { in sfc_eth_dev_secondary_init()
2634 sap->dp_tx = dp_tx; in sfc_eth_dev_secondary_init()
2638 dev->tx_pkt_prepare = dp_tx->pkt_prepare; in sfc_eth_dev_secondary_init()
2639 dev->tx_pkt_burst = dp_tx->pkt_burst; in sfc_eth_dev_secondary_init()