Lines Matching refs:dev_ops

575 	eth_dev->dev_ops = NULL;  in rte_eth_dev_release_port()
863 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_release, -ENOTSUP); in eth_dev_rx_queue_config()
868 (*dev->dev_ops->rx_queue_release)(rxq[i]); in eth_dev_rx_queue_config()
883 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_release, -ENOTSUP); in eth_dev_rx_queue_config()
888 (*dev->dev_ops->rx_queue_release)(rxq[i]); in eth_dev_rx_queue_config()
965 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_start, -ENOTSUP); in rte_eth_dev_rx_queue_start()
981 return eth_err(port_id, dev->dev_ops->rx_queue_start(dev, in rte_eth_dev_rx_queue_start()
1000 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_stop, -ENOTSUP); in rte_eth_dev_rx_queue_stop()
1016 return eth_err(port_id, dev->dev_ops->rx_queue_stop(dev, rx_queue_id)); in rte_eth_dev_rx_queue_stop()
1040 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_queue_start, -ENOTSUP); in rte_eth_dev_tx_queue_start()
1056 return eth_err(port_id, dev->dev_ops->tx_queue_start(dev, tx_queue_id)); in rte_eth_dev_tx_queue_start()
1073 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_queue_stop, -ENOTSUP); in rte_eth_dev_tx_queue_stop()
1089 return eth_err(port_id, dev->dev_ops->tx_queue_stop(dev, tx_queue_id)); in rte_eth_dev_tx_queue_stop()
1109 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_queue_release, -ENOTSUP); in eth_dev_tx_queue_config()
1114 (*dev->dev_ops->tx_queue_release)(txq[i]); in eth_dev_tx_queue_config()
1129 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_queue_release, -ENOTSUP); in eth_dev_tx_queue_config()
1134 (*dev->dev_ops->tx_queue_release)(txq[i]); in eth_dev_tx_queue_config()
1302 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_configure, -ENOTSUP); in rte_eth_dev_configure()
1508 diag = (*dev->dev_ops->dev_configure)(dev); in rte_eth_dev_configure()
1583 if (*dev->dev_ops->mac_addr_set != NULL) in eth_dev_mac_restore()
1584 (*dev->dev_ops->mac_addr_set)(dev, addr); in eth_dev_mac_restore()
1585 else if (*dev->dev_ops->mac_addr_add != NULL) in eth_dev_mac_restore()
1586 (*dev->dev_ops->mac_addr_add)(dev, addr, 0, pool); in eth_dev_mac_restore()
1588 if (*dev->dev_ops->mac_addr_add != NULL) { in eth_dev_mac_restore()
1601 (*dev->dev_ops->mac_addr_add)(dev, in eth_dev_mac_restore()
1625 *dev->dev_ops->promiscuous_enable != NULL) { in eth_dev_config_restore()
1627 (*dev->dev_ops->promiscuous_enable)(dev)); in eth_dev_config_restore()
1635 *dev->dev_ops->promiscuous_disable != NULL) { in eth_dev_config_restore()
1637 (*dev->dev_ops->promiscuous_disable)(dev)); in eth_dev_config_restore()
1652 *dev->dev_ops->allmulticast_enable != NULL) { in eth_dev_config_restore()
1654 (*dev->dev_ops->allmulticast_enable)(dev)); in eth_dev_config_restore()
1662 *dev->dev_ops->allmulticast_disable != NULL) { in eth_dev_config_restore()
1664 (*dev->dev_ops->allmulticast_disable)(dev)); in eth_dev_config_restore()
1688 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_start, -ENOTSUP); in rte_eth_dev_start()
1705 diag = (*dev->dev_ops->dev_start)(dev); in rte_eth_dev_start()
1727 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->link_update, -ENOTSUP); in rte_eth_dev_start()
1728 (*dev->dev_ops->link_update)(dev, 0); in rte_eth_dev_start()
1744 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_stop, -ENOTSUP); in rte_eth_dev_stop()
1754 ret = (*dev->dev_ops->dev_stop)(dev); in rte_eth_dev_stop()
1769 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_set_link_up, -ENOTSUP); in rte_eth_dev_set_link_up()
1770 return eth_err(port_id, (*dev->dev_ops->dev_set_link_up)(dev)); in rte_eth_dev_set_link_up()
1782 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_set_link_down, -ENOTSUP); in rte_eth_dev_set_link_down()
1783 return eth_err(port_id, (*dev->dev_ops->dev_set_link_down)(dev)); in rte_eth_dev_set_link_down()
1796 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_close, -ENOTSUP); in rte_eth_dev_close()
1797 *lasterr = (*dev->dev_ops->dev_close)(dev); in rte_eth_dev_close()
1816 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_reset, -ENOTSUP); in rte_eth_dev_reset()
1824 ret = dev->dev_ops->dev_reset(dev); in rte_eth_dev_reset()
1842 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->is_removed, 0); in rte_eth_dev_is_removed()
1844 ret = dev->dev_ops->is_removed(dev); in rte_eth_dev_is_removed()
1944 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_setup, -ENOTSUP); in rte_eth_rx_queue_setup()
2040 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_release, in rte_eth_rx_queue_setup()
2042 (*dev->dev_ops->rx_queue_release)(rxq[rx_queue_id]); in rte_eth_rx_queue_setup()
2096 ret = (*dev->dev_ops->rx_queue_setup)(dev, rx_queue_id, nb_rx_desc, in rte_eth_rx_queue_setup()
2131 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_hairpin_queue_setup, in rte_eth_rx_hairpin_queue_setup()
2168 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_release, in rte_eth_rx_hairpin_queue_setup()
2170 (*dev->dev_ops->rx_queue_release)(rxq[rx_queue_id]); in rte_eth_rx_hairpin_queue_setup()
2173 ret = (*dev->dev_ops->rx_hairpin_queue_setup)(dev, rx_queue_id, in rte_eth_rx_hairpin_queue_setup()
2200 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_queue_setup, -ENOTSUP); in rte_eth_tx_queue_setup()
2236 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_queue_release, in rte_eth_tx_queue_setup()
2238 (*dev->dev_ops->tx_queue_release)(txq[tx_queue_id]); in rte_eth_tx_queue_setup()
2277 return eth_err(port_id, (*dev->dev_ops->tx_queue_setup)(dev, in rte_eth_tx_queue_setup()
2302 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_hairpin_queue_setup, in rte_eth_tx_hairpin_queue_setup()
2339 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_queue_release, in rte_eth_tx_hairpin_queue_setup()
2341 (*dev->dev_ops->tx_queue_release)(txq[tx_queue_id]); in rte_eth_tx_hairpin_queue_setup()
2344 ret = (*dev->dev_ops->tx_hairpin_queue_setup) in rte_eth_tx_hairpin_queue_setup()
2365 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->hairpin_bind, -ENOTSUP); in rte_eth_hairpin_bind()
2366 ret = (*dev->dev_ops->hairpin_bind)(dev, rx_port); in rte_eth_hairpin_bind()
2388 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->hairpin_unbind, -ENOTSUP); in rte_eth_hairpin_unbind()
2389 ret = (*dev->dev_ops->hairpin_unbind)(dev, rx_port); in rte_eth_hairpin_unbind()
2410 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->hairpin_get_peer_ports, in rte_eth_hairpin_get_peer_ports()
2413 ret = (*dev->dev_ops->hairpin_get_peer_ports)(dev, peer_ports, in rte_eth_hairpin_get_peer_ports()
2473 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_done_cleanup, -ENOTSUP); in rte_eth_tx_done_cleanup()
2476 ret = (*dev->dev_ops->tx_done_cleanup)(dev->data->tx_queues[queue_id], in rte_eth_tx_done_cleanup()
2493 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->promiscuous_enable, -ENOTSUP); in rte_eth_promiscuous_enable()
2495 diag = (*dev->dev_ops->promiscuous_enable)(dev); in rte_eth_promiscuous_enable()
2513 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->promiscuous_disable, -ENOTSUP); in rte_eth_promiscuous_disable()
2516 diag = (*dev->dev_ops->promiscuous_disable)(dev); in rte_eth_promiscuous_disable()
2546 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->allmulticast_enable, -ENOTSUP); in rte_eth_allmulticast_enable()
2547 diag = (*dev->dev_ops->allmulticast_enable)(dev); in rte_eth_allmulticast_enable()
2565 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->allmulticast_disable, -ENOTSUP); in rte_eth_allmulticast_disable()
2567 diag = (*dev->dev_ops->allmulticast_disable)(dev); in rte_eth_allmulticast_disable()
2597 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->link_update, -ENOTSUP); in rte_eth_link_get()
2598 (*dev->dev_ops->link_update)(dev, 1); in rte_eth_link_get()
2617 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->link_update, -ENOTSUP); in rte_eth_link_get_nowait()
2618 (*dev->dev_ops->link_update)(dev, 0); in rte_eth_link_get_nowait()
2672 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->stats_get, -ENOTSUP); in rte_eth_stats_get()
2674 return eth_err(port_id, (*dev->dev_ops->stats_get)(dev, stats)); in rte_eth_stats_get()
2686 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->stats_reset, -ENOTSUP); in rte_eth_stats_reset()
2687 ret = (*dev->dev_ops->stats_reset)(dev); in rte_eth_stats_reset()
2722 if (dev->dev_ops->xstats_get_names_by_id != NULL) { in eth_dev_get_xstats_count()
2723 count = (*dev->dev_ops->xstats_get_names_by_id)(dev, NULL, in eth_dev_get_xstats_count()
2728 if (dev->dev_ops->xstats_get_names != NULL) { in eth_dev_get_xstats_count()
2729 count = (*dev->dev_ops->xstats_get_names)(dev, NULL, 0); in eth_dev_get_xstats_count()
2863 if (ids && dev->dev_ops->xstats_get_names_by_id != NULL && size > 0) { in rte_eth_xstats_get_names_by_id()
2880 return (*dev->dev_ops->xstats_get_names_by_id)(dev, in rte_eth_xstats_get_names_by_id()
2957 if (dev->dev_ops->xstats_get_names != NULL) { in rte_eth_xstats_get_names()
2961 cnt_driver_entries = (*dev->dev_ops->xstats_get_names)( in rte_eth_xstats_get_names()
3062 if (ids && dev->dev_ops->xstats_get_by_id != NULL && size) { in rte_eth_xstats_get_by_id()
3080 return (*dev->dev_ops->xstats_get_by_id)(dev, ids_copy, in rte_eth_xstats_get_by_id()
3144 if (dev->dev_ops->xstats_get != NULL) { in rte_eth_xstats_get()
3148 xcount = (*dev->dev_ops->xstats_get)(dev, in rte_eth_xstats_get()
3184 if (dev->dev_ops->xstats_reset != NULL) in rte_eth_xstats_reset()
3185 return eth_err(port_id, (*dev->dev_ops->xstats_reset)(dev)); in rte_eth_xstats_reset()
3201 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->queue_stats_mapping_set, -ENOTSUP); in eth_dev_set_queue_stats_mapping()
3212 return (*dev->dev_ops->queue_stats_mapping_set) in eth_dev_set_queue_stats_mapping()
3244 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->fw_version_get, -ENOTSUP); in rte_eth_dev_fw_version_get()
3245 return eth_err(port_id, (*dev->dev_ops->fw_version_get)(dev, in rte_eth_dev_fw_version_get()
3278 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_infos_get, -ENOTSUP); in rte_eth_dev_info_get()
3279 diag = (*dev->dev_ops->dev_infos_get)(dev, dev_info); in rte_eth_dev_info_get()
3311 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_supported_ptypes_get, 0); in rte_eth_dev_get_supported_ptypes()
3312 all_ptypes = (*dev->dev_ops->dev_supported_ptypes_get)(dev); in rte_eth_dev_get_supported_ptypes()
3352 if (*dev->dev_ops->dev_supported_ptypes_get == NULL || in rte_eth_dev_set_ptypes()
3353 *dev->dev_ops->dev_ptypes_set == NULL) { in rte_eth_dev_set_ptypes()
3359 ret = (*dev->dev_ops->dev_ptypes_set)(dev, in rte_eth_dev_set_ptypes()
3379 all_ptypes = (*dev->dev_ops->dev_supported_ptypes_get)(dev); in rte_eth_dev_set_ptypes()
3404 return (*dev->dev_ops->dev_ptypes_set)(dev, ptype_mask); in rte_eth_dev_set_ptypes()
3446 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->mtu_set, -ENOTSUP); in rte_eth_dev_set_mtu()
3454 if (*dev->dev_ops->dev_infos_get != NULL) { in rte_eth_dev_set_mtu()
3463 ret = (*dev->dev_ops->mtu_set)(dev, mtu); in rte_eth_dev_set_mtu()
3490 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->vlan_filter_set, -ENOTSUP); in rte_eth_dev_vlan_filter()
3492 ret = (*dev->dev_ops->vlan_filter_set)(dev, vlan_id, on); in rte_eth_dev_vlan_filter()
3524 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->vlan_strip_queue_set, -ENOTSUP); in rte_eth_dev_set_vlan_strip_on_queue()
3525 (*dev->dev_ops->vlan_strip_queue_set)(dev, rx_queue_id, on); in rte_eth_dev_set_vlan_strip_on_queue()
3539 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->vlan_tpid_set, -ENOTSUP); in rte_eth_dev_set_vlan_ether_type()
3541 return eth_err(port_id, (*dev->dev_ops->vlan_tpid_set)(dev, vlan_type, in rte_eth_dev_set_vlan_ether_type()
3625 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->vlan_offload_set, -ENOTSUP); in rte_eth_dev_set_vlan_offload()
3627 ret = (*dev->dev_ops->vlan_offload_set)(dev, mask); in rte_eth_dev_set_vlan_offload()
3669 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->vlan_pvid_set, -ENOTSUP); in rte_eth_dev_set_vlan_pvid()
3671 return eth_err(port_id, (*dev->dev_ops->vlan_pvid_set)(dev, pvid, on)); in rte_eth_dev_set_vlan_pvid()
3681 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->flow_ctrl_get, -ENOTSUP); in rte_eth_dev_flow_ctrl_get()
3683 return eth_err(port_id, (*dev->dev_ops->flow_ctrl_get)(dev, fc_conf)); in rte_eth_dev_flow_ctrl_get()
3698 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->flow_ctrl_set, -ENOTSUP); in rte_eth_dev_flow_ctrl_set()
3699 return eth_err(port_id, (*dev->dev_ops->flow_ctrl_set)(dev, fc_conf)); in rte_eth_dev_flow_ctrl_set()
3716 if (*dev->dev_ops->priority_flow_ctrl_set) in rte_eth_dev_priority_flow_ctrl_set()
3717 return eth_err(port_id, (*dev->dev_ops->priority_flow_ctrl_set) in rte_eth_dev_priority_flow_ctrl_set()
3793 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->reta_update, -ENOTSUP); in rte_eth_dev_rss_reta_update()
3794 return eth_err(port_id, (*dev->dev_ops->reta_update)(dev, reta_conf, in rte_eth_dev_rss_reta_update()
3814 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->reta_query, -ENOTSUP); in rte_eth_dev_rss_reta_query()
3815 return eth_err(port_id, (*dev->dev_ops->reta_query)(dev, reta_conf, in rte_eth_dev_rss_reta_query()
3844 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rss_hash_update, -ENOTSUP); in rte_eth_dev_rss_hash_update()
3845 return eth_err(port_id, (*dev->dev_ops->rss_hash_update)(dev, in rte_eth_dev_rss_hash_update()
3857 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rss_hash_conf_get, -ENOTSUP); in rte_eth_dev_rss_hash_conf_get()
3858 return eth_err(port_id, (*dev->dev_ops->rss_hash_conf_get)(dev, in rte_eth_dev_rss_hash_conf_get()
3880 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->udp_tunnel_port_add, -ENOTSUP); in rte_eth_dev_udp_tunnel_port_add()
3881 return eth_err(port_id, (*dev->dev_ops->udp_tunnel_port_add)(dev, in rte_eth_dev_udp_tunnel_port_add()
3904 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->udp_tunnel_port_del, -ENOTSUP); in rte_eth_dev_udp_tunnel_port_delete()
3905 return eth_err(port_id, (*dev->dev_ops->udp_tunnel_port_del)(dev, in rte_eth_dev_udp_tunnel_port_delete()
3916 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_led_on, -ENOTSUP); in rte_eth_led_on()
3917 return eth_err(port_id, (*dev->dev_ops->dev_led_on)(dev)); in rte_eth_led_on()
3927 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_led_off, -ENOTSUP); in rte_eth_led_off()
3928 return eth_err(port_id, (*dev->dev_ops->dev_led_off)(dev)); in rte_eth_led_off()
3944 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->fec_get_capability, -ENOTSUP); in rte_eth_fec_get_capability()
3945 ret = (*dev->dev_ops->fec_get_capability)(dev, speed_fec_capa, num); in rte_eth_fec_get_capability()
3960 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->fec_get, -ENOTSUP); in rte_eth_fec_get()
3961 return eth_err(port_id, (*dev->dev_ops->fec_get)(dev, fec_capa)); in rte_eth_fec_get()
3971 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->fec_set, -ENOTSUP); in rte_eth_fec_set()
3972 return eth_err(port_id, (*dev->dev_ops->fec_set)(dev, fec_capa)); in rte_eth_fec_set()
4012 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->mac_addr_add, -ENOTSUP); in rte_eth_dev_mac_addr_add()
4041 ret = (*dev->dev_ops->mac_addr_add)(dev, addr, index, pool); in rte_eth_dev_mac_addr_add()
4062 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->mac_addr_remove, -ENOTSUP); in rte_eth_dev_mac_addr_remove()
4074 (*dev->dev_ops->mac_addr_remove)(dev, index); in rte_eth_dev_mac_addr_remove()
4097 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->mac_addr_set, -ENOTSUP); in rte_eth_dev_default_mac_addr_set()
4099 ret = (*dev->dev_ops->mac_addr_set)(dev, addr); in rte_eth_dev_default_mac_addr_set()
4176 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->uc_hash_table_set, -ENOTSUP); in rte_eth_dev_uc_hash_table_set()
4177 ret = (*dev->dev_ops->uc_hash_table_set)(dev, addr, on); in rte_eth_dev_uc_hash_table_set()
4200 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->uc_all_hash_table_set, -ENOTSUP); in rte_eth_dev_uc_all_hash_table_set()
4201 return eth_err(port_id, (*dev->dev_ops->uc_all_hash_table_set)(dev, in rte_eth_dev_uc_all_hash_table_set()
4236 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->set_queue_rate_limit, -ENOTSUP); in rte_eth_set_queue_rate_limit()
4237 return eth_err(port_id, (*dev->dev_ops->set_queue_rate_limit)(dev, in rte_eth_set_queue_rate_limit()
4276 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->mirror_rule_set, -ENOTSUP); in rte_eth_mirror_rule_set()
4278 return eth_err(port_id, (*dev->dev_ops->mirror_rule_set)(dev, in rte_eth_mirror_rule_set()
4290 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->mirror_rule_reset, -ENOTSUP); in rte_eth_mirror_rule_reset()
4292 return eth_err(port_id, (*dev->dev_ops->mirror_rule_reset)(dev, in rte_eth_mirror_rule_reset()
4740 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_intr_enable, -ENOTSUP); in rte_eth_dev_rx_intr_enable()
4741 return eth_err(port_id, (*dev->dev_ops->rx_queue_intr_enable)(dev, in rte_eth_dev_rx_intr_enable()
4760 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_intr_disable, -ENOTSUP); in rte_eth_dev_rx_intr_disable()
4761 return eth_err(port_id, (*dev->dev_ops->rx_queue_intr_disable)(dev, in rte_eth_dev_rx_intr_disable()
5022 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rxq_info_get, -ENOTSUP); in rte_eth_rx_queue_info_get()
5025 dev->dev_ops->rxq_info_get(dev, queue_id, qinfo); in rte_eth_rx_queue_info_get()
5062 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->txq_info_get, -ENOTSUP); in rte_eth_tx_queue_info_get()
5065 dev->dev_ops->txq_info_get(dev, queue_id, qinfo); in rte_eth_tx_queue_info_get()
5088 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_burst_mode_get, -ENOTSUP); in rte_eth_rx_burst_mode_get()
5091 dev->dev_ops->rx_burst_mode_get(dev, queue_id, mode)); in rte_eth_rx_burst_mode_get()
5112 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->tx_burst_mode_get, -ENOTSUP); in rte_eth_tx_burst_mode_get()
5115 dev->dev_ops->tx_burst_mode_get(dev, queue_id, mode)); in rte_eth_tx_burst_mode_get()
5128 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->set_mc_addr_list, -ENOTSUP); in rte_eth_dev_set_mc_addr_list()
5129 return eth_err(port_id, dev->dev_ops->set_mc_addr_list(dev, in rte_eth_dev_set_mc_addr_list()
5141 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->timesync_enable, -ENOTSUP); in rte_eth_timesync_enable()
5142 return eth_err(port_id, (*dev->dev_ops->timesync_enable)(dev)); in rte_eth_timesync_enable()
5153 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->timesync_disable, -ENOTSUP); in rte_eth_timesync_disable()
5154 return eth_err(port_id, (*dev->dev_ops->timesync_disable)(dev)); in rte_eth_timesync_disable()
5166 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->timesync_read_rx_timestamp, -ENOTSUP); in rte_eth_timesync_read_rx_timestamp()
5167 return eth_err(port_id, (*dev->dev_ops->timesync_read_rx_timestamp) in rte_eth_timesync_read_rx_timestamp()
5180 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->timesync_read_tx_timestamp, -ENOTSUP); in rte_eth_timesync_read_tx_timestamp()
5181 return eth_err(port_id, (*dev->dev_ops->timesync_read_tx_timestamp) in rte_eth_timesync_read_tx_timestamp()
5193 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->timesync_adjust_time, -ENOTSUP); in rte_eth_timesync_adjust_time()
5194 return eth_err(port_id, (*dev->dev_ops->timesync_adjust_time)(dev, in rte_eth_timesync_adjust_time()
5206 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->timesync_read_time, -ENOTSUP); in rte_eth_timesync_read_time()
5207 return eth_err(port_id, (*dev->dev_ops->timesync_read_time)(dev, in rte_eth_timesync_read_time()
5219 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->timesync_write_time, -ENOTSUP); in rte_eth_timesync_write_time()
5220 return eth_err(port_id, (*dev->dev_ops->timesync_write_time)(dev, in rte_eth_timesync_write_time()
5232 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->read_clock, -ENOTSUP); in rte_eth_read_clock()
5233 return eth_err(port_id, (*dev->dev_ops->read_clock)(dev, clock)); in rte_eth_read_clock()
5244 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->get_reg, -ENOTSUP); in rte_eth_dev_get_reg_info()
5245 return eth_err(port_id, (*dev->dev_ops->get_reg)(dev, info)); in rte_eth_dev_get_reg_info()
5256 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->get_eeprom_length, -ENOTSUP); in rte_eth_dev_get_eeprom_length()
5257 return eth_err(port_id, (*dev->dev_ops->get_eeprom_length)(dev)); in rte_eth_dev_get_eeprom_length()
5268 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->get_eeprom, -ENOTSUP); in rte_eth_dev_get_eeprom()
5269 return eth_err(port_id, (*dev->dev_ops->get_eeprom)(dev, info)); in rte_eth_dev_get_eeprom()
5280 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->set_eeprom, -ENOTSUP); in rte_eth_dev_set_eeprom()
5281 return eth_err(port_id, (*dev->dev_ops->set_eeprom)(dev, info)); in rte_eth_dev_set_eeprom()
5293 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->get_module_info, -ENOTSUP); in rte_eth_dev_get_module_info()
5294 return (*dev->dev_ops->get_module_info)(dev, modinfo); in rte_eth_dev_get_module_info()
5306 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->get_module_eeprom, -ENOTSUP); in rte_eth_dev_get_module_eeprom()
5307 return (*dev->dev_ops->get_module_eeprom)(dev, info); in rte_eth_dev_get_module_eeprom()
5321 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->get_dcb_info, -ENOTSUP); in rte_eth_dev_get_dcb_info()
5322 return eth_err(port_id, (*dev->dev_ops->get_dcb_info)(dev, dcb_info)); in rte_eth_dev_get_dcb_info()
5370 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->hairpin_cap_get, -ENOTSUP); in rte_eth_dev_hairpin_capability_get()
5372 return eth_err(port_id, (*dev->dev_ops->hairpin_cap_get)(dev, cap)); in rte_eth_dev_hairpin_capability_get()
5405 if (*dev->dev_ops->pool_ops_supported == NULL) in rte_eth_dev_pool_ops_supported()
5408 return (*dev->dev_ops->pool_ops_supported)(dev, pool); in rte_eth_dev_pool_ops_supported()
5726 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->hairpin_queue_peer_update, in rte_eth_hairpin_queue_peer_update()
5729 return (*dev->dev_ops->hairpin_queue_peer_update)(dev, peer_queue, in rte_eth_hairpin_queue_peer_update()
5745 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->hairpin_queue_peer_bind, in rte_eth_hairpin_queue_peer_bind()
5748 return (*dev->dev_ops->hairpin_queue_peer_bind)(dev, cur_queue, in rte_eth_hairpin_queue_peer_bind()
5760 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->hairpin_queue_peer_unbind, in rte_eth_hairpin_queue_peer_unbind()
5763 return (*dev->dev_ops->hairpin_queue_peer_unbind)(dev, cur_queue, in rte_eth_hairpin_queue_peer_unbind()