Freescale application note describing how to configure the MSC8144 QUICC Engine block for extended frame filtering using Parse Command Descriptors (PCDs).
This Freescale application note describes how to configure the MSC8144 QUICC Engine block for extended frame filtering mode using programmable data structures called Parse Command Descriptors (PCDs). The MSC8144 QUICC Engine block inherently supports frame filtering, and extended parsing mode allows enhanced filtering based on fields extracted from the L2, L3, and L4 headers of a frame.
The note covers frame filtering basics and configuration examples for L2, L3, and L4 PCD filtering, including Rx global parameter RAM, extended parsing mode global parameters, PCD setup, hash lookup table initialization, and software support. The examples are also applicable to the MSC8144E and MSC8144EC QUICC Engine blocks.
| LookupKey size | up to 24 bytes |
|---|---|
| PCD length | 8–16 bytes |
| Extended parsing global parameters size | 16 bytes |
| LookupKeySize in example | 8 bytes |
| Hash key size in example | 2-bit hash key (4 sets) |
| Lookup table base address in example | 0xFEE1B000 |
| Example accepted destination MAC | 0x000000006365 |
A PCD is a programmable data structure used to parse frame headers, generate one or more LookupKeys, and perform table lookups. Multiple PCDs can be used on a given frame.
Initialize the Rx global parameter RAM, the extended parsing mode global parameters, the PCDs, the hash lookup table, and the interworking global parameters (only for L3/L4 filtering).
The Ethernet command Add/Remove Entry in Hash Lookup Table is used. It is issued by writing to the QUICC Engine command register (CECR) and the QUICC Engine command data registers (CECDR).
Other than the MSC8144 QUICC Engine block, the application note is also applicable to the MSC8144E and MSC8144EC QUICC Engine blocks.