DPAA Configuration

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

DPAA Configuration

1,527 Views
jholt
Contributor I

We are having an issue where it appears that the DPAA (or possibly TSEC) is dropping packets and not allowing the packets to pass through to the CPU.

 

The issue is being observed on T2041 based systems.  The basic problem appears to be that the DPAA is filtering the incoming packet.  This “packet drop” issue coincides with an upgrade of Linux from Yocto 2.3 to Yocto 3.1.  We are using the “sdk_dpaa” kernel driver. 

 

We have a few questions:

 

  1. Is there a way to configure the DPAA into the equivalent of “promiscuous mode” – allowing all packets to pass through?
  2. Are there DPAA settings that restrict incoming packet types to Type I or Type II Ethernet frames?  We have some packets which are basic 802.3 frames where the Ethernet type field is “packet length” – and we have packets where the type field is effectively treated as an “Ethernet Type” (not a length field).
  3. Do you know if more recent versions of Linux have “tightened” the filtering capabilities – and began using more of the DPAA functionality?  In our older linux based systems we are not seeing this packet drop.

 

0 Kudos
Reply
1 Reply

1,509 Views
yipingwang
NXP TechSupport
NXP TechSupport

In Yocto 3.1, please configure Linux Kernel as the following.

CONFIG_FSL_DPAA=y
CONFIG_FSL_FMAN=y
CONFIG_FSL_DPAA_ETH=y
CONFIG_FSL_XGMAC_MDIO=y 

Rather than using SDK Kernel driver as the following.

CONFIG_FSL_SDK_DPAA_ETH=y

CONFIG_FSL_SDK_FMAN=y

CONFIG_FSL_SDK_DPA=y

CONFIG_FSL_SDK_BMAN=y

CONFIG_FSL_SDK_QMAN=y

Please build Kernel image with the attached Kernel configuration file, then verify on the target board whether the packets dropping problem persists.

0 Kudos
Reply