iPXE
txnic_bgx Struct Reference

A BGX Ethernet interface. More...

#include <thunderx.h>

Data Fields

void * regs
 Registers.
struct pci_devicepci
 PCI device.
unsigned int node
 Node ID.
unsigned int idx
 BGX index.
struct txnic_lmac_typetype
 LMAC type.
unsigned int count
 Number of LMACs.
int training
 Link training is in use.
struct list_head list
 List of BGX Ethernet interfaces.
struct txnic_pfpf
 Physical function (if known)
struct txnic_lmac lmac [TXNIC_NUM_LMAC]
 Logical MACs.

Detailed Description

A BGX Ethernet interface.

Definition at line 924 of file thunderx.h.

Field Documentation

◆ regs

void* txnic_bgx::regs

◆ pci

struct pci_device* txnic_bgx::pci

PCI device.

Definition at line 928 of file thunderx.h.

Referenced by txnic_bgx_probe(), txnic_bgx_remove(), txnic_lmac_probe(), and txnic_pf_probe().

◆ node

unsigned int txnic_bgx::node

Node ID.

Definition at line 930 of file thunderx.h.

Referenced by txnic_bgx_detect(), txnic_bgx_mac(), txnic_bgx_probe(), txnic_lmac_probe_all(), and txnic_pf_probe().

◆ idx

unsigned int txnic_bgx::idx

◆ type

struct txnic_lmac_type* txnic_bgx::type

LMAC type.

Definition at line 935 of file thunderx.h.

Referenced by txnic_bgx_detect(), txnic_bgx_init(), and txnic_bgx_probe().

◆ count

unsigned int txnic_bgx::count

Number of LMACs.

Definition at line 937 of file thunderx.h.

Referenced by txnic_bgx_detect(), txnic_bgx_init(), txnic_bgx_probe(), txnic_lmac_probe_all(), and txnic_lmac_remove_all().

◆ training

int txnic_bgx::training

Link training is in use.

Definition at line 939 of file thunderx.h.

Referenced by txnic_bgx_detect(), txnic_bgx_probe(), and txnic_bgx_spu_init().

◆ list

struct list_head txnic_bgx::list

List of BGX Ethernet interfaces.

Definition at line 942 of file thunderx.h.

Referenced by txnic_bgx_probe(), txnic_bgx_remove(), and txnic_pf_probe().

◆ pf

◆ lmac


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