2268202_en-US

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

2268202_en-US

2268202_en-US

Failed to load static DPL with 8x DPDMUX

Hi Community,

Using dynamic creation of DPDMUXs and DPNIs successfully, and generate the DPL by following commands:

  • 8x ls-addni --fs-entries=8 --num-queues=8 -n
  • source /usr/local/dpdk/dpaa2/dynamic_dpl.sh ...
  • 8x restool dpdmux create
  • 8x restool dprc connect dprc.1 --endpoint1=.n.0/1/2 --endpoint2=//dpni.k>
  • restool dprc generate-dpl dprc.1 > dpl-8-dpdmux.dts

Update the static DPL with dpl-8-dpdmux.dtb (generate by dtc tool) for uboot to initiate MC layout.

The error shows as blow:

[E, mem_mng_get_phys_mem:655] MAJOR mem. manager memory allocation failed
[E, mem_mng_get_phys_mem:658] Required size 0x000040000 alignment 0x000000100 exceeds available memory for partition ID 7
[E, init_bman_bp:399, DPDMUX] ID[6] - dpbp_allocate_buffers(), failed to allocate dpbp buffers
[E, init_infrastructure:3750, DPDMUX] swlib_init_bman_bp : -12
[E, dpdmux_init:4487, DPDMUX] init_infrastructure : -12
[E, mem_mng_get_phys_mem:655] MAJOR mem. manager memory allocation failed
[E, mem_mng_get_phys_mem:658] Required size 0x000040000 alignment 0x000000100 exceeds available memory for partition ID 7
[E, init_bman_bp:399, DPDMUX] ID[7] - dpbp_allocate_buffers(), failed to allocate dpbp buffers
[E, init_infrastructure:3750, DPDMUX] swlib_init_bman_bp : -12
[E, dpdmux_init:4487, DPDMUX] init_infrastructure : -12
[E, resman_is_link_permitted:6375, RESMAN] Object wasn't found
[E, linkman_probe_cb:205] No common ancestor - Failed to connect dpdmux@6 and dpmac@9
[E, subnode_process:155] Probing module 'connection' return error code -1. Continue dpl processing...
[E, resman_is_link_permitted:6375, RESMAN] Object wasn't found
[E, linkman_probe_cb:205] No common ancestor - Failed to connect dpdmux@6 and dpni@15
[E, subnode_process:155] Probing module 'connection' return error code -1. Continue dpl processing...
[E, resman_is_link_permitted:6375, RESMAN] Object wasn't found
[E, linkman_probe_cb:205] No common ancestor - Failed to connect dpdmux@6 and dpni@7
[E, subnode_process:155] Probing module 'connection' return error code -1. Continue dpl processing...
[E, resman_is_link_permitted:6375, RESMAN] Object wasn't found
[E, linkman_probe_cb:205] No common ancestor - Failed to connect dpdmux@7 and dpmac@10
[E, subnode_process:155] Probing module 'connection' return error code -1. Continue dpl processing...
[E, resman_is_link_permitted:6375, RESMAN] Object wasn't found
[E, linkman_probe_cb:205] No common ancestor - Failed to connect dpdmux@7 and dpni@16
[E, subnode_process:155] Probing module 'connection' return error code -1. Continue dpl processing...
[E, resman_is_link_permitted:6375, RESMAN] Object wasn't found
[E, linkman_probe_cb:205] No common ancestor - Failed to connect dpdmux@7 and dpni@8
[E, subnode_process:155] Probing module 'connection' return error code -1. Continue dpl processing...
[E, dpl_process:527] Error while parsing 'connections'. Skip processing the rest of DPL.
[E, main:198] DPL processing failed; continuing...

 Is there any limitation on the static DPL to support same layout as dynamic way?

QorIQ LS2 DeviceRe: Failed to load static DPL with 8x DPDMUX

Hi yipingwang,

Using '--max-dmat-entries' in dynamic creating layout don't change the final dts by 'restool dprc generate-dpl dprc.1'.

So, I just give it a try by adding following elements 'mem-size' and 'max-dmat-entries' in .dts. manually:

dpdmux@0 {
    compatible = "fsl,dpdmux";
    options = "DPDMUX_OPT_CLS_MASK_SUPPORT", "DPDMUX_OPT_AUTO_MAX_FRAME_LEN";
    method = "DPDMUX_METHOD_CUSTOM";
    manip = "DPDMUX_MANIP_NONE";
    num_ifs = <0x2>;
    mem-size = <0x100>;  // this is manually added by me
    max-dmat-entries = <0x8>; // this is manually added by me
};

Unfornately this doesn't fix it, the same error message showing from MC debug.

Please also check my dpl as enclosed.

Re: Failed to load static DPL with 8x DPDMUX

Please try whether the following method is possible.

When you create DPDMUX, please specify "--max-dmat-entries=8" to reduce the resource allocation.

--max-dmat-entries=

max entries in DPDMUX address table. Default is 64.

If your problem persists, please share your whole console log to create DPDMUX and generate DPL file.

In addition, which processor are you using?

Re: Failed to load static DPL with 8x DPDMUX

Hi,

I've managed to fix this issue by correcting the DPL parameter names.


Tags (1)
No ratings
Version history
Last update:
‎12-31-2025 04:23 AM
Updated by: