Data Fields
paEthInfo2_t Struct Reference

Enhanced MAC/Ethernet lookup information. More...

#include <pa.h>

Data Fields

uint32_t validBitMap
paMacAddr_t src
paMacAddr_t dst
uint16_t vlan
uint16_t ethertype
uint32_t mplsTag
uint16_t inport

Detailed Description

Enhanced MAC/Ethernet lookup information.

paEthInfo2_t is the upgraded version of paEthInfo_t to support additional MAC lookup parameters over time while still maintaining backward compatibility. Future feature enhancements will be supported through this API data structure only.

Since not all fields are used all the time, validBitmap is used to specify which field is used for packet classification.


Field Documentation

paMacAddr_t paEthInfo2_t::dst

Destination MAC address

Ethertype field.

Input EMAC port number as specified by Ethernet MAC port

MPLS tag. Only the outer tag is examined

paMacAddr_t paEthInfo2_t::src

Source MAC addresss

32-bit valid Bitmap corresponding to each optional field as defined at PA ETH Info Valid Bit Definitions

VLAN tag VID field, 12 lsbs


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

Copyright 2014, Texas Instruments Incorporated