I read the 6670 UG and CPPI UG and the example is related to loopback.
In the example ,the setting are as follows:
for(idx =0; idx < 7; idx++){ //push 7 packets into Tx queue for test
tmp[idx] = pop_queue(MONO_TX_COMPLETE_Q);
tmp[idx] &= 0xFFFFFFF0;//set DESC_SIZE field to zero
mono_pkt = (MNAV_MonolithicPacketDescriptor *)tmp[idx];
//Create Mono packet (initialize non-zero fields)
mono_pkt->type_id = MNAV_DESC_TYPE_MONO;
mono_pkt->data_offset = MNAV_MONO_PACKET_SIZE + 4;//16
if(idx == 0)
mono_pkt->packet_length = 8832;//first symbol
else mono_pkt->packet_length = 8768;//other six symbols
mono_pkt->ps_flags = 1;
mono_pkt->epib = 0;
mono_pkt->psv_word_count = 1; // 4 byte PS field length
mono_pkt->pkt_return_qnum = MONO_TX_COMPLETE_Q;
mono_pkt->src_tag_lo = 0; //copied to .flo_idx of streaming i/f
temp = (Uint32 *)(tmp[idx] + 16);
if(idx == 0){
for (idx2 = 0; idx2 < 2208; idx2 ++) temp[idx2] = idx2; //payload data setup(first symbol)
}
else {
for (idx2 = 0; idx2 < 2192; idx2 ++) temp[idx2] = idx2; //payload data setup(other six symbols)
}
the line marked in red dedicats the flow ID according to the UG.
In this module ,I have a question ,if I don't wanna use loopback ,TX only,then,which value shoulud be programmed ?
thanks a lot~!