Hi,
Yes I believe you were right about index mismatched.
In the config file, I have initialized it with fm0, port type 1G number 1 which I assumes corresponds to fm1-gb1 given in the P2041rdb example.
Within the policy file, I have changed the mac address at queue bases 0x210 and 0x220 as required under classification eth_dest_clsf. I have no idea how to add the ip address of the 2nd partition to arp_clsf as stated by the Documentation. Upon running fmc with the above changes, I received
ERR: Invocation of FM_PCD_KgSchemeSet for fm0/port/1G/1/dist/garbage_dist/direct failed
ERR: Invocation of FM_PORT_DeletePCD for fm0/port/1G/1 failed with error code 0x00130002
It also says on the hypervisor terminal
MAJOR FM-PCD_Error [CPU00, drivers/net/dpa/NetCommSw/Peripherals/FM/HC/hc.c:414 FmHcPcdKgSetScheme]: Resource Already Exists;
Scheme is already used
MINOR FM-PCD Error [CPU00, drivers/net/dpa/NetCommSw/src/wrapper/lnxwrp_ioctls_fm.c: LnxwrpFmPortIOCTL]: Invalid Selection;
IOCTL cmd (0x2000e15b}:(0xe1:0x5b)!
I have checked the MAC addresses to be changed and they are accurate. Do you perhaps have an idea of what is happening?
With regards to the ethernet node as an initialization manager, from what I understand from the Documentation, I should include the following in partition 1 correct?
ethernet@1 {
compatible = "fsl,p4080-dpa-ethernet-init",
"fsl,dpa-ethernet-init";
fsl,bman-buffer-pools = <&bp1>;
fsl,qman-frame-queues-rx = <10 1 11 1>;
fsl,qman-frame-queues-tx = <12 1 13 1>;
fsl,fman-mac = <&enet1>;
};
How then should I go about initializing this in partition 2? considering the frame queue ids and buffer pools are already declared in partition 1.
Once again thanks alot for your continued assistance. Really appreciate it.
Cheers