|
Linux Kernel
3.7.1
|
#include <net_driver.h>
Data Fields | |
| struct efx_nic * | efx |
| int | channel |
| struct efx_channel_type * | type |
| bool | enabled |
| int | irq |
| unsigned int | irq_moderation |
| struct net_device * | napi_dev |
| struct napi_struct | napi_str |
| bool | work_pending |
| struct efx_special_buffer | eventq |
| unsigned int | eventq_mask |
| unsigned int | eventq_read_ptr |
| int | event_test_cpu |
| unsigned int | irq_count |
| unsigned int | irq_mod_score |
| int | rx_alloc_level |
| int | rx_alloc_push_pages |
| unsigned | n_rx_tobe_disc |
| unsigned | n_rx_ip_hdr_chksum_err |
| unsigned | n_rx_tcp_udp_chksum_err |
| unsigned | n_rx_mcast_mismatch |
| unsigned | n_rx_frm_trunc |
| unsigned | n_rx_overlength |
| unsigned | n_skbuff_leaks |
| struct efx_rx_buffer * | rx_pkt |
| struct efx_rx_queue | rx_queue |
| struct efx_tx_queue | tx_queue [EFX_TXQ_TYPES] |
struct efx_channel - An Efx channel
A channel comprises an event queue, at least one TX queue, at least one RX queue, and an associated tasklet for processing the event queue.
: Associated Efx NIC : Channel instance number : Channel type definition : Channel enabled indicator : IRQ number (MSI and MSI-X only) : IRQ moderation value (in hardware ticks) : Net device used with NAPI : NAPI control structure : Is work pending via NAPI? : Event queue buffer : Event queue pointer mask : Event queue read pointer : Last CPU to handle interrupt or test event for this channel : Number of IRQs since last adaptive moderation decision : IRQ moderation score : Watermark based heuristic counter for pushing descriptors and diagnostic counters : RX allocation method currently in use for pushing descriptors : Count of RX_TOBE_DISC errors : Count of RX IP header checksum errors : Count of RX TCP and UDP checksum errors : Count of unmatched multicast frames : Count of RX_FRM_TRUNC errors : Count of RX_OVERLENGTH errors : Count of skbuffs leaked due to RX overrun : RX queue for this channel : TX queues for this channel
Definition at line 350 of file net_driver.h.
Definition at line 352 of file net_driver.h.
Definition at line 351 of file net_driver.h.
| bool enabled |
Definition at line 354 of file net_driver.h.
| int event_test_cpu |
Definition at line 363 of file net_driver.h.
| struct efx_special_buffer eventq |
Definition at line 360 of file net_driver.h.
| unsigned int eventq_mask |
Definition at line 361 of file net_driver.h.
| unsigned int eventq_read_ptr |
Definition at line 362 of file net_driver.h.
| int irq |
Definition at line 355 of file net_driver.h.
| unsigned int irq_count |
Definition at line 365 of file net_driver.h.
| unsigned int irq_mod_score |
Definition at line 366 of file net_driver.h.
| unsigned int irq_moderation |
Definition at line 356 of file net_driver.h.
| unsigned n_rx_frm_trunc |
Definition at line 378 of file net_driver.h.
| unsigned n_rx_ip_hdr_chksum_err |
Definition at line 375 of file net_driver.h.
| unsigned n_rx_mcast_mismatch |
Definition at line 377 of file net_driver.h.
| unsigned n_rx_overlength |
Definition at line 379 of file net_driver.h.
| unsigned n_rx_tcp_udp_chksum_err |
Definition at line 376 of file net_driver.h.
| unsigned n_rx_tobe_disc |
Definition at line 374 of file net_driver.h.
| unsigned n_skbuff_leaks |
Definition at line 380 of file net_driver.h.
| struct net_device* napi_dev |
Definition at line 357 of file net_driver.h.
| struct napi_struct napi_str |
Definition at line 358 of file net_driver.h.
| int rx_alloc_level |
Definition at line 371 of file net_driver.h.
| int rx_alloc_push_pages |
Definition at line 372 of file net_driver.h.
| struct efx_rx_buffer* rx_pkt |
Definition at line 385 of file net_driver.h.
Definition at line 387 of file net_driver.h.
Definition at line 388 of file net_driver.h.
Definition at line 353 of file net_driver.h.
| bool work_pending |
Definition at line 359 of file net_driver.h.
1.8.2