Linux Kernel
3.7.1
|
Data Fields | |
struct efx_nic * | efx |
unsigned int | pci_rid |
char | pci_name [13] |
unsigned int | index |
struct work_struct | req |
u64 | req_addr |
int | req_type |
unsigned | req_seqno |
unsigned | msg_seqno |
bool | busy |
struct efx_buffer | buf |
unsigned | buftbl_base |
bool | rx_filtering |
enum efx_filter_flags | rx_filter_flags |
unsigned | rx_filter_qid |
int | rx_filter_id |
enum efx_vf_tx_filter_mode | tx_filter_mode |
int | tx_filter_id |
struct vfdi_endpoint | addr |
u64 | status_addr |
struct mutex | status_lock |
u64 * | peer_page_addrs |
unsigned | peer_page_count |
u64 | evq0_addrs [EFX_MAX_VF_EVQ_SIZE *sizeof(efx_qword_t)/EFX_BUF_SIZE] |
unsigned | evq0_count |
wait_queue_head_t | flush_waitq |
struct mutex | txq_lock |
unsigned long | txq_mask [VI_MASK_LENGTH] |
unsigned | txq_count |
unsigned long | rxq_mask [VI_MASK_LENGTH] |
unsigned | rxq_count |
unsigned long | rxq_retry_mask [VI_MASK_LENGTH] |
atomic_t | rxq_retry_count |
struct work_struct | reset_work |
struct efx_vf - Back-end resource and protocol state for a PCI VF : The Efx NIC owning this VF : The PCI requester ID for this VF : The PCI name (formatted address) of this VF : Index of VF within its port and PF. : VFDI incoming request work item. Incoming USR_EV events are received by the NAPI handler, but must be handled by executing MCDI requests inside a work item. : VFDI incoming request DMA address (in VF's PCI address space). : Expected next incoming (from VF) VFDI_EV_TYPE member. : Expected next incoming (from VF) VFDI_EV_SEQ member. : Next VFDI_EV_SEQ member to reply to VF. Protected by : VFDI request queued to be processed or being processed. Receiving a VFDI request when is set is an error condition. : Incoming VFDI requests are DMA from the VF into this buffer. : Buffer table entries for this VF start at this index. : Receive filtering has been requested by the VF driver. : The flags sent in the VFDI_OP_INSERT_FILTER request. : VF relative qid for RX filter requested by VF. : Receive MAC filter ID. Only one filter per VF is supported. : Transmit MAC filtering mode. : Transmit MAC filter ID. : The MAC address and outer vlan tag of the VF. : VF DMA address of page for &struct vfdi_status updates. : Mutex protecting , , , and from simultaneous updates by the VM and consumption by efx_sriov_update_vf_addr() : Pointer to an array of guest pages for local addresses. : Number of entries in . : Array of guest pages backing evq0. : Number of entries in . : wait queue used by VFDI_OP_FINI_ALL_QUEUES handler to wait for flush completions. : Mutex for TX queue allocation. : Mask of initialized transmit queues. : Number of initialized transmit queues. : Mask of initialized receive queues. : Number of initialized receive queues. : Mask or receive queues that need to be flushed again due to flush failure. : Number of receive queues in . : Work item to schedule a VF reset.
Definition at line 86 of file siena_sriov.c.
struct vfdi_endpoint addr |
Definition at line 105 of file siena_sriov.c.
Definition at line 97 of file siena_sriov.c.
unsigned buftbl_base |
Definition at line 98 of file siena_sriov.c.
bool busy |
Definition at line 96 of file siena_sriov.c.
Definition at line 87 of file siena_sriov.c.
u64 evq0_addrs[EFX_MAX_VF_EVQ_SIZE *sizeof(efx_qword_t)/EFX_BUF_SIZE] |
Definition at line 111 of file siena_sriov.c.
unsigned evq0_count |
Definition at line 112 of file siena_sriov.c.
wait_queue_head_t flush_waitq |
Definition at line 113 of file siena_sriov.c.
unsigned int index |
Definition at line 90 of file siena_sriov.c.
unsigned msg_seqno |
Definition at line 95 of file siena_sriov.c.
char pci_name[13] |
Definition at line 89 of file siena_sriov.c.
unsigned int pci_rid |
Definition at line 88 of file siena_sriov.c.
u64* peer_page_addrs |
Definition at line 108 of file siena_sriov.c.
unsigned peer_page_count |
Definition at line 109 of file siena_sriov.c.
struct work_struct req |
Definition at line 91 of file siena_sriov.c.
u64 req_addr |
Definition at line 92 of file siena_sriov.c.
unsigned req_seqno |
Definition at line 94 of file siena_sriov.c.
int req_type |
Definition at line 93 of file siena_sriov.c.
struct work_struct reset_work |
Definition at line 121 of file siena_sriov.c.
enum efx_filter_flags rx_filter_flags |
Definition at line 100 of file siena_sriov.c.
int rx_filter_id |
Definition at line 102 of file siena_sriov.c.
unsigned rx_filter_qid |
Definition at line 101 of file siena_sriov.c.
bool rx_filtering |
Definition at line 99 of file siena_sriov.c.
unsigned rxq_count |
Definition at line 118 of file siena_sriov.c.
unsigned long rxq_mask[VI_MASK_LENGTH] |
Definition at line 117 of file siena_sriov.c.
atomic_t rxq_retry_count |
Definition at line 120 of file siena_sriov.c.
unsigned long rxq_retry_mask[VI_MASK_LENGTH] |
Definition at line 119 of file siena_sriov.c.
u64 status_addr |
Definition at line 106 of file siena_sriov.c.
Definition at line 107 of file siena_sriov.c.
int tx_filter_id |
Definition at line 104 of file siena_sriov.c.
enum efx_vf_tx_filter_mode tx_filter_mode |
Definition at line 103 of file siena_sriov.c.
unsigned txq_count |
Definition at line 116 of file siena_sriov.c.
Definition at line 114 of file siena_sriov.c.
unsigned long txq_mask[VI_MASK_LENGTH] |
Definition at line 115 of file siena_sriov.c.