base offset. if the valuetype is U8 the offset can be odd or even.

 

If the ValueType is U16, U32 or U64 then the offset can only be

 

even. This field is not valid for any other value type.

 

 

Mask

Mask, used to select the individual bits to be matched in a

 

packet. If ActVal is SetBase and SBaseType is Compute then

 

this value is used to specify the mask, which shall be used to

 

identify the individual bits of the field of the packet used to

 

compute the new base offset. This field is valid only if the

 

ValueType is U8, U16, U32 or U64. This field is also valid if the

 

ActVal is MatchInGenList.

 

 

Value

Value, to be matched. For NonLinear node types, this field is not

 

valid. For Linear node types, this value is used to specify the

 

start of the range. if ActVal is SetBase and SBaseTypeis

 

Compute then this field is used to specify the value,

 

which is to be added to base offset to calculate new base offset.

 

If the ActVal is SetPrio or RetagPrio then this field is used to

 

specify the priority which is to be assigned to the packet. If the

 

ActVal is MatchInGenList then this field is not

 

valid. If the ActVal is Count then this field is read only and

 

specifies total number of octet of the packets hitting this node.

 

 

Value End

For Linear nodes this field is used to specify the end of the

 

range. If the ActVal is InRange then this field is used to specify

 

the end of the range. If the ActVal is count then this field is used

 

to specify the total number of packet hitting this node. For other

 

actions this field is not valid.

 

 

Set Base type

SetBaseType is used to specify whether the base off set is to be

 

set to an absolute value, or some value is to be added to existing

 

base offset value to calculate new base offset value or the new

 

base offset value is to be computed using some value in the

 

packet. This field is valid only if the ActVal is SetBase.

 

 

Shift Count

ShiftCount, is the number of times the Value in the packet is to

 

be shifted before multiplying it with the Mplr. This field is valid

 

only if the ActVal is SetBase. Value 32 is used to set shift count

 

to an invalid value.

 

 

Multiplier

Multiplier is used to multiply the value shifted by ShiftCount. It is

 

used to calculate the new base offset. This field is valid only if

 

the ActVal is SetBase.

 

 

Description

Description of the profile node. If the ActVal is FwdToCtl or

 

CpToCtl then this field is mandatory and it can be used by the

 

applications to receive the packets coming from control plane

 

 

354

IDL series User Guide