Data Fields
CpswDma_txProtoInfo_s Struct Reference

Tx protocol info structure. More...

#include <cpsw_dma_psi.h>

Data Fields

uint16_t chkSumResOffset
 
uint16_t chkSumStartByte
 
bool chkSumInv
 
uint16_t chkSumByteCnt
 

Detailed Description

Tx protocol info structure.

It contains IpV4/IpV6 protcol information including checksum. This is copied to the CPPI RX control word (UDMA channel protocol specific info).

Field Documentation

uint16_t CpswDma_txProtoInfo_s::chkSumByteCnt

Checksum byte count - number of bytes to calculate the checksum on. The outgoing Ethernet packet will have a checksum inserted when this value is non-zero

bool CpswDma_txProtoInfo_s::chkSumInv

Flag to insert invalid checksum. When true a zero checksum value will be inverted and sent as FFFFh

uint16_t CpswDma_txProtoInfo_s::chkSumResOffset

Checksum result location - packet byte number where the checksum result will be placed in the outgoing packet. The first packet byte which is the first byte of the destination address is Byte 1

uint16_t CpswDma_txProtoInfo_s::chkSumStartByte

Checksum start byte - packet byte number to start the checksum calculation on. The first packet byte is Byte 1


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

Copyright 2020, Texas Instruments Incorporated