| 603 | }; |
| 604 | |
| 605 | static inline void |
| 606 | nfp_net_ethdev_ops_mount(struct nfp_net_hw *hw, |
| 607 | struct rte_eth_dev *eth_dev) |
| 608 | { |
| 609 | if (hw->ver.extend == NFP_NET_CFG_VERSION_DP_NFD3) |
| 610 | eth_dev->tx_pkt_burst = nfp_net_nfd3_xmit_pkts; |
| 611 | else |
| 612 | eth_dev->tx_pkt_burst = nfp_net_nfdk_xmit_pkts; |
| 613 | |
| 614 | eth_dev->dev_ops = &nfp_net_eth_dev_ops; |
| 615 | eth_dev->rx_queue_count = nfp_net_rx_queue_count; |
| 616 | eth_dev->rx_pkt_burst = &nfp_net_recv_pkts; |
| 617 | } |
| 618 | |
| 619 | static int |
| 620 | nfp_net_init(struct rte_eth_dev *eth_dev) |
no outgoing calls
no test coverage detected