iPXE
Data Structures | Macros | Enumerations | Functions | Variables
ena.h File Reference

Amazon ENA network driver. More...

#include <stdint.h>
#include <ipxe/if_ether.h>

Go to the source code of this file.

Data Structures

struct  ena_aq_header
 Admin queue entry header. More...
 
struct  ena_acq_header
 Admin completion queue entry header. More...
 
struct  ena_device_attributes
 Device attributes. More...
 
struct  ena_llq_option
 A low latency queue option. More...
 
struct  ena_llq_config
 Low latency queue config. More...
 
struct  ena_aenq_config
 Async event notification queue config. More...
 
struct  ena_host_attributes
 Host attributes. More...
 
struct  ena_host_info
 Host information. More...
 
union  ena_feature
 Feature. More...
 
struct  ena_create_sq_req
 Create submission queue request. More...
 
struct  ena_create_sq_rsp
 Create submission queue response. More...
 
struct  ena_destroy_sq_req
 Destroy submission queue request. More...
 
struct  ena_destroy_sq_rsp
 Destroy submission queue response. More...
 
struct  ena_create_cq_req
 Create completion queue request. More...
 
struct  ena_create_cq_rsp
 Create completion queue response. More...
 
struct  ena_destroy_cq_req
 Destroy completion queue request. More...
 
struct  ena_destroy_cq_rsp
 Destroy completion queue response. More...
 
struct  ena_get_feature_req
 Get feature request. More...
 
struct  ena_get_feature_rsp
 Get feature response. More...
 
struct  ena_set_feature_req
 Set feature request. More...
 
struct  ena_get_stats_req
 Get statistics request. More...
 
struct  ena_get_stats_rsp
 Get statistics response. More...
 
union  ena_aq_req
 Admin queue request. More...
 
union  ena_acq_rsp
 Admin completion queue response. More...
 
struct  ena_aq
 Admin queue. More...
 
struct  ena_acq
 Admin completion queue. More...
 
struct  ena_aenq_event
 Async event notification queue event. More...
 
struct  ena_aenq
 Async event notification queue. More...
 
struct  ena_tx_sqe
 Transmit submission queue entry. More...
 
struct  ena_rx_sqe
 Receive submission queue entry. More...
 
struct  ena_tx_cqe
 Transmit completion queue entry. More...
 
struct  ena_rx_cqe
 Receive completion queue entry. More...
 
struct  ena_tx_llqe
 Low latency transmit queue bounce buffer. More...
 
struct  ena_sq
 Submission queue. More...
 
struct  ena_cq
 Completion queue. More...
 
struct  ena_qp
 Queue pair. More...
 
struct  ena_nic
 An ENA network card. More...
 

Macros

#define ENA_REGS_BAR   PCI_BASE_ADDRESS_0
 Register BAR. More...
 
#define ENA_REGS_SIZE   16384
 Register BAR size. More...
 
#define ENA_MEM_BAR   PCI_BASE_ADDRESS_2
 On-device memory BAR. More...
 
#define ENA_ALIGN   4096
 Queue alignment. More...
 
#define ENA_AQ_COUNT   2
 Number of admin queue entries. More...
 
#define ENA_ACQ_COUNT   2
 Number of admin completion queue entries. More...
 
#define ENA_AENQ_COUNT   2
 Number of async event notification queue entries. More...
 
#define ENA_TX_COUNT   32
 Number of transmit queue entries. More...
 
#define ENA_RX_COUNT   32
 Number of receive queue entries. More...
 
#define ENA_BASE_LO   0x0
 Base address low register offset. More...
 
#define ENA_BASE_HI   0x4
 Base address high register offset. More...
 
#define ENA_CAPS(count, size)   ( ( (size) << 16 ) | ( (count) << 0 ) )
 Capability register value. More...
 
#define ENA_AQ_BASE   0x10
 Admin queue base address register. More...
 
#define ENA_AQ_CAPS   0x18
 Admin queue capabilities register. More...
 
#define ENA_ACQ_BASE   0x20
 Admin completion queue base address register. More...
 
#define ENA_ACQ_CAPS   0x28
 Admin completion queue capabilities register. More...
 
#define ENA_AQ_DB   0x2c
 Admin queue doorbell register. More...
 
#define ENA_ADMIN_MAX_WAIT_MS   5000
 Maximum time to wait for admin requests. More...
 
#define ENA_AENQ_CAPS   0x34
 Async event notification queue capabilities register. More...
 
#define ENA_AENQ_BASE   0x38
 Async event notification queue base address register. More...
 
#define ENA_CTRL   0x54
 Device control register. More...
 
#define ENA_CTRL_RESET   0x00000001UL
 Reset. More...
 
#define ENA_RESET_MAX_WAIT_MS   1000
 Maximum time to wait for reset. More...
 
#define ENA_STAT   0x58
 Device status register. More...
 
#define ENA_STAT_RESET   0x00000008UL
 Reset in progress. More...
 
#define ENA_AQ_PHASE   0x01
 Admin queue ownership phase flag. More...
 
#define ENA_ACQ_PHASE   0x01
 Admin completion queue ownership phase flag. More...
 
#define ENA_DEVICE_ATTRIBUTES   1
 Device attributes. More...
 
#define ENA_FEATURE_LLQ   0x00000010
 Device supports low latency queues. More...
 
#define ENA_LLQ_CONFIG   4
 Low latency queue config. More...
 
#define ENA_AENQ_CONFIG   26
 Async event notification queue config. More...
 
#define ENA_HOST_ATTRIBUTES   28
 Host attributes. More...
 
#define ENA_HOST_INFO_TYPE_IPXE   5
 Operating system type. More...
 
#define ENA_HOST_INFO_VERSION_WTF   0x00000002UL
 Driver version. More...
 
#define ENA_HOST_INFO_SPEC_2_0   0x0200
 ENA specification version. More...
 
#define ENA_CREATE_SQ   1
 Create submission queue. More...
 
#define ENA_DESTROY_SQ   2
 Destroy submission queue. More...
 
#define ENA_CREATE_CQ   3
 Create completion queue. More...
 
#define ENA_MSIX_NONE   0xffffffffUL
 Empty MSI-X vector. More...
 
#define ENA_DESTROY_CQ   4
 Destroy completion queue. More...
 
#define ENA_GET_FEATURE   8
 Get feature. More...
 
#define ENA_SET_FEATURE   9
 Set feature. More...
 
#define ENA_GET_STATS   11
 Get statistics. More...
 
#define ENA_STATS_TYPE_BASIC   0
 Basic statistics. More...
 
#define ENA_STATS_SCOPE_ETH   1
 Ethernet statistics. More...
 
#define ENA_DEVICE_MINE   0xffff
 My device. More...
 
#define ENA_TX_SQE_META   0x80
 This is a metadata entry. More...
 
#define ENA_SQE_PHASE   0x01
 Submission queue ownership phase flag. More...
 
#define ENA_SQE_FIRST   0x04
 This is the first descriptor. More...
 
#define ENA_SQE_LAST   0x08
 This is the last descriptor. More...
 
#define ENA_SQE_CPL   0x10
 Request completion. More...
 
#define ENA_TX_CQE_ID(id)   ( (id) >> 2 )
 Transmit completion request identifier. More...
 
#define ENA_CQE_PHASE   0x01
 Completion queue ownership phase flag. More...
 

Enumerations

enum  ena_llq_header { ENA_LLQ_HEADER_INLINE = 0x0001 }
 Low latency queue header locations. More...
 
enum  ena_llq_size { ENA_LLQ_SIZE_128 = 0x0001 }
 Low latency queue entry sizes. More...
 
enum  ena_llq_desc { ENA_LLQ_DESC_2 = 0x0002 }
 Low latency queue descriptor count. More...
 
enum  ena_sq_direction { ENA_SQ_TX = 0x20, ENA_SQ_RX = 0x40 }
 Submission queue direction. More...
 
enum  ena_sq_policy { ENA_SQ_HOST_MEMORY = 0x0001, ENA_SQ_DEVICE_MEMORY = 0x0002, ENA_SQ_CONTIGUOUS = 0x0100 }
 Submission queue policy. More...
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
struct ena_aq_header __attribute__ ((packed))
 Inlined length. More...
 
static __attribute__ ((always_inline)) void ena_sq_init(struct ena_sq *sq
 Initialise submission queue. More...
 

Variables

uint8_t id
 Request identifier. More...
 
uint8_t reserved
 Reserved. More...
 
uint8_t opcode
 Opcode. More...
 
uint8_t flags
 Flags. More...
 
uint8_t status
 Status. More...
 
uint16_t ext
 Extended status. More...
 
uint16_t cons
 Consumer index. More...
 
uint32_t implementation
 Implementation. More...
 
uint32_t version
 Device version. More...
 
uint32_t features
 Supported features. More...
 
uint8_t reserved_a [4]
 Reserved. More...
 
uint32_t physical
 Physical address width. More...
 
uint32_t virtual
 Virtual address width. More...
 
uint8_t mac [ETH_ALEN]
 MAC address. More...
 
uint8_t reserved_b [2]
 Reserved. More...
 
uint32_t mtu
 Maximum MTU. More...
 
uint16_t supported
 Bitmask of supported option values. More...
 
uint16_t enabled
 Single-entry bitmask of the enabled option value. More...
 
uint32_t queues
 Maximum number of low latency queues. More...
 
uint32_t count = count
 Maximum queue depth. More...
 
struct ena_llq_option header
 Header locations. More...
 
struct ena_llq_option size
 Entry sizes. More...
 
struct ena_llq_option desc
 Descriptor counts. More...
 
struct ena_llq_option stride
 Descriptor strides. More...
 
uint16_t mode
 Acceleration mode. More...
 
uint16_t burst
 Maximum burst size. More...
 
enum ena_llq_header __attribute__
 
uint64_t info
 Host info base address. More...
 
uint64_t debug
 Debug area base address. More...
 
uint32_t debug_len
 Debug area size. More...
 
uint32_t type
 Operating system type. More...
 
char dist_str [128]
 Operating system distribution (string) More...
 
uint32_t dist
 Operating system distribution (numeric) More...
 
char kernel_str [32]
 Kernel version (string) More...
 
uint32_t kernel
 Kernel version (numeric) More...
 
uint64_t linux_features
 Linux network device features. More...
 
uint16_t spec
 ENA specification version. More...
 
uint16_t busdevfn
 PCI bus:dev.fn address. More...
 
uint16_t cpus
 Number of CPUs. More...
 
uint8_t direction = direction
 Direction. More...
 
uint16_t policy = ( ENA_SQ_HOST_MEMORY | ENA_SQ_CONTIGUOUS )
 Policy. More...
 
uint16_t cq_id
 Completion queue identifier. More...
 
uint64_t address
 Base address. More...
 
uint64_t writeback
 Writeback address. More...
 
uint32_t doorbell
 Doorbell register offset. More...
 
uint32_t llqe
 LLQ descriptor ring offset. More...
 
uint8_t intr
 Interrupts enabled. More...
 
uint32_t vector
 MSI-X vector. More...
 
uint32_t node
 NUMA node register offset. More...
 
uint32_t len
 Length. More...
 
union ena_feature feature
 Feature. More...
 
uint8_t scope
 Scope. More...
 
uint16_t queue
 Queue ID. More...
 
uint16_t device
 Device ID. More...
 
uint64_t tx_bytes
 Transmit byte count. More...
 
uint64_t tx_packets
 Transmit packet count. More...
 
uint64_t rx_bytes
 Receive byte count. More...
 
uint64_t rx_packets
 Receive packet count. More...
 
uint64_t rx_drops
 Receive drop count. More...
 
uint16_t group
 Type of event. More...
 
uint16_t syndrome
 ID of event. More...
 
uint64_t timestamp
 Timestamp. More...
 
uint8_t data [48]
 Additional event data. More...
 
uint8_t inlined
 Inlined length. More...
 
uint8_t meta
 Metadata flags. More...
 
struct ena_tx_sqe sqe
 Transmit descriptor. More...
 
static unsigned int unsigned int size_t uint8_tids
 
cq requested = count
 

Detailed Description

Amazon ENA network driver.

Definition in file ena.h.

Macro Definition Documentation

◆ ENA_REGS_BAR

#define ENA_REGS_BAR   PCI_BASE_ADDRESS_0

Register BAR.

Definition at line 16 of file ena.h.

◆ ENA_REGS_SIZE

#define ENA_REGS_SIZE   16384

Register BAR size.

Definition at line 19 of file ena.h.

◆ ENA_MEM_BAR

#define ENA_MEM_BAR   PCI_BASE_ADDRESS_2

On-device memory BAR.

Definition at line 22 of file ena.h.

◆ ENA_ALIGN

#define ENA_ALIGN   4096

Queue alignment.

Definition at line 25 of file ena.h.

◆ ENA_AQ_COUNT

#define ENA_AQ_COUNT   2

Number of admin queue entries.

Definition at line 28 of file ena.h.

◆ ENA_ACQ_COUNT

#define ENA_ACQ_COUNT   2

Number of admin completion queue entries.

Definition at line 31 of file ena.h.

◆ ENA_AENQ_COUNT

#define ENA_AENQ_COUNT   2

Number of async event notification queue entries.

Definition at line 34 of file ena.h.

◆ ENA_TX_COUNT

#define ENA_TX_COUNT   32

Number of transmit queue entries.

Definition at line 37 of file ena.h.

◆ ENA_RX_COUNT

#define ENA_RX_COUNT   32

Number of receive queue entries.

Definition at line 40 of file ena.h.

◆ ENA_BASE_LO

#define ENA_BASE_LO   0x0

Base address low register offset.

Definition at line 43 of file ena.h.

◆ ENA_BASE_HI

#define ENA_BASE_HI   0x4

Base address high register offset.

Definition at line 46 of file ena.h.

◆ ENA_CAPS

#define ENA_CAPS (   count,
  size 
)    ( ( (size) << 16 ) | ( (count) << 0 ) )

Capability register value.

Definition at line 49 of file ena.h.

◆ ENA_AQ_BASE

#define ENA_AQ_BASE   0x10

Admin queue base address register.

Definition at line 52 of file ena.h.

◆ ENA_AQ_CAPS

#define ENA_AQ_CAPS   0x18

Admin queue capabilities register.

Definition at line 55 of file ena.h.

◆ ENA_ACQ_BASE

#define ENA_ACQ_BASE   0x20

Admin completion queue base address register.

Definition at line 58 of file ena.h.

◆ ENA_ACQ_CAPS

#define ENA_ACQ_CAPS   0x28

Admin completion queue capabilities register.

Definition at line 61 of file ena.h.

◆ ENA_AQ_DB

#define ENA_AQ_DB   0x2c

Admin queue doorbell register.

Definition at line 64 of file ena.h.

◆ ENA_ADMIN_MAX_WAIT_MS

#define ENA_ADMIN_MAX_WAIT_MS   5000

Maximum time to wait for admin requests.

Definition at line 67 of file ena.h.

◆ ENA_AENQ_CAPS

#define ENA_AENQ_CAPS   0x34

Async event notification queue capabilities register.

Definition at line 70 of file ena.h.

◆ ENA_AENQ_BASE

#define ENA_AENQ_BASE   0x38

Async event notification queue base address register.

Definition at line 73 of file ena.h.

◆ ENA_CTRL

#define ENA_CTRL   0x54

Device control register.

Definition at line 76 of file ena.h.

◆ ENA_CTRL_RESET

#define ENA_CTRL_RESET   0x00000001UL

Reset.

Definition at line 77 of file ena.h.

◆ ENA_RESET_MAX_WAIT_MS

#define ENA_RESET_MAX_WAIT_MS   1000

Maximum time to wait for reset.

Definition at line 80 of file ena.h.

◆ ENA_STAT

#define ENA_STAT   0x58

Device status register.

Definition at line 83 of file ena.h.

◆ ENA_STAT_RESET

#define ENA_STAT_RESET   0x00000008UL

Reset in progress.

Definition at line 84 of file ena.h.

◆ ENA_AQ_PHASE

#define ENA_AQ_PHASE   0x01

Admin queue ownership phase flag.

Definition at line 99 of file ena.h.

◆ ENA_ACQ_PHASE

#define ENA_ACQ_PHASE   0x01

Admin completion queue ownership phase flag.

Definition at line 118 of file ena.h.

◆ ENA_DEVICE_ATTRIBUTES

#define ENA_DEVICE_ATTRIBUTES   1

Device attributes.

Definition at line 121 of file ena.h.

◆ ENA_FEATURE_LLQ

#define ENA_FEATURE_LLQ   0x00000010

Device supports low latency queues.

Definition at line 146 of file ena.h.

◆ ENA_LLQ_CONFIG

#define ENA_LLQ_CONFIG   4

Low latency queue config.

Definition at line 149 of file ena.h.

◆ ENA_AENQ_CONFIG

#define ENA_AENQ_CONFIG   26

Async event notification queue config.

Definition at line 202 of file ena.h.

◆ ENA_HOST_ATTRIBUTES

#define ENA_HOST_ATTRIBUTES   28

Host attributes.

Definition at line 213 of file ena.h.

◆ ENA_HOST_INFO_TYPE_IPXE

#define ENA_HOST_INFO_TYPE_IPXE   5

Operating system type.

Some very broken older versions of the ENA firmware will refuse to allow a completion queue to be created if "iPXE" (type 5) is used, and require us to pretend that we are "Linux" (type 1) instead.

The ENA team at AWS assures us that the entire AWS fleet has been upgraded to fix this bug, and that we are now safe to use the correct operating system type value.

Definition at line 263 of file ena.h.

◆ ENA_HOST_INFO_VERSION_WTF

#define ENA_HOST_INFO_VERSION_WTF   0x00000002UL

Driver version.

The driver version field is nominally used to report a version number outside of the VM for consumption by humans (and potentially by automated monitoring tools that could e.g. check for outdated versions with known security flaws).

However, at some point in the development of the ENA firmware, some unknown person at AWS thought it would be sensible to apply a machine interpretation to this field and adjust the behaviour of the firmware based on its value, thereby creating a maintenance and debugging nightmare for all existing and future drivers.

Hint to engineers: if you ever find yourself writing code of the form "if (version == SOME_MAGIC_NUMBER)" then something has gone very, very wrong. This always indicates that something is broken, either in your own code or in the code with which you are forced to interact.

Definition at line 284 of file ena.h.

◆ ENA_HOST_INFO_SPEC_2_0

#define ENA_HOST_INFO_SPEC_2_0   0x0200

ENA specification version.

Definition at line 287 of file ena.h.

◆ ENA_CREATE_SQ

#define ENA_CREATE_SQ   1

Create submission queue.

Definition at line 310 of file ena.h.

◆ ENA_DESTROY_SQ

#define ENA_DESTROY_SQ   2

Destroy submission queue.

Definition at line 361 of file ena.h.

◆ ENA_CREATE_CQ

#define ENA_CREATE_CQ   3

Create completion queue.

Definition at line 382 of file ena.h.

◆ ENA_MSIX_NONE

#define ENA_MSIX_NONE   0xffffffffUL

Empty MSI-X vector.

Some versions of the ENA firmware will complain if the completion queue's MSI-X vector field is left empty, even though the queue configuration specifies that interrupts are not used.

Definition at line 406 of file ena.h.

◆ ENA_DESTROY_CQ

#define ENA_DESTROY_CQ   4

Destroy completion queue.

Definition at line 425 of file ena.h.

◆ ENA_GET_FEATURE

#define ENA_GET_FEATURE   8

Get feature.

Definition at line 444 of file ena.h.

◆ ENA_SET_FEATURE

#define ENA_SET_FEATURE   9

Set feature.

Definition at line 471 of file ena.h.

◆ ENA_GET_STATS

#define ENA_GET_STATS   11

Get statistics.

Definition at line 492 of file ena.h.

◆ ENA_STATS_TYPE_BASIC

#define ENA_STATS_TYPE_BASIC   0

Basic statistics.

Definition at line 513 of file ena.h.

◆ ENA_STATS_SCOPE_ETH

#define ENA_STATS_SCOPE_ETH   1

Ethernet statistics.

Definition at line 516 of file ena.h.

◆ ENA_DEVICE_MINE

#define ENA_DEVICE_MINE   0xffff

My device.

Definition at line 519 of file ena.h.

◆ ENA_TX_SQE_META

#define ENA_TX_SQE_META   0x80

This is a metadata entry.

Definition at line 646 of file ena.h.

◆ ENA_SQE_PHASE

#define ENA_SQE_PHASE   0x01

Submission queue ownership phase flag.

Definition at line 665 of file ena.h.

◆ ENA_SQE_FIRST

#define ENA_SQE_FIRST   0x04

This is the first descriptor.

Definition at line 668 of file ena.h.

◆ ENA_SQE_LAST

#define ENA_SQE_LAST   0x08

This is the last descriptor.

Definition at line 671 of file ena.h.

◆ ENA_SQE_CPL

#define ENA_SQE_CPL   0x10

Request completion.

Definition at line 674 of file ena.h.

◆ ENA_TX_CQE_ID

#define ENA_TX_CQE_ID (   id)    ( (id) >> 2 )

Transmit completion request identifier.

Definition at line 691 of file ena.h.

◆ ENA_CQE_PHASE

#define ENA_CQE_PHASE   0x01

Completion queue ownership phase flag.

Definition at line 708 of file ena.h.

Enumeration Type Documentation

◆ ena_llq_header

Low latency queue header locations.

Enumerator
ENA_LLQ_HEADER_INLINE 

Headers are placed inline immediately after descriptors.

Definition at line 184 of file ena.h.

184  {
185  /** Headers are placed inline immediately after descriptors */
186  ENA_LLQ_HEADER_INLINE = 0x0001,
187 };
Headers are placed inline immediately after descriptors.
Definition: ena.h:186

◆ ena_llq_size

Low latency queue entry sizes.

Enumerator
ENA_LLQ_SIZE_128 

Entries are 128 bytes.

Definition at line 190 of file ena.h.

190  {
191  /** Entries are 128 bytes */
192  ENA_LLQ_SIZE_128 = 0x0001,
193 };
Entries are 128 bytes.
Definition: ena.h:192

◆ ena_llq_desc

Low latency queue descriptor count.

Enumerator
ENA_LLQ_DESC_2 

Two descriptors before inline headers.

Definition at line 196 of file ena.h.

196  {
197  /** Two descriptors before inline headers */
198  ENA_LLQ_DESC_2 = 0x0002,
199 };
Two descriptors before inline headers.
Definition: ena.h:198

◆ ena_sq_direction

Submission queue direction.

Enumerator
ENA_SQ_TX 

Transmit.

ENA_SQ_RX 

Receive.

Definition at line 302 of file ena.h.

302  {
303  /** Transmit */
304  ENA_SQ_TX = 0x20,
305  /** Receive */
306  ENA_SQ_RX = 0x40,
307 };
Transmit.
Definition: ena.h:304
Receive.
Definition: ena.h:306

◆ ena_sq_policy

Submission queue policy.

Enumerator
ENA_SQ_HOST_MEMORY 

Use host memory.

ENA_SQ_DEVICE_MEMORY 

Use on-device memory (must be used in addition to host memory)

ENA_SQ_CONTIGUOUS 

Memory is contiguous.

Definition at line 335 of file ena.h.

335  {
336  /** Use host memory */
337  ENA_SQ_HOST_MEMORY = 0x0001,
338  /** Use on-device memory (must be used in addition to host memory) */
339  ENA_SQ_DEVICE_MEMORY = 0x0002,
340  /** Memory is contiguous */
341  ENA_SQ_CONTIGUOUS = 0x0100,
342 };
Use on-device memory (must be used in addition to host memory)
Definition: ena.h:339
Use host memory.
Definition: ena.h:337
Memory is contiguous.
Definition: ena.h:341

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__() [1/2]

struct ena_aq_header __attribute__ ( (packed)  )

Inlined length.

Address and inlined length.

◆ __attribute__() [2/2]

static __attribute__ ( (always_inline)  )
inlinestatic

Initialise submission queue.

Initialise completion queue.

Parameters
sqSubmission queue
directionDirection
countNumber of entries
sizeSize of each entry
idsBuffer IDs
cqCompletion queue
countNumber of entries
sizeSize of each entry

Variable Documentation

◆ id

u8 id

Request identifier.

Vendor-specific ID: 221.

Information element ID.

ERP Information ID: 42.

Channels ID: 36.

Power Capability ID: 33.

Power Constraint ID: 52.

Challenge Text ID: 16.

Request ID: 10.

Country information ID: 7.

DS parameter ID: 3.

Rates ID: 1 or 50.

SSID ID: 0.

Connection ID.

SCSI ID.

Equivalence ID.

Feature identifier.

Completion queue identifier.

Submission queue identifier.

Definition at line 12 of file ena.h.

Referenced by bofm_find_driver(), dt_find_driver(), eepro_probe1(), efi_ib_srp_path(), eisa_probe(), ena_poll_rx(), ena_poll_tx(), ena_refill_rx(), ena_transmit(), fc_id_aton(), fc_id_ntoa(), fcels_exec(), gve_alloc_qpl(), gve_describe(), isapnp_probe(), mca_probe(), mii_find(), netfront_destroy_ring(), netfront_pull(), pci_find_capability_common(), pci_find_driver(), pci_set_driver(), peerdisc_socket_rx(), realtek_init_eeprom(), rndis_rx_initialise(), rndis_rx_query_oid(), rndis_rx_set_oid(), rndis_tx_initialise(), ucode_exec(), ucode_update_all(), usb_probe(), usb_score(), usbio_supported(), vring_get_buf(), xcm_create(), xcm_list(), xhci_device_close(), and xhci_device_open().

◆ reserved

uint8_t reserved

Reserved.

Padding.

Must be zero.

Definition at line 14 of file ena.h.

◆ opcode

uint16_t opcode

◆ flags

uint8_t flags

Flags.

Event flags.

Phase.

Definition at line 18 of file ena.h.

Referenced by add_dynui_item(), add_parameter(), ar9002_hw_set11n_ratescenario(), ar9002_hw_set11n_txdesc(), ar9003_hw_set11n_ratescenario(), ar9003_hw_set11n_txdesc(), ath5k_channel_ok(), ath5k_hw_nic_wakeup(), ath5k_hw_setup_2word_tx_desc(), ath5k_hw_setup_4word_tx_desc(), ath5k_hw_setup_rx_desc(), ath5k_txbuf_setup(), ath9k_hw_set11n_ratescenario(), ath9k_hw_set11n_txdesc(), ath9k_hw_setuprxdesc(), ath_buf_set_rate(), bios_iskey(), bios_reboot(), bnxt_hwrm_cfa_l2_filter_alloc(), bnxt_hwrm_port_phy_cfg(), cgem_poll_rx(), cgem_transmit(), dma_op_map(), dummy_san_hook(), efi_block_hook(), efi_ifr_numeric_op(), efi_ifr_string_op(), efi_pxe_udp_read(), efi_pxe_udp_write(), efi_reboot(), efipci_dma_map(), ehci_endpoint_stream(), ena_transmit(), eth_pull(), extmemsize_e801(), fcoe_fip_rx_advertisement(), fdtmem_update_node(), format_decimal(), format_hex(), gcm_process(), hunt_check_link(), init_editbox(), init_widget(), int13_hook(), intelxl_admin_promisc(), iob_map(), ipair_create(), ipv4_rx(), ipv6_rx(), item_exec(), jump_scroll_key(), layout_form(), meme820(), memmap_update(), net80211_ll_pull(), net_poll(), net_rx(), nii_initialise(), nii_initialise_cable(), nii_initialise_flags(), nii_set_rx_filters(), nv_process_rx_packets(), param_exec(), pxenv_undi_isr(), reboot_exec(), register_sandev(), rtl818x_handle_rx(), rtl818x_handle_tx(), sanboot_core_exec(), setup_tx_flags(), shutdown(), tcp_dump_flags(), tcp_process_rx_queue(), tcp_rx(), tcp_rx_enqueue(), tcp_xmit_sack(), tcpip_bind(), tftp_core_open(), tg3_set_txd(), TLan_FinishReset(), TLan_PhyDetect(), TLan_PhyFinishAutoNeg(), TLan_PhyPowerDown(), TLan_ResetAdapter(), undinet_transmit(), uriboot(), usbio_bulk_out_poll(), usbio_control_poll(), usbio_endpoint_enqueue(), vcprintf(), and vlan_transmit().

◆ status

u16 status

Status.

Status code.

Definition at line 16 of file ena.h.

Referenced by __attribute__(), __vxge_hw_device_get_legacy_reg(), __vxge_hw_device_reg_addr_get(), __vxge_hw_device_vpath_reset_in_prog_check(), __vxge_hw_fifo_create(), __vxge_hw_legacy_swapper_set(), __vxge_hw_pio_mem_write64(), __vxge_hw_ring_create(), __vxge_hw_vp_initialize(), __vxge_hw_vpath_addr_get(), __vxge_hw_vpath_alarm_process(), __vxge_hw_vpath_card_info_get(), __vxge_hw_vpath_fw_ver_get(), __vxge_hw_vpath_initialize(), __vxge_hw_vpath_kdfc_configure(), __vxge_hw_vpath_mac_configure(), __vxge_hw_vpath_mgmt_read(), __vxge_hw_vpath_pci_read(), __vxge_hw_vpath_reset(), __vxge_hw_vpath_reset_check(), __vxge_hw_vpath_tim_configure(), a3c90x_refill_rx_ring(), amd79c901_read_mode(), amd8111e_poll(), amd8111e_poll_link(), amd8111e_wait_link(), amd8111e_wait_tx_ring(), ar9002_hw_proc_txdesc(), ar9003_hw_proc_txdesc(), arbel_cmd(), ath5k_hw_eeprom_read(), ath5k_poll(), ath9k_hw_eeprom_init(), ath9k_hw_setpower(), ath9k_tasklet(), ath_isr(), ath_tx_processq(), atl1e_poll(), atl2_hw_reset(), bad_phy_status(), bcom_check_link(), bnx2_poll(), check_nodnic_interface_supported(), cmd_status_str(), cs89x0_poll(), davicom_poll(), davicom_reset(), davicom_transmit(), dhcpv6_status_code(), disable_nodnic_inteface(), dwmac_dump_dma(), dwmac_poll(), eepro_transmit(), efi_reset_system_wrapper(), efi_usb_async_complete(), efi_usb_bulk_transfer(), efi_usb_control_transfer(), efi_usb_isochronous_transfer(), efi_usb_sync_interrupt_transfer(), ehci_endpoint_poll(), epic100_poll(), epic100_transmit(), exanic_check_link(), exanic_probe_port(), fiber_autoneg(), flexboot_nodnic_alloc_uar(), flexboot_nodnic_allocate_infiniband_devices(), flexboot_nodnic_create_cq(), flexboot_nodnic_create_qp(), flexboot_nodnic_eth_close(), flexboot_nodnic_eth_open(), flexboot_nodnic_get_factory_mac(), flexboot_nodnic_is_supported(), flexboot_nodnic_mcast_attach(), flexboot_nodnic_mcast_detach(), flexboot_nodnic_poll_eq(), flexboot_nodnic_port_disable_dma(), flexboot_nodnic_ports_register_dev(), flexboot_nodnic_post_recv(), flexboot_nodnic_post_send(), flexboot_nodnic_probe(), flexboot_nodnic_register_netdev(), flexboot_nodnic_set_ports_type(), flexboot_nodnic_thin_init_ports(), forcedeth_poll(), gmii_link_ok(), golan_set_link_speed(), guestrpc_close(), guestrpc_command(), guestrpc_command_data(), guestrpc_command_len(), guestrpc_open(), guestrpc_reply_data(), guestrpc_reply_finish(), guestrpc_reply_len(), gve_admin(), hermon_cmd(), http_parse_status(), hub_enable(), hub_speed(), hv_post_message(), hv_signal_event(), ics1893_read_mode(), ifec_rx_process(), ifec_tx_process(), igbvf_get_link_up_info_vf(), int13(), int13_load_eltorito(), int13_load_mbr(), intel_check_link(), intel_reset(), iphone_check_link(), linda_i2c_read_bit(), mdio_clause45_check_mmds(), mdio_clause45_links_ok(), mlx_blink_leds(), mlx_get_max_mtu(), mlx_get_max_speed(), mlx_icmd_clear_semaphore(), mlx_icmd_get_semaphore(), mlx_icmd_get_status(), mlx_icmd_go(), mlx_icmd_init(), mlx_icmd_read_buffer(), mlx_icmd_send_command(), mlx_icmd_set_opcode(), mlx_icmd_write_buffer(), mlx_memory_alloc(), mlx_memory_alloc_dma(), mlx_memory_alloc_dma_priv(), mlx_memory_alloc_priv(), mlx_memory_be32_to_cpu(), mlx_memory_be32_to_cpu_priv(), mlx_memory_cmp(), mlx_memory_cmp_priv(), mlx_memory_cpu_to_be32(), mlx_memory_cpu_to_be32_priv(), mlx_memory_cpy(), mlx_memory_cpy_priv(), mlx_memory_free(), mlx_memory_free_dma(), mlx_memory_free_dma_priv(), mlx_memory_free_priv(), mlx_memory_map_dma(), mlx_memory_map_dma_priv(), mlx_memory_set(), mlx_memory_set_priv(), mlx_memory_ummap_dma(), mlx_memory_ummap_dma_priv(), mlx_memory_zalloc(), mlx_memory_zalloc_priv(), mlx_pci_config(), mlx_pci_config_byte(), mlx_pci_config_dword(), mlx_pci_config_word(), mlx_pci_gw_check_capability_id(), mlx_pci_gw_free_ownership(), mlx_pci_gw_get_ownership(), mlx_pci_gw_init(), mlx_pci_gw_read(), mlx_pci_gw_search_capability(), mlx_pci_gw_set_space(), mlx_pci_gw_wait_for_flag_value(), mlx_pci_gw_write(), mlx_pci_init(), mlx_pci_init_priv(), mlx_pci_mem_read(), mlx_pci_mem_write(), mlx_pci_read(), mlx_pci_read_priv(), mlx_pci_teardown(), mlx_pci_teardown_priv(), mlx_pci_write(), mlx_pci_write_priv(), mlx_reg_access(), mlx_set_admin_mtu(), mlx_set_link_speed(), mlx_utils_init(), mlx_utils_teardown(), mlx_vmac_query_virt_mac(), mlx_vmac_set_virt_mac(), net80211_set_state(), net80211_step_associate(), netfront_poll_rx(), netfront_poll_tx(), nodnic_cmd_read(), nodnic_cmd_write(), nodnic_device_clear_int(), nodnic_device_get_cap(), nodnic_device_get_fw_version(), nodnic_device_get_nodnic_data(), nodnic_device_init(), nodnic_device_start_nodnic(), nodnic_device_teardown(), nodnic_port_add_mac_filter(), nodnic_port_allocate_dbr_dma(), nodnic_port_allocate_eq(), nodnic_port_allocate_ring_db_dma(), nodnic_port_check_and_set_dma(), nodnic_port_close(), nodnic_port_cq_dbr_dma_init(), nodnic_port_create_cq(), nodnic_port_create_qp(), nodnic_port_destroy_cq(), nodnic_port_destroy_qp(), nodnic_port_disable_dma(), nodnic_port_enable_dma(), nodnic_port_free_eq(), nodnic_port_get_cq_size(), nodnic_port_get_qpn(), nodnic_port_get_state(), nodnic_port_get_type(), nodnic_port_init(), nodnic_port_query(), nodnic_port_read_port_management_change_event(), nodnic_port_read_reset_needed(), nodnic_port_remove_mac_filter(), nodnic_port_rx_pi_dma_alloc(), nodnic_port_set(), nodnic_port_set_network(), nodnic_port_set_promisc(), nodnic_port_set_promisc_multicast(), nodnic_port_set_send_uar_offset(), nodnic_port_thin_init(), nodnic_port_tx_dbr_dma_init(), nodnic_port_update_ring_doorbell(), nv_alloc_rx(), nvconfig_get_boot_default_conf(), nvconfig_get_boot_ext_default_conf(), nvconfig_get_ib_boot_default_conf(), nvconfig_get_ib_dhcp_default_conf(), nvconfig_get_iscsi_gen_default_conf(), nvconfig_get_iscsi_init_dhcp_default_conf(), nvconfig_get_nv_virt_caps_default_conf(), nvconfig_get_nv_virt_default_conf(), nvconfig_get_ocsd_ocbb_default_conf(), nvconfig_get_rom_banner_to_default_conf(), nvconfig_get_rom_cap_default_conf(), nvconfig_get_vpi_link_default_conf(), nvconfig_get_wol_default_conf(), nvconfig_nvdata_access(), nvconfig_nvdata_default_access(), nvconfig_nvdata_invalidate(), nvconfig_nvdata_read_default_value(), nvconfig_query_capability(), nvconfig_read_general_default_values(), nvconfig_read_port_default_values(), nvconfig_read_rom_ini_values(), nvconfig_set_fw_reset_level(), ocsp_parse_response_status(), pci_find_capability(), pcibios_read(), pcibios_write(), pcnet32_poll(), pcnet32_process_rx_packets(), pcnet32_process_tx_packets(), pcnet32_refill_rx_ring(), phantom_clp_cmd(), phantom_clp_wait(), phy_length(), pnic_command(), pnic_command_quiet(), pnic_probe(), prism2_transmit(), pxe_start_nbp(), qib7322_i2c_read_bit(), rndis_rx_status(), rtl8201_read_mode(), shomron_fill_eth_send_wqe(), shomron_tx_uar_send_db(), sis190_default_phy(), sis190_mii_probe(), sis190_poll(), sis190_process_rx(), sis190_process_tx(), sis190_rx_pkt_err(), sis190_tx_pkt_err(), sis900_read_mode(), sis900_reset(), skge_poll(), sky2_err_intr(), sky2_hw_error(), sky2_hw_intr(), sky2_mac_intr(), sky2_poll(), sky2_receive(), sky2_reset(), sky2_status_intr(), smc9000_transmit(), smc_phy_configure(), spi_wait(), sundance_poll(), sundance_transmit(), t509_poll(), t509_transmit(), t515_poll(), t515_transmit(), t595_poll(), t595_transmit(), TLan_FinishReset(), TLan_PhyFinishAutoNeg(), TLan_PhyStartLink(), tulip_reset(), tulip_transmit(), txnic_complete_sqe(), txnic_disable_sq(), txnic_poll_cq(), ucode_status(), ucode_update_all(), usb_hub_get_port_status(), usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_config(), usbio_control_poll(), usbio_interrupt_callback(), vesafb_mode_info(), vesafb_mode_list(), vesafb_rc(), vesafb_set_mode(), virtnet_open_modern(), vmxnet3_open(), vp_set_status(), vpm_add_status(), vt6103_read_mode(), vxge_hw_device_hw_info_get(), vxge_hw_device_initialize(), vxge_hw_get_func_mode(), vxge_hw_ring_replenish(), vxge_hw_set_fw_api(), vxge_hw_vpath_close(), vxge_hw_vpath_intr_disable(), vxge_hw_vpath_intr_enable(), vxge_hw_vpath_mtu_set(), vxge_hw_vpath_open(), vxge_hw_vpath_poll_rx(), vxge_hw_vpath_poll_tx(), vxge_hw_vpath_recover_from_reset(), vxge_hw_vpath_reset(), vxge_hw_vpath_strip_fcs_check(), vxge_open(), vxge_open_vpaths(), vxge_probe(), vxge_reset_all_vpaths(), w89c840_poll(), wait_for_device_initialization(), xhci_endpoint_message(), and xm_check_link().

◆ ext

uint16_t ext

Extended status.

Definition at line 20 of file ena.h.

Referenced by bcom_phy_init(), com32_identify(), comboot_identify(), dwgpio_in(), ipv6_rx(), tls_new_server_hello(), and ucode_parse_intel().

◆ cons

uint16_t cons

◆ implementation

uint32_t implementation

Implementation.

Definition at line 12 of file ena.h.

Referenced by nii_set_rx_filters(), and nii_set_station_address().

◆ version

uint32_t version

Device version.

Driver version.

Definition at line 14 of file ena.h.

◆ features

uint32_t features

◆ reserved_a

uint8_t reserved_a[3]

Reserved.

Definition at line 18 of file ena.h.

◆ physical

uint32_t physical

Physical address width.

Definition at line 20 of file ena.h.

◆ virtual

uint32_t virtual

Virtual address width.

Definition at line 22 of file ena.h.

◆ mac

MAC address.

Definition at line 24 of file ena.h.

Referenced by acpimac_decode_base16(), acpimac_decode_raw(), acpimac_extract(), ath5k_eeprom_read_mac(), ath5k_hw_get_lladdr(), ath5k_hw_set_lladdr(), ath5k_stop(), atl2_hw_get_mac(), atl_hw_get_mac(), bofm_dummy_harvest(), bofm_dummy_update(), bofm_en(), cgem_open(), cgem_probe(), dm96xx_read_mac(), dm96xx_write_mac(), dwmac_open(), dwmac_probe(), efi_path_mac(), efi_path_net_probe(), efi_pxe_arp(), efi_snp_mcast_ip_to_mac(), efi_undi_station_address(), eoib_create_peer(), eoib_find_peer(), eoib_rx_av(), eoib_tx_av(), flexboot_nodnic_mcast_attach(), flexboot_nodnic_mcast_detach(), flexboot_nodnic_register_netdev(), hermon_bofm_harvest(), hermon_bofm_update(), ice_admin_mac_read(), ice_admin_rules(), igbvf_check_for_link_vf(), igbvf_init_mac_params_vf(), igbvf_reset(), intel_fetch_mac(), intel_open(), intelx_open(), intelx_try_fetch_mac(), intelxl_admin_mac_read(), intelxl_admin_mac_write(), ipoib_map_remac(), ipoib_transmit(), mac_address_from_string_specs(), myson_open(), myson_probe(), natsemi_pmatch(), netfront_read_mac(), nodnic_port_add_mac_filter(), nodnic_port_remove_mac_filter(), rdc_probe(), smsc95xx_vm3_fetch_mac(), smscusb_set_address(), smscusb_set_filter(), snpnet_mac_text(), snpnet_open(), sysmac_fetch(), tkip_mix_1(), TLan_SetMac(), tls_new_ciphertext(), tls_send_record(), txnic_bgx_mac(), typeof(), virtnet_probe_legacy(), virtnet_probe_modern(), vmxnet3_get_hw_addr(), vmxnet3_set_ll_addr(), xsmp_rx_xve_install(), and xve_create().

◆ reserved_b

uint8_t reserved_b

Reserved.

Definition at line 26 of file ena.h.

◆ mtu

uint32_t mtu

◆ supported

uint32_t supported

◆ enabled

uint32_t enabled

Single-entry bitmask of the enabled option value.

Bitmask of enabled AENQ groups (host -> device)

Definition at line 14 of file ena.h.

Referenced by efi_get_wakeup_time_wrapper(), eisa_device_enabled(), ena_set_aenq_config(), falcon_interrupts(), hunt_get_workarounds(), hunt_workaround_35388(), and xhci_enable_slot().

◆ queues

uint32_t queues

Maximum number of low latency queues.

Definition at line 12 of file ena.h.

Referenced by vmxnet3_open().

◆ count

unsigned int count = count

Maximum queue depth.

Actual number of entries.

Number of entries.

Definition at line 14 of file ena.h.

◆ header

struct smbios_header header

◆ size

cq size
Initial value:
{
cq->len = ( count * size )
struct ena_llq_option size
Entry sizes.
Definition: ena.h:18
uint32_t count
Maximum queue depth.
Definition: ena.h:14

Entry sizes.

Entry size (in 32-bit words)

Definition at line 18 of file ena.h.

◆ desc

struct ena_llq_option desc

Descriptor counts.

Definition at line 20 of file ena.h.

Referenced by abft_install(), acpi_add(), acpi_del(), acpi_describe(), acpi_init(), ath5k_hw_proc_2word_tx_status(), ath5k_hw_proc_4word_tx_status(), ath5k_hw_proc_5210_rx_status(), ath5k_hw_proc_5212_rx_status(), ath5k_hw_setup_2word_tx_desc(), ath5k_hw_setup_4word_tx_desc(), ath5k_hw_setup_rx_desc(), axge_in_complete(), bnxt_set_rx_desc(), cdc_union_descriptor(), cgem_create_ring(), dt_probe_children(), dt_probe_node(), dwmac_create_ring(), ecm_ethernet_descriptor(), ecm_fetch_mac(), efi_fcp_path(), efi_get_memory_map_wrapper(), efi_usb_get_endpoint_descriptor(), efi_usb_get_interface_descriptor(), efi_usb_mtu(), ehci_dequeue(), ehci_endpoint_poll(), ehci_enqueue(), ehci_poll_companions(), ehci_ring_alloc(), ena_llq_config(), fcoe_fip_parse(), fdt_cells(), fdt_child(), fdt_depth(), fdt_describe(), fdt_end(), fdt_enter(), fdt_mac(), fdt_match(), fdt_next(), fdt_parent(), fdt_property(), fdt_reg_count(), fdt_set(), fdt_strings(), fdt_test_exec(), fdtmem_update_node(), gve_describe(), hub_probe(), ib_sbft_install(), ibft_complete(), ibft_install(), ibft_netdev_is_required(), icplus_create_ring(), icplus_poll_rx(), icplus_poll_tx(), icplus_refill_rx(), icplus_transmit(), imgsingle_exec(), int13_device_path_info(), intf_get_dest_op_no_passthru_untyped(), intf_get_passthru(), intf_init(), myson_create_ring(), natsemi_create_ring(), ncm_in_complete(), netdev_fetch_busid(), netdev_fetch_busloc(), netdev_fetch_bustype(), nii_pci_open(), pci_msix_ioremap(), pciea_offset(), process_init(), process_init_stopped(), rdc_create_ring(), rhine_poll_rx(), rhine_poll_tx(), rhine_refill_rx(), rhine_transmit(), sandev_describe(), sec80211_rsn_get_net80211_crypt(), sis190_alloc_rx_iob(), sis190_give_to_asic(), sis190_make_unusable_by_asic(), sis190_map_to_asic(), sis190_mark_as_last_descriptor(), sis190_process_rx(), sis190_transmit(), step(), tg3_alloc_rx_iob(), tg3_rx_complete(), ucode_describe(), ucode_parse_amd(), ucode_parse_intel(), ucode_status(), uhci_describe(), uhci_endpoint_poll(), uhci_enqueue(), uhci_is_message(), uhci_restart(), undinet_irq_is_broken(), usb_describe(), usb_endpoint_companion_descriptor(), usb_endpoint_described(), usb_endpoint_descriptor(), usb_find_driver(), usb_get_default_language(), usb_get_descriptor(), usb_get_string_descriptor(), usb_hub_get_descriptor(), usb_interface_association_descriptor(), usb_interface_descriptor(), usb_is_within_config(), usb_next_descriptor(), usb_score(), usb_settings_fetch(), usbblk_probe(), usbhid_describe(), usbio_supported(), usbnet_comms_describe(), usbnet_data_describe(), velocity_poll_rx(), velocity_poll_tx(), velocity_refill_rx(), velocity_transmit(), and w89c840_poll().

◆ stride

struct ena_llq_option stride

◆ mode

uint16_t mode

Acceleration mode.

Definition at line 26 of file ena.h.

Referenced by ar9003_hw_cal_pier_get(), ar9003_hw_calibration_apply(), ar9003_hw_spur_mitigate_ofdm(), ath5k_cal_data_offset_2413(), ath5k_copy_channels(), ath5k_eeprom_bin2freq(), ath5k_eeprom_convert_pcal_info_2413(), ath5k_eeprom_convert_pcal_info_5111(), ath5k_eeprom_convert_pcal_info_5112(), ath5k_eeprom_detach(), ath5k_eeprom_free_pcal_info(), ath5k_eeprom_init_11bg_2413(), ath5k_eeprom_init_modes(), ath5k_eeprom_read_ants(), ath5k_eeprom_read_freq_list(), ath5k_eeprom_read_modes(), ath5k_eeprom_read_pcal_info(), ath5k_eeprom_read_pcal_info_2413(), ath5k_eeprom_read_pcal_info_5111(), ath5k_eeprom_read_pcal_info_5112(), ath5k_eeprom_read_target_rate_pwr_info(), ath5k_eeprom_read_turbo_modes(), ath5k_get_chan_pcal_surrounding_piers(), ath5k_get_rate_pcal_data(), ath5k_hw_ini_mode_registers(), ath5k_hw_nic_wakeup(), ath5k_hw_reset(), ath5k_hw_rfregs_init(), ath5k_hw_set_txpower_limit(), ath5k_hw_write_initvals(), ath5k_pdgains_size_2413(), ath5k_setcurmode(), ath9k_hw_setpower(), ath9k_setpower(), cpio_header(), cpio_parse_cmdline(), cpio_test_exec(), efi_cachedhcp_record(), efi_console_init(), efi_file_open(), efi_pxe_fake(), efi_pxe_fake_all(), efi_pxe_fake_name(), efi_pxe_ip(), efi_pxe_ip_filter(), efi_pxe_set_ip_filter(), efi_pxe_set_packets(), efi_pxe_set_parameters(), efi_pxe_set_station_ip(), efi_pxe_start(), efi_pxe_stop(), efi_pxe_udp_write(), efi_set_autoboot_ll_addr(), efi_snp_set_mode(), efi_snp_set_state(), efi_undi_get_state(), efifb_init(), efifb_select_mode(), ena_llq_config(), genesis_link_up(), golan_handle_pages(), gve_mode_name(), hermon_cmd_mod_stat_cfg(), hermon_mod_stat_cfg(), mnpnet_start(), skge_led(), snpnet_check_link(), snpnet_dump_mode(), snpnet_open(), snpnet_start(), TLan_PhyFinishAutoNeg(), vesafb_mode_info(), vesafb_select_mode(), and vesafb_set_mode().

◆ burst

uint16_t burst

Maximum burst size.

Definition at line 28 of file ena.h.

Referenced by usb_endpoint_describe(), and usb_endpoint_described().

◆ __attribute__

◆ info

uint64_t info

Host info base address.

Definition at line 12 of file ena.h.

◆ debug

uint64_t debug

Debug area base address.

Definition at line 14 of file ena.h.

Referenced by efi_pecoff_debug_name().

◆ debug_len

uint32_t debug_len

Debug area size.

Definition at line 16 of file ena.h.

◆ type

uint8_t type

Operating system type.

Type string.

Patch type.

Type.

Definition at line 12 of file ena.h.

Referenced by amd8111e_transmit(), aoecmd_create(), ar9002_hw_set11n_txdesc(), ar9003_hw_set11n_txdesc(), arbel_create_recv_wq(), asn1_enter(), asn1_generalized_time(), asn1_header(), asn1_prepend(), asn1_shrink(), asn1_skip(), asn1_skip_if_exists(), asn1_start(), asn1_type(), asn1_wrap(), atadev_command(), atadev_edd_describe(), ath5k_create_power_curve(), ath5k_hw_gainf_calibrate(), ath5k_hw_reset_key(), ath5k_hw_setup_2word_tx_desc(), ath5k_hw_setup_4word_tx_desc(), ath5k_hw_txpower(), ath5k_setup_channel_powertable(), ath9k_hw_gpio_cfg_output_mux(), ath9k_hw_set11n_txdesc(), ath9k_hw_set_reset(), ath9k_hw_set_reset_reg(), ath9k_hw_setuptxqueue(), bios_reboot(), bnx2_transmit(), bnxt_hwrm_ring_alloc(), cms_parse_content_type(), denumerate_int_setting(), dhcpv6_type_name(), dmfe_transmit(), dns_type(), downloader_vredirect(), eapol_tx(), edd_describe(), eepro_transmit(), efi_allocate_pages_wrapper(), efi_allocate_type(), efi_create_event_ex_wrapper(), efi_create_event_wrapper(), efi_file_get_info(), efi_file_set_info(), efi_handle_name(), efi_image_exec(), efi_memory_type(), efi_pxe_discover(), efi_reboot(), efi_reset_system_wrapper(), efi_reset_type(), efi_set_timer_wrapper(), efi_timer_delay(), epic100_transmit(), eth_slow_lacp_tlv_name(), eth_slow_marker_tlv_name(), eth_transmit(), fc_els_prli(), fc_els_prli_descriptor(), fc_ulp_create(), fc_ulp_get_port_id_type(), fc_ulp_get_type(), fc_ulp_get_wwn_type(), fc_xchg_create(), fc_xchg_originate(), fc_xchg_respond(), fcpdev_edd_describe(), find_setting_type(), flexboot_nodnic_set_ports_type(), format_int_setting(), format_uint_setting(), format_uuid_setting(), gdbmach_set_breakpoint(), golan_eqe_type_str(), golan_qp_type_to_st(), guestinfo_fetch(), guestinfo_fetch_type(), gve_alloc_queue(), gve_create_queue(), gve_create_rx_param(), gve_create_tx_param(), gve_destroy_queue(), http_open_uri(), hv_post_message(), ib_create_mi(), ib_create_qp(), ice_admin_switch(), icmpv4_rx(), icmpv6_handler(), igbvf_promisc_set_vf(), image_probe(), int13con_find(), intf_get_dest_op_no_passthru_untyped(), intf_get_dest_op_untyped(), intf_poke(), ipair_key(), iscsi_handle_string(), iscsi_vredirect(), mlx_get_max_speed(), mlx_set_link_speed(), ne_transmit(), net80211_probe_step(), net80211_rx(), nodnic_port_create_qp(), nodnic_port_get_type(), ns8390_transmit(), numerate_int_setting(), ocsp_parse_responder_id(), oncrpc_compute_size(), parse_int_setting(), parse_uuid_setting(), pci_bar_set(), png_canonical_type(), png_chunk(), png_type_name(), pnm_data(), pnm_type(), rndis_rx(), rndis_rx_message(), rndis_tx_message(), rndis_tx_oid(), scsidev_command(), setting_denumerate(), setting_format(), setting_numerate(), setting_parse(), setting_type_int_index(), setting_type_int_is_signed(), setting_type_int_width(), smbios_structure(), srpdev_deliver(), t509_poll(), t515_poll(), t595_poll(), tls_client_hello(), tls_new_handshake(), tls_new_record(), tls_new_server_hello(), tls_send_plaintext(), tls_send_record(), txnic_bgx_detect(), txnic_bgx_init(), txnic_bgx_probe(), usb_clear_feature(), usb_endpoint_clear_halt(), usb_endpoint_described(), usb_endpoint_descriptor(), usb_get_descriptor(), usb_get_status(), usb_set_feature(), usbhid_set_report(), virtio_pci_find_capability(), vmbus_find_driver(), vmbus_post_empty_message(), vmbus_probe_channels(), vmbus_reset_channels(), vmbus_wait_for_message(), x509_check_alt_name(), xenbus_find_driver(), xenbus_probe(), xenbus_probe_device(), xenbus_probe_type(), xenstore_message(), xenstore_request(), xfer_open(), xfer_redirect(), xfer_vopen(), xfer_vredirect(), xfer_vreopen(), xhci_context(), xhci_device_open(), xhci_enable_slot(), xhci_endpoint_open(), xhci_event_poll(), xhci_port_protocol(), xhci_port_slot_type(), xsmp_session_type(), xsmp_tx_session(), xsmp_tx_xve_notify(), and xsmp_xve_type().

◆ dist_str

char dist_str[128]

Operating system distribution (string)

Definition at line 14 of file ena.h.

◆ dist

uint32_t dist

Operating system distribution (numeric)

Definition at line 16 of file ena.h.

◆ kernel_str

char kernel_str[32]

Kernel version (string)

Definition at line 18 of file ena.h.

◆ kernel

uint32_t kernel

Kernel version (numeric)

Definition at line 20 of file ena.h.

Referenced by comboot_fetch_kernel(), and shim_exec().

◆ linux_features

uint64_t linux_features

Linux network device features.

Definition at line 24 of file ena.h.

◆ spec

uint16_t spec

ENA specification version.

Definition at line 26 of file ena.h.

Referenced by sky2_phy_init(), tls_new_change_cipher(), and tls_send_change_cipher().

◆ busdevfn

uint16_t busdevfn

◆ cpus

uint16_t cpus

Number of CPUs.

Definition at line 30 of file ena.h.

◆ direction

sq direction = direction

◆ policy

Policy.

Definition at line 18 of file ena.h.

◆ cq_id

uint16_t cq_id

Completion queue identifier.

Definition at line 20 of file ena.h.

◆ address

uint64_t address
Initial value:
{
return ioread8 ( ns16550->base + address )
uint64_t address
Base address.
Definition: ena.h:24
uint8_t ioread8(volatile uint8_t *io_addr)
Read byte from I/O-mapped or memory-mapped device.

Base address.

Address.

Definition at line 24 of file ena.h.

Referenced by a3c90x_internal_ReadEeprom(), acpi_ioremap(), ar9300_eeprom_read_byte(), ar9300_eeprom_read_word(), ar9300_read_eeprom(), ar9300_read_otp(), atl_rx_ring_fill(), atl_transmit(), b44_address_ok(), comboot_resolv(), dhcpv6_iaaddr(), dt_ioremap(), efi_pxe_ip(), ehci_device_address(), ena_refill_rx(), ena_transmit(), falcon_spi_rw(), fdt_reg_address(), find_usb(), find_usb_bus(), i2c_select(), ice_admin_add_txq(), ice_context_rx(), icplus_read_eeprom(), icplus_refill_rx(), icplus_transmit(), initrd_load(), initrd_load_all(), int13_boot(), int13_get_extended_parameters(), int13_load_eltorito(), int13_load_mbr(), intel_create_ring(), intel_read_eeprom(), intelxl_admin_command(), intelxl_admin_event_init(), intelxl_context_rx(), intelxl_context_tx(), intelxl_create_ring(), intelxl_enable_admin(), ipv4_add_miniroute(), ipv4_add_miniroutes(), ipv4_add_static(), ipv4_arp_check(), ipv4_gratuitous_arp(), ipv4_settings(), ipv6_add_miniroute(), ipv6_match_len(), ipv6_miniroute(), ipv6_table_okx(), isapnp_read_byte(), isapnp_read_word(), isapnp_write_address(), isapnp_write_byte(), linda_ib_epb_ram_xfer(), mii_find(), mii_init(), mlx_pci_gw_read(), mlx_pci_gw_write(), mp_address(), myson_create_ring(), myson_refill_rx(), myson_transmit(), natsemi_create_ring(), natsemi_refill_rx(), natsemi_transmit(), nodnic_cmd_read(), nodnic_cmd_write(), nodnic_port_add_mac_filter(), nodnic_port_allocate_dbr_dma(), nodnic_port_allocate_eq(), nodnic_port_create_cq(), nodnic_port_create_qp(), nvo_init(), nvs_frag_len(), nvs_read(), nvs_verify(), nvs_vpd_nvo_init(), nvs_vpd_read(), nvs_vpd_resize(), nvs_vpd_write(), nvs_write(), pci_msix_dump(), pci_msix_map(), pci_vpd_dump(), pci_vpd_find(), pci_vpd_find_tag(), pci_vpd_read(), pci_vpd_read_dword(), pci_vpd_resize(), pci_vpd_write(), pci_vpd_write_dword(), peerdisc_socket_tx(), realtek_create_ring(), rhine_create_ring(), rhine_refill_rx(), rhine_transmit(), route_ipv4_print(), rtc_read_time(), rtc_readb(), rtc_readb_bcd(), slam_parse_multicast_address(), smc9000_probe(), smscusb_eeprom_read(), smscusb_eeprom_read_byte(), smscusb_otp_fetch_mac(), smscusb_otp_read(), smscusb_otp_read_byte(), smscusb_raw_readl(), smscusb_raw_writel(), spi_bit_rw(), spi_command(), spi_read(), spi_write(), tftp_set_mtftp_address(), threewire_read(), threewire_write(), uhci_device_address(), usb_alloc_address(), usb_endpoint(), usb_endpoint_describe(), usb_endpoint_name(), usb_free_address(), usb_port(), usb_set_address(), and x509_check_ipaddress().

◆ writeback

uint64_t writeback

Writeback address.

Definition at line 26 of file ena.h.

◆ doorbell

uint32_t doorbell

Doorbell register offset.

Definition at line 18 of file ena.h.

Referenced by gve_configure(), gve_refill_rx(), and gve_transmit().

◆ llqe

uint32_t llqe

LLQ descriptor ring offset.

Definition at line 20 of file ena.h.

Referenced by ena_create_sq(), and ena_transmit().

◆ intr

uint32_t intr

◆ vector

uint32_t vector

◆ node

uint32_t node

NUMA node register offset.

Definition at line 18 of file ena.h.

Referenced by ice_admin_schedule(), and ice_admin_schedule_is_parent().

◆ len

uint16_t len

Length.

Definition at line 14 of file ena.h.

◆ feature

◆ scope

uint8_t scope

Scope.

Definition at line 18 of file ena.h.

Referenced by ipv4_route_okx(), and ipv6_route().

◆ queue

uint16_t queue

◆ device

◆ tx_bytes

uint64_t tx_bytes

Transmit byte count.

Definition at line 14 of file ena.h.

◆ tx_packets

uint64_t tx_packets

Transmit packet count.

Definition at line 16 of file ena.h.

◆ rx_bytes

uint64_t rx_bytes

Receive byte count.

Definition at line 18 of file ena.h.

◆ rx_packets

uint64_t rx_packets

Receive packet count.

Definition at line 20 of file ena.h.

◆ rx_drops

uint64_t rx_drops

Receive drop count.

Definition at line 22 of file ena.h.

◆ group

uint8_t group

Type of event.

Group number.

Definition at line 12 of file ena.h.

Referenced by dwgpio_group_probe(), dwgpio_group_remove(), dwgpio_probe(), and vmbus_signal_monitor().

◆ syndrome

u8 syndrome

ID of event.

Definition at line 14 of file ena.h.

Referenced by arbel_complete(), hermon_complete(), and shomron_fill_completion().

◆ timestamp

uint64_t timestamp

Timestamp.

Definition at line 20 of file ena.h.

Referenced by ath_ani_calibrate(), ath_isr(), ath_start_ani(), and librm_test_exec().

◆ data

char data

Additional event data.

Vendor-specific data.

Message.

Definition at line 22 of file ena.h.

Referenced by a3c90x_internal_ReadEeprom(), acpi_extract(), acpi_extract_sx(), acpi_settings_fetch(), acpi_zsdt(), acpimac_extract(), acpimac_extract_auxmac(), acpimac_extract_rtxmac(), alloc_iob_raw(), aoecmd_ata_cmd(), aoecmd_ata_rsp(), aoecmd_cfg_cmd(), aoecmd_cfg_rsp(), ar5008_write_rf_array(), ar9300_check_header(), ar9300_comp_cksum(), ar9300_eeprom_restore_flash(), ar9300_otp_read_word(), ar9300_read_otp(), arbel_create_recv_wq(), arbel_event_port_state_change(), arbel_fill_mlx_send_wqe(), arbel_fill_rc_send_wqe(), arbel_fill_ud_send_wqe(), arbel_post_recv(), asn1_enter_bits(), asn1_generalized_time(), asn1_prepend(), asn1_prepend_raw(), ata_command(), atacmd_data_buffer(), atacmd_data_priv(), ath5k_eeprom_is_hb63(), ath5k_eeprom_read_mac(), ath5k_hw_eeprom_read(), ath5k_hw_gainf_calibrate(), ath5k_hw_get_isr(), ath5k_hw_get_rx_filter(), ath5k_hw_rf2425_channel(), ath5k_hw_rf5110_channel(), ath5k_hw_rf5112_channel(), ath5k_hw_rfb_op(), ath5k_hw_set_gpio(), ath5k_hw_set_gpio_intr(), ath5k_hw_set_rx_filter(), ath5k_hw_tweak_initval_settings(), ath5k_hw_wake(), ath9k_hw_nvram_read(), ath9k_hw_usb_gen_fill_eeprom(), ath_pci_eeprom_read(), atl2_hw_read_shared_in_(), atl2_hw_write_shared_in_(), axge_read_register(), axge_write_register(), b44_cam_write(), b44_read_eeprom(), base64_decode(), base64_encode(), bigint_init_sample(), block_read(), block_read_capacity(), block_write(), bnx2_poll(), bnx2_transmit(), buildarch_fetch(), builtin_fetch(), cachedhcp_record(), ccmp_cbc_mac(), cdc_get_encapsulated_response(), cdc_send_encapsulated_command(), cgem_mii_read(), cgem_mii_write(), chap_update(), cms_digest(), cms_verify_digest(), cms_verify_padding(), cms_verify_signer(), copy_encap_settings(), copy_to_rm_stack(), cpio_okx(), cpuid_settings_fetch(), crc32_le(), create_fakedhcpack(), create_fakedhcpdiscover(), create_fakepxebsack(), cwduri_fetch(), cwuri_fetch(), cwuri_fetch_uri(), dbg_hex_dump_da(), dbg_hex_dump_da_row(), dbg_md5_da(), deflate_consume(), deflate_extract(), deflate_inflate(), deflate_okx(), der_asn1(), dhcp_create_packet(), dhcp_create_request(), dhcpopt_fetch(), dhcpopt_init(), dhcpopt_store(), dhcppkt_fetch(), dhcppkt_init(), dhcppkt_settings_fetch(), dhcppkt_settings_store(), dhcppkt_store(), dhcpv6_fetch(), dhcpv6_fetch_gateway6(), dhcpv6_fetch_ip6(), dhcpv6_fetch_len6(), dhcpv6_register(), dhcpv6_user_class(), digest_frag_okx(), digest_update(), dm96xx_read_registers(), dm96xx_write_registers(), dns_copy_okx(), dns_decode(), dns_encode_okx(), drbg_generate(), drbg_generate_algorithm(), drbg_instantiate(), drbg_reseed(), eap_rx(), eapol_eap_tx(), eapol_tx(), efi_apple_get_bsdp_response(), efi_apple_get_dhcp_response(), efi_apple_get_response(), efi_block_io_read(), efi_block_io_read_blocks(), efi_block_io_write(), efi_block_io_write_blocks(), efi_block_rw(), efi_cacert(), efi_cacert_all(), efi_disk_io_read_disk(), efi_disk_io_write_disk(), efi_fdt_len(), efi_file_get_info(), efi_file_info(), efi_file_load(), efi_file_read(), efi_file_read_chunk(), efi_file_read_dir(), efi_file_varlen(), efi_get_variable_wrapper(), efi_ifr_package(), efi_install_table(), efi_mp_call(), efi_mp_exec_boot(), efi_mp_start_all(), efi_path_fetch(), efi_path_fetch_dns(), efi_path_fetch_fixed(), efi_pxe_mtftp(), efi_pxe_udp_read(), efi_pxe_udp_write(), efi_reset_system_wrapper(), efi_set_variable_wrapper(), efi_shim_get_variable(), efi_shim_set_variable(), efi_snp_nvdata(), efi_snp_receive(), efi_snp_transmit(), efi_undi_checksum(), efi_undi_fill_header(), efi_undi_receive(), efi_undi_transmit(), efi_usb_async_isochronous_transfer(), efi_usb_bulk_transfer(), efi_usb_control_transfer(), efi_usb_isochronous_transfer(), efi_usb_sync_interrupt_transfer(), efi_usb_sync_transfer(), efi_watchdog_expired(), efisig_asn1(), efisig_find(), efivars_fetch(), ehci_endpoint_stream(), ehci_enqueue(), embedded_init(), epic100_transmit(), errno_fetch(), exanic_i2c_write_bit(), exanic_transmit(), falcon_i2c_bit_write(), fc_els_detect(), fc_els_echo_detect(), fc_els_echo_rx(), fc_els_echo_rx_request(), fc_els_echo_rx_response(), fc_els_flogi_detect(), fc_els_flogi_rx(), fc_els_logo_detect(), fc_els_logo_rx(), fc_els_logo_rx_request(), fc_els_plogi_detect(), fc_els_plogi_rx(), fc_els_prli_detect(), fc_els_prli_rx(), fc_els_rtv_detect(), fc_els_tx(), fc_els_unknown_rx(), fcp_prli_detect(), fcp_prli_rx(), fdt_bootargs(), fdt_describe(), fdt_set(), fdt_strings(), fetch_raw_setting(), fetch_raw_setting_copy(), fetch_setting(), fetch_setting_alloc(), fetch_setting_copy(), fetch_string_setting(), fetch_string_setting_copy(), flexboot_nodnic_arm_cq(), ftp_control_deliver(), gdbstub_cksum(), generic_settings_fetch(), generic_settings_store(), generic_tcpip_continue_chksum(), get_entropy_input(), get_entropy_input_tmp(), get_random_nz(), golan_create_qp_aux(), golan_post_recv(), golan_post_send(), guestinfo_fetch(), guestinfo_fetch_type(), guestrpc_command(), guestrpc_command_data(), guestrpc_reply_data(), gzip_extract(), heap_realloc(), hermon_create_qp(), hermon_event_port_state_change(), hermon_fill_eth_send_wqe(), hermon_fill_mlx_send_wqe(), hermon_fill_rc_send_wqe(), hermon_fill_ud_send_wqe(), hermon_post_recv(), hex_decode(), hex_encode(), hmac_drbg_generate(), hmac_drbg_update(), hmac_drbg_update_key(), hmac_update(), http_block_read(), http_block_read_capacity(), http_open_uri(), hub_complete(), hv_post_message(), hv_wait_for_message(), i2c_bit_read(), i2c_bit_write(), i386_readq(), i386_writeq(), ibft_install(), ibft_set_string(), icert_certs(), icplus_mii_write_bit(), icplus_read_eeprom(), ifec_spi_write_bit(), image_memory(), image_set_data(), imgmem(), imgmem_exec(), initrd_reverse(), initrd_squash_high(), initrd_swap(), inject_corruption_nonzero(), intel_read_eeprom(), iob_pad(), iob_populate(), ipair_rx_pubkey(), ipv4_add_static(), ipv6_fetch(), isapnp_try_isolate(), isapnp_write_data(), iscsi_build_login_request_strings(), iscsi_rx_bhs(), iscsi_rx_buffered_data(), iscsi_rx_data(), iscsi_rx_data_in(), iscsi_rx_login_response(), iscsi_rx_scsi_response(), iscsi_socket_deliver(), linda_i2c_write_bit(), linda_ib_epb_ram_xfer(), linda_ib_epb_read(), linda_ib_epb_write(), linda_post_send(), line_buffer(), linebuf_consume_okx(), lldp_fetch(), lldp_rx(), loopback_wait(), md4_update(), md5_sha1_update(), md5_update(), memmap_settings_fetch(), mii_bit_rw(), mii_bit_write(), mii_dump(), mii_write(), mlx_icmd_read_buffer(), mlx_icmd_send_command(), mlx_icmd_write_buffer(), myri10ge_command(), myri10ge_net_close(), myri10ge_net_open(), myri10ge_nvs_read(), natsemi_spi_write_bit(), ndp_fetch(), ndp_prefix_fetch(), ndp_prefix_fetch_gateway6(), ndp_prefix_fetch_ip6(), ndp_prefix_fetch_len6(), ndp_tx_ll_addr(), netdev_fetch(), netdev_fetch_busid(), netdev_fetch_busloc(), netdev_fetch_bustype(), netdev_fetch_chip(), netdev_fetch_hwaddr(), netdev_fetch_ifname(), netdev_fetch_linktype(), netdev_fetch_mac(), netdev_store(), netdev_store_mac(), netvsc_buffer_copy(), netvsc_control(), netvsc_initialised(), netvsc_recv_completion(), netvsc_recv_control(), netvsc_recv_data(), netvsc_rx_established_buffer(), nii_io(), ns16550_transmit(), nslookup_resolv_done(), ntlm_append(), ntlm_append_string(), ntlm_data_okx(), nvconfig_get_boot_default_conf(), nvconfig_get_boot_ext_default_conf(), nvconfig_get_ib_boot_default_conf(), nvconfig_get_ib_dhcp_default_conf(), nvconfig_get_iscsi_gen_default_conf(), nvconfig_get_iscsi_init_dhcp_default_conf(), nvconfig_get_nv_virt_caps_default_conf(), nvconfig_get_nv_virt_default_conf(), nvconfig_get_ocsd_ocbb_default_conf(), nvconfig_get_rom_banner_to_default_conf(), nvconfig_get_rom_cap_default_conf(), nvconfig_get_vpi_link_default_conf(), nvconfig_get_wol_default_conf(), nvconfig_nvdata_access(), nvconfig_nvdata_default_access(), nvconfig_nvdata_read_default_value(), nvo_checksum(), nvo_fetch(), nvo_store(), nvs_read(), nvs_verify(), nvs_vpd_read(), nvs_vpd_write(), nvs_write(), ocsp_response(), oncrpc_iob_add_array(), pci_msix_dump(), pci_msix_map(), pci_settings_fetch(), pci_vpd_read(), pci_vpd_read_dword(), pci_vpd_write(), pci_vpd_write_dword(), peerblk_decrypt(), peerblk_decrypt_read(), peerblk_decrypt_write(), peerdist_discovery_reply(), peerdist_discovery_reply_tag(), peerdist_discovery_reply_values(), peerdist_info(), peerdist_info_get(), pem_asn1(), pem_marker(), pem_next(), phantom_clp_cmd(), phantom_clp_fetch(), phantom_clp_store(), phantom_fetch_setting(), phantom_store_setting(), pinger_generate(), pinger_verify(), platform_fetch(), png_pixels_pass(), png_unfilter_pass(), prf_sha1(), pxe_checksum(), qib7322_ahb_read(), qib7322_ahb_write(), qib7322_i2c_write_bit(), qib7322_post_send(), rbg_generate(), rdc_mii_write(), realtek_mii_write(), realtek_spi_write_bit(), remove_from_rm_stack(), rfc_tcpip_chksum(), rhine_mii_write(), rndis_oid(), rndis_tx_oid(), rtl818x_spi_write_bit(), rtl818x_write_phy(), rtl8225_write(), rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), scsi_command(), scsi_parse_sense(), serial_getchar(), set_dhcp_option(), sha1_update(), sha256_update(), sha512_update(), sis190_read_eeprom(), slam_pull_value(), slam_put_value(), smbios_fetch(), smscusb_eeprom_read(), smscusb_mii_write(), smscusb_otp_read(), spi_read(), spi_write(), srp_login_rej(), srp_login_rsp(), srp_rsp(), srp_unrecognised(), srpdev_deliver(), store_setting(), sysmac_fetch(), t509_id_read_eeprom(), tcp_rx_opts(), tcpip_chksum(), tcpip_continue_chksum(), tcpip_random_okx(), tftp_rx_data(), threewire_read(), threewire_write(), tkip_michael(), TLan_DioWrite16(), TLan_DioWrite32(), TLan_DioWrite8(), TLan_EeReadByte(), TLan_EeReceiveByte(), TLan_EeSendByte(), TLan_FinishReset(), TLan_MiiSendData(), TLan_PhyFinishAutoNeg(), TLan_PhyStartLink(), tlan_probe(), TLan_ResetAdapter(), tls_add_handshake(), tls_client_hello(), tls_generate_random(), tls_hmac(), tls_hmac_update(), tls_hmac_update_va(), tls_new_certificate(), tls_new_finished(), tls_new_server_hello(), tls_new_server_hello_done(), tls_new_server_key_exchange(), tls_new_session_ticket(), tls_parse_chain(), tls_send_certificate(), tls_send_client_key_exchange_dhe(), tls_send_handshake(), tls_send_plaintext(), tls_verify_dh_params(), uhci_describe(), unixtime_fetch(), usb_control(), usb_get_config_descriptor(), usb_get_descriptor(), usb_get_device_descriptor(), usb_get_mtu(), usb_get_status(), usb_hub_get_descriptor(), usb_settings_fetch(), usbblk_in_data(), usbblk_in_status(), usbblk_scsi_command(), usbhid_set_report(), usbio_control_poll(), usbio_interrupt_callback(), usbio_interrupt_open(), usbnet_data_describe(), used_len_ipv4(), used_len_string(), validator_ocsp_validate(), velocity_mii_write(), velocity_refill_rx(), version_fetch(), vmbus_consume(), vmbus_establish_gpadl(), vmbus_poll(), vmbus_produce(), vmbus_send(), vmbus_send_completion(), vmbus_send_control(), vmbus_send_data(), vpm_ioread16(), vpm_ioread32(), vpm_ioread8(), vpm_iowrite16(), vpm_iowrite32(), vpm_iowrite64(), vpm_iowrite8(), vram_fetch(), write_bit(), write_grf5101(), write_max2820(), write_sa2400(), x509_append_raw(), x509_certificate(), xenstore_recv(), xenstore_send(), xfer_deliver_raw(), xfer_deliver_raw_meta(), xferbuf_fixed_init(), xferbuf_read(), xferbuf_write(), xhci_endpoint_message(), xhci_endpoint_stream(), zalloc(), and zlib_deflate().

◆ inlined

uint8_t inlined

Inlined length.

Inlined header data.

Definition at line 638 of file ena.h.

Referenced by ena_transmit().

◆ meta

struct ena_tx_sqe meta

◆ sqe

struct ena_tx_sqe sqe

Transmit descriptor.

Definition at line 14 of file ena.h.

Referenced by ena_refill_rx(), ena_transmit(), and txnic_send().

◆ ids

ring ids
Initial value:
{
sq->len = ( count * size )
struct ena_llq_option size
Entry sizes.
Definition: ena.h:18
uint32_t count
Maximum queue depth.
Definition: ena.h:14

Definition at line 770 of file ena.h.

Referenced by dt_find_driver(), and xcm_list().

◆ requested

cq requested = count

Definition at line 822 of file ena.h.