eth_dev_ops

Struct eth_dev_ops 

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

Trait Implementations§

Source§

impl Clone for eth_dev_ops

Source§

fn clone(&self) -> eth_dev_ops

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for eth_dev_ops

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for eth_dev_ops

Source§

fn default() -> eth_dev_ops

Returns the “default value” for a type. Read more
Source§

impl PartialEq for eth_dev_ops

Source§

fn eq(&self, other: &eth_dev_ops) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for eth_dev_ops

Source§

impl StructuralPartialEq for eth_dev_ops

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.