IgH EtherCAT Master  1.5.3
ec_device Struct Reference

EtherCAT device. More...

Data Fields

ec_master_tmaster
 EtherCAT master.
 
struct net_device * dev
 pointer to the assigned net_device
 
ec_pollfunc_t poll
 pointer to the device's poll function
 
struct module * module
 pointer to the device's owning module
 
uint8_t open
 true, if the net_device has been opened
 
uint8_t link_state
 device link state
 
struct sk_buff * tx_skb [EC_TX_RING_SIZE]
 transmit skb ring
 
unsigned int tx_ring_index
 last ring entry used to transmit
 
unsigned long jiffies_poll
 jiffies of last poll
 
u64 tx_count
 Number of frames sent. More...
 
u64 last_tx_count
 Number of frames sent of last statistics cycle. More...
 
u64 rx_count
 Number of frames received. More...
 
u64 last_rx_count
 Number of frames received of last statistics cycle. More...
 
u64 tx_bytes
 Number of bytes sent. More...
 
u64 last_tx_bytes
 Number of bytes sent of last statistics cycle. More...
 
u64 rx_bytes
 Number of bytes received. More...
 
u64 last_rx_bytes
 Number of bytes received of last statistics cycle.
 
u64 tx_errors
 Number of transmit errors. More...
 
s32 tx_frame_rates [EC_RATE_COUNT]
 Transmit rates in frames/s for different statistics cycle periods.
 
s32 rx_frame_rates [EC_RATE_COUNT]
 Receive rates in frames/s for different statistics cycle periods.
 
s32 tx_byte_rates [EC_RATE_COUNT]
 Transmit rates in byte/s for different statistics cycle periods. More...
 
s32 rx_byte_rates [EC_RATE_COUNT]
 Receive rates in byte/s for different statistics cycle periods. More...
 

Detailed Description

EtherCAT device.

An EtherCAT device is a network interface card, that is owned by an EtherCAT master to send and receive EtherCAT frames with.

Definition at line 81 of file device.h.

Field Documentation

◆ tx_count

u64 ec_device::tx_count

Number of frames sent.

Definition at line 100 of file device.h.

◆ last_tx_count

u64 ec_device::last_tx_count

Number of frames sent of last statistics cycle.

Definition at line 101 of file device.h.

◆ rx_count

u64 ec_device::rx_count

Number of frames received.

Definition at line 102 of file device.h.

◆ last_rx_count

u64 ec_device::last_rx_count

Number of frames received of last statistics cycle.

Definition at line 103 of file device.h.

◆ tx_bytes

u64 ec_device::tx_bytes

Number of bytes sent.

Definition at line 105 of file device.h.

◆ last_tx_bytes

u64 ec_device::last_tx_bytes

Number of bytes sent of last statistics cycle.

Definition at line 106 of file device.h.

◆ rx_bytes

u64 ec_device::rx_bytes

Number of bytes received.

Definition at line 107 of file device.h.

◆ tx_errors

u64 ec_device::tx_errors

Number of transmit errors.

Definition at line 110 of file device.h.

◆ tx_byte_rates

s32 ec_device::tx_byte_rates[EC_RATE_COUNT]

Transmit rates in byte/s for different statistics cycle periods.

Definition at line 117 of file device.h.

◆ rx_byte_rates

s32 ec_device::rx_byte_rates[EC_RATE_COUNT]

Receive rates in byte/s for different statistics cycle periods.

Definition at line 119 of file device.h.