iPXE
Defines
BOFM Ethernet parameter entry options

Defined in section 5.1 of the Open Fabric Manager Parameter Specification document. More...

Defines

#define BOFM_EN_MAP_MASK   0x0001
 Port mapping mask.
#define BOFM_EN_MAP_PFA   0x0000
 Port mapping is by PCI bus:dev.fn.
#define BOFM_EN_MAP_SLOT_PORT   0x0001
 Port mapping is by slot/port.
#define BOFM_EN_EN_B   0x0002
 MAC address B is present.
#define BOFM_EN_VLAN_B   0x0004
 VLAN tag for MAC address B is present.
#define BOFM_EN_EN_A   0x0008
 MAC address A is present.
#define BOFM_EN_VLAN_A   0x0010
 VLAN tag for MAC address A is present.
#define BOFM_EN_CSM_MASK   0x00c0
 Entry consumption indicator mask.
#define BOFM_EN_CSM_UNUSED   0x0000
 Entry has not been used.
#define BOFM_EN_CSM_SUCCESS   0x0040
 Entry has been used successfully.
#define BOFM_EN_CSM_FAILED   0x0080
 Entry has been used but failed.
#define BOFM_EN_CHG_MASK   0x0100
 Consumed entry change mask.
#define BOFM_EN_CHG_UNCHANGED   0x0000
 Consumed entry is same as previous active entry.
#define BOFM_EN_CHG_CHANGED   0x0100
 Consumed entry is different than previous active entry.
#define BOFM_EN_USAGE_HARVEST   0x1000
 Ignore values - it's harvest time.
#define BOFM_EN_USAGE_ENTRY   0x0800
 Use entry values for assignment.
#define BOFM_EN_USAGE_DEFAULT   0x0400
 Use factory default values.
#define BOFM_EN_HVST   0x2000
 Harvest complete.
#define BOFM_EN_RQ_HVST_MASK   0xc000
 Harvest request mask.
#define BOFM_EN_RQ_HVST_NONE   0x0000
 Do not harvest.
#define BOFM_EN_RQ_HVST_DEFAULT   0x4000
 Harvest factory default values.
#define BOFM_EN_RQ_HVST_ACTIVE   0xc000
 Harvest active values.

Detailed Description

Defined in section 5.1 of the Open Fabric Manager Parameter Specification document.


Define Documentation

#define BOFM_EN_MAP_MASK   0x0001

Port mapping mask.

Definition at line 210 of file bofm.h.

Referenced by bofm().

#define BOFM_EN_MAP_PFA   0x0000

Port mapping is by PCI bus:dev.fn.

Definition at line 213 of file bofm.h.

Referenced by bofm().

#define BOFM_EN_MAP_SLOT_PORT   0x0001

Port mapping is by slot/port.

Definition at line 216 of file bofm.h.

#define BOFM_EN_EN_B   0x0002

MAC address B is present.

Definition at line 219 of file bofm.h.

#define BOFM_EN_VLAN_B   0x0004

VLAN tag for MAC address B is present.

Definition at line 222 of file bofm.h.

#define BOFM_EN_EN_A   0x0008

MAC address A is present.

Definition at line 225 of file bofm.h.

Referenced by bofm_en().

#define BOFM_EN_VLAN_A   0x0010

VLAN tag for MAC address A is present.

Definition at line 228 of file bofm.h.

#define BOFM_EN_CSM_MASK   0x00c0

Entry consumption indicator mask.

Definition at line 231 of file bofm.h.

#define BOFM_EN_CSM_UNUSED   0x0000

Entry has not been used.

Definition at line 234 of file bofm.h.

#define BOFM_EN_CSM_SUCCESS   0x0040

Entry has been used successfully.

Definition at line 237 of file bofm.h.

Referenced by bofm(), and bofm_test().

#define BOFM_EN_CSM_FAILED   0x0080

Entry has been used but failed.

Definition at line 240 of file bofm.h.

Referenced by bofm().

#define BOFM_EN_CHG_MASK   0x0100

Consumed entry change mask.

Definition at line 243 of file bofm.h.

#define BOFM_EN_CHG_UNCHANGED   0x0000

Consumed entry is same as previous active entry.

Definition at line 246 of file bofm.h.

#define BOFM_EN_CHG_CHANGED   0x0100

Consumed entry is different than previous active entry.

Definition at line 249 of file bofm.h.

Referenced by bofm_en().

#define BOFM_EN_USAGE_HARVEST   0x1000

Ignore values - it's harvest time.

Definition at line 252 of file bofm.h.

Referenced by bofm_en().

#define BOFM_EN_USAGE_ENTRY   0x0800

Use entry values for assignment.

Definition at line 255 of file bofm.h.

Referenced by bofm_en().

#define BOFM_EN_USAGE_DEFAULT   0x0400

Use factory default values.

Definition at line 258 of file bofm.h.

#define BOFM_EN_HVST   0x2000

Harvest complete.

Definition at line 261 of file bofm.h.

Referenced by bofm_en(), and bofm_test().

#define BOFM_EN_RQ_HVST_MASK   0xc000

Harvest request mask.

Definition at line 264 of file bofm.h.

Referenced by bofm_en().

#define BOFM_EN_RQ_HVST_NONE   0x0000

Do not harvest.

Definition at line 267 of file bofm.h.

#define BOFM_EN_RQ_HVST_DEFAULT   0x4000

Harvest factory default values.

Definition at line 270 of file bofm.h.

#define BOFM_EN_RQ_HVST_ACTIVE   0xc000

Harvest active values.

Definition at line 273 of file bofm.h.