iPXE
Data Fields
intelxl_nic Struct Reference

An Intel 40 Gigabit network card. More...

#include <intelxl.h>

Data Fields

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

Detailed Description

An Intel 40 Gigabit network card.

Definition at line 919 of file intelxl.h.

Field Documentation

◆ regs

void* intelxl_nic::regs

◆ dma

struct dma_device* intelxl_nic::dma

◆ mfs

size_t intelxl_nic::mfs

◆ pf

unsigned int intelxl_nic::pf

Physical function number.

Definition at line 928 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 930 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 932 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

unsigned int intelxl_nic::vsi

◆ qset

unsigned int intelxl_nic::qset

Queue set handle.

Definition at line 938 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 940 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 942 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 944 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 946 of file intelxl.h.

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

◆ msix

struct intelxl_msix intelxl_nic::msix

MSI-X interrupt.

Definition at line 948 of file intelxl.h.

Referenced by intelxl_msix_disable(), and intelxl_msix_enable().

◆ command

struct intelxl_admin intelxl_nic::command

◆ event

struct intelxl_admin intelxl_nic::event

◆ vopcode

unsigned int intelxl_nic::vopcode

Current VF opcode.

Definition at line 956 of file intelxl.h.

Referenced by intelxlvf_admin_command(), and intelxlvf_admin_event().

◆ tx

struct intelxl_ring intelxl_nic::tx

◆ rx

struct intelxl_ring intelxl_nic::rx

◆ rx_iobuf

struct io_buffer* intelxl_nic::rx_iobuf[INTELXL_RX_NUM_DESC]

Receive I/O buffers.

Definition at line 963 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 972 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: