iPXE
intelxl_nic Struct Reference

An Intel 40 Gigabit network card. More...

#include <intelxl.h>

Data Fields

void * regs
 Registers.
struct dma_devicedma
 DMA device.
size_t mfs
 Maximum frame size.
unsigned int pf
 Physical function number.
unsigned int base
 Absolute queue number base.
unsigned int port
 Port number.
unsigned int queue
 Queue number.
unsigned int vsi
 Virtual Station Interface switching element ID.
unsigned int qset
 Queue set handle.
uint32_t teid
 Transmit element ID.
uint32_t caps
 Device capabilities.
unsigned int intr
 Interrupt control register.
unsigned int exp
 PCI Express capability offset.
struct pci_msix msix
 MSI-X interrupt.
struct intelxl_admin command
 Admin command queue.
struct intelxl_admin event
 Admin event queue.
unsigned int vopcode
 Current VF opcode.
struct intelxl_ring tx
 Transmit descriptor ring.
struct intelxl_ring rx
 Receive descriptor ring.
struct io_bufferrx_iobuf [INTELXL_RX_NUM_DESC]
 Receive I/O buffers.
void(* handle )(struct net_device *netdev, struct intelxl_admin_descriptor *evt, union intelxl_admin_buffer *buf)
 Handle admin event.

Detailed Description

An Intel 40 Gigabit network card.

Definition at line 899 of file intelxl.h.

Field Documentation

◆ regs

◆ dma

struct dma_device* intelxl_nic::dma

◆ mfs

◆ pf

unsigned int intelxl_nic::pf

Physical function number.

Definition at line 908 of file intelxl.h.

Referenced by ice_admin_add_txq(), ice_probe(), intelxl_open(), and intelxl_probe().

◆ base

unsigned int intelxl_nic::base

Absolute queue number base.

Definition at line 910 of file intelxl.h.

Referenced by intelxl_close(), intelxl_context_dump(), intelxl_context_line(), intelxl_open(), and intelxl_probe().

◆ port

unsigned int intelxl_nic::port

Port number.

Definition at line 912 of file intelxl.h.

Referenced by ice_admin_add_txq(), ice_admin_rules(), ice_probe(), and intelxl_probe().

◆ queue

unsigned int intelxl_nic::queue

◆ vsi

◆ qset

unsigned int intelxl_nic::qset

Queue set handle.

Definition at line 918 of file intelxl.h.

Referenced by intelxl_admin_vsi(), and intelxl_context_tx().

◆ teid

uint32_t intelxl_nic::teid

Transmit element ID.

Definition at line 920 of file intelxl.h.

Referenced by ice_admin_add_txq(), ice_admin_disable_txq(), and ice_admin_schedule().

◆ caps

uint32_t intelxl_nic::caps

Device capabilities.

Definition at line 922 of file intelxl.h.

Referenced by intelxlvf_admin_get_resources(), and intelxlvf_probe().

◆ intr

unsigned int intelxl_nic::intr

Interrupt control register.

Definition at line 924 of file intelxl.h.

Referenced by ice_probe(), intelxl_poll(), intelxl_probe(), and intelxlvf_probe().

◆ exp

unsigned int intelxl_nic::exp

PCI Express capability offset.

Definition at line 926 of file intelxl.h.

Referenced by ice_probe(), ice_remove(), intelxl_probe(), intelxl_remove(), intelxlvf_probe(), and intelxlvf_remove().

◆ msix

struct pci_msix intelxl_nic::msix

MSI-X interrupt.

Definition at line 928 of file intelxl.h.

Referenced by intelxl_msix_disable(), and intelxl_msix_enable().

◆ command

◆ event

◆ vopcode

unsigned int intelxl_nic::vopcode

Current VF opcode.

Definition at line 936 of file intelxl.h.

Referenced by intelxlvf_admin_command(), and intelxlvf_admin_event().

◆ tx

◆ rx

◆ rx_iobuf

struct io_buffer* intelxl_nic::rx_iobuf[INTELXL_RX_NUM_DESC]

Receive I/O buffers.

Definition at line 943 of file intelxl.h.

Referenced by intelxl_empty_rx(), intelxl_poll_rx(), and intelxl_refill_rx().

◆ handle

void(* intelxl_nic::handle) (struct net_device *netdev, struct intelxl_admin_descriptor *evt, union intelxl_admin_buffer *buf)

Handle admin event.

Parameters
netdevNetwork device
evtEvent descriptor
bufData buffer

Definition at line 952 of file intelxl.h.

Referenced by ice_probe(), intelxl_poll_admin(), intelxl_probe(), and intelxlvf_probe().


The documentation for this struct was generated from the following file: