paCmdCrcOp_t Struct Reference
[PA LLD Data Structures]

CRC Generation/Verification Command. More...

#include <pa.h>

Data Fields

uint16_t ctrlBitfield
uint16_t startOffset
uint16_t len
uint16_t lenOffset
uint16_t lenMask
uint16_t lenAdjust
uint16_t crcOffset
uint16_t frameType

Detailed Description

CRC Generation/Verification Command.

paCmdCrcOp_t is used to create CRC operation command instruct the PASS to perform CRC operation in both to-network and from-network directions. The module user is responsible for configuring the corresponding CRC engines which are used for the specified CRC operation.

In the to-network direction, the payload offset, payload length and CRC offset should be available in the command. The generated CRC will be inserted into the CRC location in the packet.

In the from-network direction, the payload length is either a constant or available in the custom header. The CRC verification will be performed by the CRC engine connected to the PDSP where the CRC command is executed. The CRC verification result will be indicated by the error flags within the CPPI descriptor as described at section table CPPI Error Flags


Field Documentation

Offset from SOP/Protocol Header to the CRC field In to-network direction: offset from SOP In from-network direction: offset from the current parsed header

CRC operation control information as defined at PA CRC Command Control Info Bit Definitions

Frame type CRC Frame types, vaild if pa_CRC_OP_CRC_FRAME_TYPE is set

Number of bytes covered by the CRC computation valid only if pa_CRC_OP_PAYLOAD_LENGTH_IN_HEADER is clear

Payload length adjustment: valid only if pa_CRC_OP_PAYLOAD_LENGTH_IN_HEADER is set

Payload length field mask

Payload length field offset in the custom header

Byte location, from SOP/Protocol Header, where the CRC computation begins if frame type is not specified Byte location, from SOP/Protocol header, where the specific frame header begins if frame type is specified In to-network direction: offset from SOP In from-network direction: offset from the current parsed header


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

Copyright 2012, Texas Instruments Incorporated