summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarian Chereji <marian.chereji@freescale.com>2014-02-26 08:42:32 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-02-27 16:09:41 (GMT)
commit11476afe7e04e3c92e782f56ab97d49d4f855439 (patch)
treedf251b4597f376d851e03af18c65bb1362a3e051 /drivers
parentd2011ee2376e7a81fe8d5b1896faae56100cb719 (diff)
downloadlinux-fsl-qoriq-11476afe7e04e3c92e782f56ab97d49d4f855439.tar.xz
dpa_offload: Add errors-to-discard optimization in dts files for T4240
Adding the errors-to-discard option improves DPA offloading apps performances. This optimization was accidentally omitted for the T4240 platform. Signed-off-by: Marian Chereji <marian.chereji@freescale.com> Change-Id: Ib909b6bac08c6cc905aca4b4de2c8aeb4ee90a7a Reviewed-on: http://git.am.freescale.net:8181/9142 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Aurelian Zanoschi <Aurelian.Zanoschi@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-offld.dtsi2
-rw-r--r--drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-reass.dtsi2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-offld.dtsi b/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-offld.dtsi
index 352e7eb..ae36e38 100644
--- a/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-offld.dtsi
+++ b/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-offld.dtsi
@@ -10,6 +10,7 @@ chosen {
fman0_oh2-extd-args {
cell-index = <1>;
compatible = "fsl,fman-port-op-extended-args";
+ errors-to-discard = <0x00420000>;
/* Define Virtual storage profile */
/* <number of profiles, default profile id> */
vsp-window = <8 0>;
@@ -18,6 +19,7 @@ chosen {
fman0_oh3-extd-args {
cell-index = <2>;
compatible = "fsl,fman-port-op-extended-args";
+ errors-to-discard = <0x00420000>;
/* Define buffer layout parameters. Can be used
* in fragmentation or header manip operations
*/
diff --git a/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-reass.dtsi b/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-reass.dtsi
index e52a554..85c0207 100644
--- a/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-reass.dtsi
+++ b/drivers/staging/fsl_dpa_offload/dts/t4240si-chosen-reass.dtsi
@@ -9,6 +9,7 @@ chosen {
fman0_rx1-extd-args {
cell-index = <1>;
compatible = "fsl,fman-port-1g-rx-extended-args";
+ errors-to-discard = <0x00020000>;
/* Define Virtual storage profile */
/* <number of profiles, default profile id> */
vsp-window = <8 0>;
@@ -16,6 +17,7 @@ chosen {
fman0_oh2-extd-args {
cell-index = <1>;
compatible = "fsl,fman-port-op-extended-args";
+ errors-to-discard = <0x00420000>;
/* Define buffer layout parameters. Can be used
* in fragmentation or header manip operations
*/