pub struct InfiniBandCounters {Show 14 fields
pub port_xmit_pkts: u64,
pub port_rcv_pkts: u64,
pub symbol_error_counter: u32,
pub link_error_recovery_counter: u32,
pub link_downed_counter: u32,
pub port_rcv_errors: u32,
pub port_rcv_remote_physical_errors: u32,
pub port_rcv_switch_relay_errors: u32,
pub port_xmit_discards: u32,
pub port_xmit_constraint_errors: u32,
pub port_rcv_constraint_errors: u32,
pub local_link_integrity_errors: u32,
pub excessive_buffer_overrun_errors: u32,
pub vl15_dropped: u32,
}Expand description
InfiniBand Counters - Format (0,9)
InfiniBand port statistics
§XDR Definition (sFlow InfiniBand)
/* IB Counters */
/* opaque = counter_data; enterprise = 0; format = 9 */
struct ib_counters {
unsigned hyper PortXmitPkts; /* Total packets transmitted on all VLs */
unsigned hyper PortRcvPkts; /* Total packets (may include packets containing errors */
unsigned int SymbolErrorCounter;
unsigned int LinkErrorRecoveryCounter;
unsigned int LinkDownedCounter;
unsigned int PortRcvErrors;
unsigned int PortRcvRemotePhysicalErrors;
unsigned int PortRcvSwitchRelayErrors;
unsigned int PortXmitDiscards;
unsigned int PortXmitConstraintErrors;
unsigned int PortRcvConstraintErrors;
unsigned int LocalLinkIntegrityErrors;
unsigned int ExcessiveBufferOverrunErrors;
unsigned int VL15Dropped;
}Fields§
§port_xmit_pkts: u64Total packets transmitted on all virtual lanes
port_rcv_pkts: u64Total packets received (may include packets containing errors)
symbol_error_counter: u32Symbol error counter
link_error_recovery_counter: u32Link error recovery counter
link_downed_counter: u32Link downed counter
port_rcv_errors: u32Port receive errors
port_rcv_remote_physical_errors: u32Port receive remote physical errors
port_rcv_switch_relay_errors: u32Port receive switch relay errors
port_xmit_discards: u32Port transmit discards
port_xmit_constraint_errors: u32Port transmit constraint errors
port_rcv_constraint_errors: u32Port receive constraint errors
local_link_integrity_errors: u32Local link integrity errors
excessive_buffer_overrun_errors: u32Excessive buffer overrun errors
vl15_dropped: u32VL15 dropped packets
Trait Implementations§
Source§impl Clone for InfiniBandCounters
impl Clone for InfiniBandCounters
Source§fn clone(&self) -> InfiniBandCounters
fn clone(&self) -> InfiniBandCounters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InfiniBandCounters
impl Debug for InfiniBandCounters
Source§impl PartialEq for InfiniBandCounters
impl PartialEq for InfiniBandCounters
impl Eq for InfiniBandCounters
impl StructuralPartialEq for InfiniBandCounters
Auto Trait Implementations§
impl Freeze for InfiniBandCounters
impl RefUnwindSafe for InfiniBandCounters
impl Send for InfiniBandCounters
impl Sync for InfiniBandCounters
impl Unpin for InfiniBandCounters
impl UnwindSafe for InfiniBandCounters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more