Hi Eric/Ti Folks,
couple of questions on packet classification.
1. In the PA_SimpleExample Project, all the configuration packets [setMacs,SetIps and SetPorts are all configured apriori]. Can i have this way of operation, before all these are done [[setMacs,SetIps and SetPorts are all configured apriori]], i want to receive the Macs,IPs,Ports through ethernet and then do the setMacs,SetIps and SetPorts. Basically my code doesn't have the Macs,Ips,Ports database, someone will send over ethernet and based on that it needs to start doing the setMacs,SetIps and SetPorts are all configured apriori ?. I assume it shud be possible.please throw more light on the same as to how to achieve it.
2. In Ti e2e posts, what i see is there are two terminologies being used, byteOffset = {2, 3, 4, 5} and byteMasks = {0x7, 0, 0, 0}. ByteMask i understand, how is byteoffset deduced, please point me to the section in the UG?
3. Here is the confusion between what UG tells and what one of the Ti e2e post says
=============================================
UG Says "
Provides 3 1st pass lookup table (LUT1) accelerators
› Supports up to 64 entries
Provides 1 2nd pass lookup table accelerator
› Supports up to 8K entries
Here if i understand correctly, there are Three Distinct/different LUT lookup Tables and each of the three LUT lookup has 64 entries possible with them.
so 1st LUT 0 -> 64 entries [This can have 64 mac entries] [PDSP0 based rule will keep check one after another for matching an entry]
so 2nd LUT 1 -> 64 entries [This can have 64 IP or other custom L3 headers entries] [PDSP1 based rule will keep check one after another for matching an entry ]
so 3rd LUT 2-> 64 entries [This can have 64 inner IP headers entries in IPsec tunnels] [PDSP2 based rule will keep check one after another for matching an entry]
so 4th LUT 3 -> 8192 entires [This can have 8192 Port entries] [PDSP3 based rule will keep check one after another for matching an entry]
One of the Ti e2e post
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/135555/541471.aspx#541471
says it other way
=========================
How to view LUT entries, is there any global structure to map the address [please let me know the addresss] view them in memory browser ?
=========================
based on UDP port range, i can classify packets and divert them to a particular queue, I can add a range of ports to a particular queue, i agree to it and i did it.
likewise, what other parameters [are provided in Ti keystone architecture ]can be used for classification. please note i am looking from Range X to Range Y kind of classification [means range x to range y shud go to a queue].
please let me know more on this and also kindly point to any such section in the Ti literature.
==========================
if the below is true
1st LUT 0 -> 64 entries [This can have 64 mac entries] [PDSP0 based rule will keep check one after another for matching an entry]
2nd LUT 1 -> 64 entries [This can have 64 IP or other custom L3 headers entries] [PDSP1 based rule will keep check one after another for matching an entry ]
3rd LUT 2-> 64 entries [This can have 64 inner IP headers entries in IPsec tunnels] [PDSP2 based rule will keep check one after another for matching an entry]
4th LUT 3 -> 8192 entires [This can have 8192 Port entries] [PDSP3 based rule will keep check one after another for matching an entry]
then a packet which is having any of the Mac1....Mac64 and having IP1....IP64 headers [with 64 inner IP headers] and any of the Port 1 to Port 8192 can clear all the classification rules ? [Assuming i have NOT GIVEN PORT RANGE for udp port based classification]
========================
given PA LLD files/examples/projects and there is NDK drivers [i assume NIMU is also part of it] also, where does these two meet.
let me explain in detail
1. PA and related config can get packets from external word [RJ 45 or AMC back plane lines] to the CPPI port and ofcourse into a queue. where does NDK drivers sit in this entire scenario and/or what role does NDK play here.
say i want to have two evms communicate between each other [i am not interested in classification or any other PA Stuff], what is it required to do using NDK drivers. Please point me to a literature which demarcates NDK and PASS.
Thanks
RC Reddy