Hello all,
On my custom board which is having C6678 device, trying to understand PA concept. [PDK: pdk_C6678_1_1_2_5]
As of now i tried to run PA_simpleExample in loopback mode,
i found these three settings are need to be done, [from this post : https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/205299/730658#pi316458=3]
1. Disable learning [ i did "alePortControlCfg.noLearnModeEnable = 1; " in function Switch_update_addr()]
2. Enable ALE bypass [
// if(cpswLpbkMode != CPSW_LOOPBACK_NONE)
CSL_CPSW_3GF_enableAleBypass();
]
3. Specify psFlags at each egress packet. [ dont know where i have to set this]
My UDP packet is,(which is being transmitted from PC to DSP)
00 0E A6 66 57 04 10 11 12 13 14 15 08 00 45 00 00 6C 00 00 00 00 05 11 A5 97 9E DA 6D 0A 01 02 03 04 12 34 05 55 00 58 E1 AC 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81.
Con sole msg is,
function findPacket: Timeout waiting for data packet
--- PA STATS ---
C1 number of packets: 3
C1 number IPv4 packets: 0 im expecting some value here
C1 number IPv6 packets: 0
C1 number custom packets: 0
C1 number SRIO packets: 0
C1 number llc/snap fail: 0
C1 number table matched: 0
C1 number failed table matched: 1 what does it mean??
C1 number Ingress IP frags: 0
C1 number IP depth overflow: 0
C1 number vlan depth overflow: 0
C1 number gre depth overflow: 0
C1 number mpls packets: 0
C1 number of parse fail: 0
C1 number invalid IPv6 opts: 0
C1 number of Egress IP frags: 0
C1 number of silent discard: 1 what does it mean??
C1 number of invalid control: 0
C1 number of invalid states: 0
C1 number of system fails: 0
C2 number of packets: 1
C2 number of UDP packets: 0
C2 number of TCP packets: 0
C2 number of custom packets: 0
C2 number of silent discard: 0
C2 number of invalid control: 0
Modify number of command file: 0
Function findPacket failed.
Why im not getting packets in console message??
Dump file is also attached.
pls let me know where i did mistake. Kindly help me to resolve these issues...
thanks,
Gourav jain