OpenFlow Data Plane Abstraction (OF-DPA) API Guide and Reference Manual
Data Fields
ofdpaGroupEntry_s Struct Reference

The Group Table contains one entry for each Group. More...

#include <ofdpa_datatypes.h>

Data Fields

uint32_t groupId
 Group Id.
 

Detailed Description

The Group Table contains one entry for each Group.

The table is indexed by the groupId which identifies the group entry. Data is encoded into the groupId to specify the OF-DPA group entry type and information required by OF-DPA to configure the datapath.

The groupId encoding method is:

L2 Interface and L2 Unfiltered Interface type: (MSB to LSB) 4 bits encode the Group Table Entry type | 12 bits of VLAN ID | 16 bits of port identifier

L2 Multicast, L2 Flood and L3 Multicast types: (MSB to LSB) 4 bits encode the Group Table Entry type | 12 bits of VLAN ID | 16 bits of index

L2 Rewrite, L3 Unicast, L3 Interface and L3 ECMP types: (MSB to LSB) 4 bits encode the Group Table Entry type | 28 bits of index

L2 Overlay (MSB to LSB) 4 bits encode the Group Table Entry type | 16 bits of tunnel ID | 2 bits of sub-type | 10 bits of index

MPLS Group Sub-type L2 Flood and L2 Multicast (MSB to LSB) 4 bits encode the Group Table Entry type | 4 bits of MPLS Group Sub-type | 8 bits of index | 16 bits of tunnel ID

MPLS Group Sub-types MPLS Interface, MPLS Label, MPLS Fast Failover, MPLS Protection, MPLS ECMP types (MSB to LSB) 4 bits encode the Group Table Entry type | 4 bits of MPLS Group Sub-type | 24 bits of indexGroup Table Entry

Definition at line 1972 of file ofdpa_datatypes.h.


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