Searched refs:fpo (Results 1 – 3 of 3) sorted by relevance
248 eth_dev_fp_ops_reset(struct rte_eth_fp_ops *fpo) in eth_dev_fp_ops_reset() argument251 uintptr_t port_id = fpo - rte_eth_fp_ops; in eth_dev_fp_ops_reset()255 *fpo = (struct rte_eth_fp_ops) { in eth_dev_fp_ops_reset()270 eth_dev_fp_ops_setup(struct rte_eth_fp_ops *fpo, in eth_dev_fp_ops_setup() argument273 fpo->rx_pkt_burst = dev->rx_pkt_burst; in eth_dev_fp_ops_setup()274 fpo->tx_pkt_burst = dev->tx_pkt_burst; in eth_dev_fp_ops_setup()275 fpo->tx_pkt_prepare = dev->tx_pkt_prepare; in eth_dev_fp_ops_setup()276 fpo->rx_queue_count = dev->rx_queue_count; in eth_dev_fp_ops_setup()277 fpo->rx_descriptor_status = dev->rx_descriptor_status; in eth_dev_fp_ops_setup()280 fpo->rxq.data = dev->data->rx_queues; in eth_dev_fp_ops_setup()[all …]
58 void eth_dev_fp_ops_reset(struct rte_eth_fp_ops *fpo);61 void eth_dev_fp_ops_setup(struct rte_eth_fp_ops *fpo,
4402 struct rte_eth_fp_ops *fpo = rte_eth_fp_ops; in hns3_eth_dev_fp_ops_config() local4405 fpo[port_id].rx_pkt_burst = dev->rx_pkt_burst; in hns3_eth_dev_fp_ops_config()4406 fpo[port_id].tx_pkt_burst = dev->tx_pkt_burst; in hns3_eth_dev_fp_ops_config()4407 fpo[port_id].tx_pkt_prepare = dev->tx_pkt_prepare; in hns3_eth_dev_fp_ops_config()4408 fpo[port_id].rx_descriptor_status = dev->rx_descriptor_status; in hns3_eth_dev_fp_ops_config()4409 fpo[port_id].tx_descriptor_status = dev->tx_descriptor_status; in hns3_eth_dev_fp_ops_config()