Trying to build vpp
This commit is contained in:
@@ -212,6 +212,29 @@
|
||||
* SDK driver expectations (0-5 instead of mainline 2-7).
|
||||
* Port@82000 with cell-index=0 becomes the HC port for PCD.
|
||||
*/
|
||||
bp7: buffer-pool@7 {
|
||||
compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
fsl,bpid = <7>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
|
||||
fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
bp8: buffer-pool@8 {
|
||||
compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
fsl,bpid = <8>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
|
||||
fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
bp9: buffer-pool@9 {
|
||||
compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
fsl,bpid = <9>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
|
||||
fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
pcie@3400000 {
|
||||
/delete-property/ iommu-map;
|
||||
@@ -229,33 +252,34 @@
|
||||
};
|
||||
|
||||
&fsldpaa {
|
||||
ethernet@0 {
|
||||
status = "disabled"; /* MAC1 - not on Mono Gateway DK */
|
||||
};
|
||||
compatible = "fsl,ls1046a", "fsl,dpaa", "simple-bus";
|
||||
dma-coherent;
|
||||
|
||||
ethernet@2 {
|
||||
status = "disabled"; /* MAC3 - not on Mono Gateway DK */
|
||||
};
|
||||
|
||||
ethernet@3 {
|
||||
status = "disabled"; /* MAC4 - not on Mono Gateway DK */
|
||||
};
|
||||
ethernet@0 { status = "disabled"; }; /* MAC1 - not on Mono Gateway DK */
|
||||
ethernet@2 { status = "disabled"; }; /* MAC3 - not on Mono Gateway DK */
|
||||
ethernet@3 { status = "disabled"; }; /* MAC4 - not on Mono Gateway DK */
|
||||
|
||||
/*
|
||||
* Keep Linux management/data-plane-visible kernel interfaces:
|
||||
* ethernet@1 = MAC2
|
||||
* ethernet@4 = MAC5
|
||||
* ethernet@5 = MAC6
|
||||
*
|
||||
* Remove the two 10G SFP+ ports from Linux DPAA netdev ownership
|
||||
* so they can be owned by DPDK/VPP instead.
|
||||
/* Enabled from qoriq-dpaa-eth.dtsi:
|
||||
* ethernet@1 = enet1 = MAC2
|
||||
* ethernet@4 = enet4 = MAC5
|
||||
* ethernet@5 = enet5 = MAC6
|
||||
* ethernet@8 = enet6 = MAC9 (10G)
|
||||
*/
|
||||
ethernet@8 {
|
||||
status = "disabled"; /* MAC9 / 10G / SFP+ */
|
||||
};
|
||||
|
||||
ethernet@8 {
|
||||
compatible = "fsl,dpa-ethernet-init";
|
||||
fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
|
||||
fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
|
||||
};
|
||||
|
||||
/* Add MAC10 - not in qoriq-dpaa-eth.dtsi */
|
||||
ethernet@9 {
|
||||
status = "disabled"; /* MAC10 / 10G / SFP+ */
|
||||
compatible = "fsl,dpa-ethernet-init";
|
||||
fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
|
||||
fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user