FMC Soft parser: Custom protocol between L2 and L3 or before L2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FMC Soft parser: Custom protocol between L2 and L3 or before L2

861 Views
dmitryslezkin
Contributor II

Hello!

 

I have a problem in configuring PCD soft parser for following purpose.

We have to place custom protocol after Ethernet frame and before any higher level container (VLAN, MPLS, IP, etc.) and furthermore classify and/or distribute such frames basing on L3/L4 fields (e.g. ipv4.src or udp.dport).

The protocol has it's own Ether Type and contains in it's fields (in the last field) Ether Type of the next protocol.

When I try to write policy/custom prot. files as it explained in documentation (I could not found detailed document, only briefs), I successfully classified frames by (first) Ether Type, but I have not found the way to detect next protocols: How to send FMC the place of next protocol Ether Type?

 

Processor used: T4240RDB, SDK: 1.9.

 

I attach config, policy and protocol definition.

With this configuration all frames reaches distribution "stack" (fqid = 0x1520), but desired distribution is "dist" (fqid 0x1501, 0x1502).

 

The netx protocol Ether Type placed in "et" field.

Please help me with more detailed documentation about Soft Parser or explain which variables lihe "$shimoffset_1" need to be changed or something else.

 

The model form presentation (page 42) would be suitable for us, but unfortunately protocol xml example given below is not for this case.

 

Thank you! 

Original Attachment has been moved to: policy.xml.zip

Original Attachment has been moved to: prt.xml.zip

Original Attachment has been moved to: config.xml.zip

0 Kudos
Reply
1 Reply

570 Views
bpe
NXP Employee
NXP Employee

Discussion of this issue may require sharing NDA-covered materials which is not possible in public Forums. Please  open a Support Case for it. Instructions can be found at the link below:

https://community.nxp.com/docs/DOC-329745 

0 Kudos
Reply