[][src]Struct capsule_ffi::eth_dev_ops

#[repr(C)]pub struct eth_dev_ops {
    pub dev_configure: eth_dev_configure_t,
    pub dev_start: eth_dev_start_t,
    pub dev_stop: eth_dev_stop_t,
    pub dev_set_link_up: eth_dev_set_link_up_t,
    pub dev_set_link_down: eth_dev_set_link_down_t,
    pub dev_close: eth_dev_close_t,
    pub dev_reset: eth_dev_reset_t,
    pub link_update: eth_link_update_t,
    pub is_removed: eth_is_removed_t,
    pub promiscuous_enable: eth_promiscuous_enable_t,
    pub promiscuous_disable: eth_promiscuous_disable_t,
    pub allmulticast_enable: eth_allmulticast_enable_t,
    pub allmulticast_disable: eth_allmulticast_disable_t,
    pub mac_addr_remove: eth_mac_addr_remove_t,
    pub mac_addr_add: eth_mac_addr_add_t,
    pub mac_addr_set: eth_mac_addr_set_t,
    pub set_mc_addr_list: eth_set_mc_addr_list_t,
    pub mtu_set: mtu_set_t,
    pub stats_get: eth_stats_get_t,
    pub stats_reset: eth_stats_reset_t,
    pub xstats_get: eth_xstats_get_t,
    pub xstats_reset: eth_xstats_reset_t,
    pub xstats_get_names: eth_xstats_get_names_t,
    pub queue_stats_mapping_set: eth_queue_stats_mapping_set_t,
    pub dev_infos_get: eth_dev_infos_get_t,
    pub rxq_info_get: eth_rxq_info_get_t,
    pub txq_info_get: eth_txq_info_get_t,
    pub rx_burst_mode_get: eth_burst_mode_get_t,
    pub tx_burst_mode_get: eth_burst_mode_get_t,
    pub fw_version_get: eth_fw_version_get_t,
    pub dev_supported_ptypes_get: eth_dev_supported_ptypes_get_t,
    pub dev_ptypes_set: eth_dev_ptypes_set_t,
    pub vlan_filter_set: vlan_filter_set_t,
    pub vlan_tpid_set: vlan_tpid_set_t,
    pub vlan_strip_queue_set: vlan_strip_queue_set_t,
    pub vlan_offload_set: vlan_offload_set_t,
    pub vlan_pvid_set: vlan_pvid_set_t,
    pub rx_queue_start: eth_queue_start_t,
    pub rx_queue_stop: eth_queue_stop_t,
    pub tx_queue_start: eth_queue_start_t,
    pub tx_queue_stop: eth_queue_stop_t,
    pub rx_queue_setup: eth_rx_queue_setup_t,
    pub rx_queue_release: eth_queue_release_t,
    pub rx_queue_count: eth_rx_queue_count_t,
    pub rx_descriptor_done: eth_rx_descriptor_done_t,
    pub rx_descriptor_status: eth_rx_descriptor_status_t,
    pub tx_descriptor_status: eth_tx_descriptor_status_t,
    pub rx_queue_intr_enable: eth_rx_enable_intr_t,
    pub rx_queue_intr_disable: eth_rx_disable_intr_t,
    pub tx_queue_setup: eth_tx_queue_setup_t,
    pub tx_queue_release: eth_queue_release_t,
    pub tx_done_cleanup: eth_tx_done_cleanup_t,
    pub dev_led_on: eth_dev_led_on_t,
    pub dev_led_off: eth_dev_led_off_t,
    pub flow_ctrl_get: flow_ctrl_get_t,
    pub flow_ctrl_set: flow_ctrl_set_t,
    pub priority_flow_ctrl_set: priority_flow_ctrl_set_t,
    pub uc_hash_table_set: eth_uc_hash_table_set_t,
    pub uc_all_hash_table_set: eth_uc_all_hash_table_set_t,
    pub mirror_rule_set: eth_mirror_rule_set_t,
    pub mirror_rule_reset: eth_mirror_rule_reset_t,
    pub udp_tunnel_port_add: eth_udp_tunnel_port_add_t,
    pub udp_tunnel_port_del: eth_udp_tunnel_port_del_t,
    pub l2_tunnel_eth_type_conf: eth_l2_tunnel_eth_type_conf_t,
    pub l2_tunnel_offload_set: eth_l2_tunnel_offload_set_t,
    pub set_queue_rate_limit: eth_set_queue_rate_limit_t,
    pub rss_hash_update: rss_hash_update_t,
    pub rss_hash_conf_get: rss_hash_conf_get_t,
    pub reta_update: reta_update_t,
    pub reta_query: reta_query_t,
    pub get_reg: eth_get_reg_t,
    pub get_eeprom_length: eth_get_eeprom_length_t,
    pub get_eeprom: eth_get_eeprom_t,
    pub set_eeprom: eth_set_eeprom_t,
    pub get_module_info: eth_get_module_info_t,
    pub get_module_eeprom: eth_get_module_eeprom_t,
    pub filter_ctrl: eth_filter_ctrl_t,
    pub get_dcb_info: eth_get_dcb_info,
    pub timesync_enable: eth_timesync_enable_t,
    pub timesync_disable: eth_timesync_disable_t,
    pub timesync_read_rx_timestamp: eth_timesync_read_rx_timestamp_t,
    pub timesync_read_tx_timestamp: eth_timesync_read_tx_timestamp_t,
    pub timesync_adjust_time: eth_timesync_adjust_time,
    pub timesync_read_time: eth_timesync_read_time,
    pub timesync_write_time: eth_timesync_write_time,
    pub read_clock: eth_read_clock,
    pub xstats_get_by_id: eth_xstats_get_by_id_t,
    pub xstats_get_names_by_id: eth_xstats_get_names_by_id_t,
    pub tm_ops_get: eth_tm_ops_get_t,
    pub mtr_ops_get: eth_mtr_ops_get_t,
    pub pool_ops_supported: eth_pool_ops_supported_t,
    pub hairpin_cap_get: eth_hairpin_cap_get_t,
    pub rx_hairpin_queue_setup: eth_rx_hairpin_queue_setup_t,
    pub tx_hairpin_queue_setup: eth_tx_hairpin_queue_setup_t,
}

Fields

dev_configure: eth_dev_configure_tdev_start: eth_dev_start_tdev_stop: eth_dev_stop_tdev_set_link_up: eth_dev_set_link_up_tdev_set_link_down: eth_dev_set_link_down_tdev_close: eth_dev_close_tdev_reset: eth_dev_reset_tlink_update: eth_link_update_tis_removed: eth_is_removed_tpromiscuous_enable: eth_promiscuous_enable_tpromiscuous_disable: eth_promiscuous_disable_tallmulticast_enable: eth_allmulticast_enable_tallmulticast_disable: eth_allmulticast_disable_tmac_addr_remove: eth_mac_addr_remove_tmac_addr_add: eth_mac_addr_add_tmac_addr_set: eth_mac_addr_set_tset_mc_addr_list: eth_set_mc_addr_list_tmtu_set: mtu_set_tstats_get: eth_stats_get_tstats_reset: eth_stats_reset_txstats_get: eth_xstats_get_txstats_reset: eth_xstats_reset_txstats_get_names: eth_xstats_get_names_tqueue_stats_mapping_set: eth_queue_stats_mapping_set_tdev_infos_get: eth_dev_infos_get_trxq_info_get: eth_rxq_info_get_ttxq_info_get: eth_txq_info_get_trx_burst_mode_get: eth_burst_mode_get_ttx_burst_mode_get: eth_burst_mode_get_tfw_version_get: eth_fw_version_get_tdev_supported_ptypes_get: eth_dev_supported_ptypes_get_tdev_ptypes_set: eth_dev_ptypes_set_tvlan_filter_set: vlan_filter_set_tvlan_tpid_set: vlan_tpid_set_tvlan_strip_queue_set: vlan_strip_queue_set_tvlan_offload_set: vlan_offload_set_tvlan_pvid_set: vlan_pvid_set_trx_queue_start: eth_queue_start_trx_queue_stop: eth_queue_stop_ttx_queue_start: eth_queue_start_ttx_queue_stop: eth_queue_stop_trx_queue_setup: eth_rx_queue_setup_trx_queue_release: eth_queue_release_trx_queue_count: eth_rx_queue_count_trx_descriptor_done: eth_rx_descriptor_done_trx_descriptor_status: eth_rx_descriptor_status_ttx_descriptor_status: eth_tx_descriptor_status_trx_queue_intr_enable: eth_rx_enable_intr_trx_queue_intr_disable: eth_rx_disable_intr_ttx_queue_setup: eth_tx_queue_setup_ttx_queue_release: eth_queue_release_ttx_done_cleanup: eth_tx_done_cleanup_tdev_led_on: eth_dev_led_on_tdev_led_off: eth_dev_led_off_tflow_ctrl_get: flow_ctrl_get_tflow_ctrl_set: flow_ctrl_set_tpriority_flow_ctrl_set: priority_flow_ctrl_set_tuc_hash_table_set: eth_uc_hash_table_set_tuc_all_hash_table_set: eth_uc_all_hash_table_set_tmirror_rule_set: eth_mirror_rule_set_tmirror_rule_reset: eth_mirror_rule_reset_tudp_tunnel_port_add: eth_udp_tunnel_port_add_tudp_tunnel_port_del: eth_udp_tunnel_port_del_tl2_tunnel_eth_type_conf: eth_l2_tunnel_eth_type_conf_tl2_tunnel_offload_set: eth_l2_tunnel_offload_set_tset_queue_rate_limit: eth_set_queue_rate_limit_trss_hash_update: rss_hash_update_trss_hash_conf_get: rss_hash_conf_get_treta_update: reta_update_treta_query: reta_query_tget_reg: eth_get_reg_tget_eeprom_length: eth_get_eeprom_length_tget_eeprom: eth_get_eeprom_tset_eeprom: eth_set_eeprom_tget_module_info: eth_get_module_info_tget_module_eeprom: eth_get_module_eeprom_tfilter_ctrl: eth_filter_ctrl_tget_dcb_info: eth_get_dcb_infotimesync_enable: eth_timesync_enable_ttimesync_disable: eth_timesync_disable_ttimesync_read_rx_timestamp: eth_timesync_read_rx_timestamp_ttimesync_read_tx_timestamp: eth_timesync_read_tx_timestamp_ttimesync_adjust_time: eth_timesync_adjust_timetimesync_read_time: eth_timesync_read_timetimesync_write_time: eth_timesync_write_timeread_clock: eth_read_clockxstats_get_by_id: eth_xstats_get_by_id_txstats_get_names_by_id: eth_xstats_get_names_by_id_ttm_ops_get: eth_tm_ops_get_tmtr_ops_get: eth_mtr_ops_get_tpool_ops_supported: eth_pool_ops_supported_thairpin_cap_get: eth_hairpin_cap_get_trx_hairpin_queue_setup: eth_rx_hairpin_queue_setup_ttx_hairpin_queue_setup: eth_tx_hairpin_queue_setup_t

Trait Implementations

impl Clone for eth_dev_ops[src]

impl Copy for eth_dev_ops[src]

impl Debug for eth_dev_ops[src]

impl Default for eth_dev_ops[src]

impl PartialEq<eth_dev_ops> for eth_dev_ops[src]

impl StructuralPartialEq for eth_dev_ops[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.