aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/701-net-0042-sdk_dpaa-ceetm-add-independent-CEETM-congestion-thre.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-03-21 01:16:48 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-03-21 13:11:56 +0000
commit786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186 (patch)
tree926fecb2b1f6ce1e42ba7ef4c7aab8e68dfd214c /target/linux/layerscape/patches-5.4/701-net-0042-sdk_dpaa-ceetm-add-independent-CEETM-congestion-thre.patch
parent9470160c350d15f765c33d6c1db15d6c4709a64c (diff)
downloadupstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.gz
upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.bz2
upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.zip
kernel: delete Linux 5.4 config and patches
As the upcoming release will be based on Linux 5.10 only, remove all kernel configuration as well as patches for Linux 5.4. There were no targets still actively using Linux 5.4. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 3a14580411adfb75f9a44eded9f41245b9e44606)
Diffstat (limited to 'target/linux/layerscape/patches-5.4/701-net-0042-sdk_dpaa-ceetm-add-independent-CEETM-congestion-thre.patch')
-rw-r--r--target/linux/layerscape/patches-5.4/701-net-0042-sdk_dpaa-ceetm-add-independent-CEETM-congestion-thre.patch61
1 files changed, 0 insertions, 61 deletions
diff --git a/target/linux/layerscape/patches-5.4/701-net-0042-sdk_dpaa-ceetm-add-independent-CEETM-congestion-thre.patch b/target/linux/layerscape/patches-5.4/701-net-0042-sdk_dpaa-ceetm-add-independent-CEETM-congestion-thre.patch
deleted file mode 100644
index 461280baf6..0000000000
--- a/target/linux/layerscape/patches-5.4/701-net-0042-sdk_dpaa-ceetm-add-independent-CEETM-congestion-thre.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From aa54d82b06962bb620852ed20270f7783be68897 Mon Sep 17 00:00:00 2001
-From: Camelia Groza <camelia.groza@nxp.com>
-Date: Fri, 24 Nov 2017 10:29:12 +0200
-Subject: [PATCH] sdk_dpaa: ceetm: add independent CEETM congestion thresholds
-
-Configure the CEETM egress congestion thresholds independently from the
-default Ethernet driver's Work Queues. Allow the user to edit the
-thresholds through menuconfig.
-
-Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
----
- drivers/net/ethernet/freescale/sdk_dpaa/Kconfig | 23 ++++++++++++++++++++++
- .../ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 4 ++--
- 2 files changed, 25 insertions(+), 2 deletions(-)
-
---- a/drivers/net/ethernet/freescale/sdk_dpaa/Kconfig
-+++ b/drivers/net/ethernet/freescale/sdk_dpaa/Kconfig
-@@ -20,6 +20,29 @@ config FSL_DPAA_CEETM
- help
- Enable QoS offloading support through the CEETM hardware block.
-
-+config FSL_DPAA_CEETM_CCS_THRESHOLD_1G
-+ hex "CEETM egress congestion threshold on 1G ports"
-+ depends on FSL_DPAA_CEETM
-+ range 0x1000 0x10000000
-+ default "0x000a0000"
-+ help
-+ The size in bytes of the CEETM egress Class Congestion State threshold on 1G ports.
-+ The threshold needs to be configured keeping in mind the following factors:
-+ - A threshold too large will buffer frames for a long time in the TX queues,
-+ when a small shaping rate is configured. This will cause buffer pool depletion
-+ or out of memory errors. This in turn will cause frame loss on RX;
-+ - A threshold too small will cause unnecessary frame loss by entering
-+ congestion too often.
-+
-+config FSL_DPAA_CEETM_CCS_THRESHOLD_10G
-+ hex "CEETM egress congestion threshold on 10G ports"
-+ depends on FSL_DPAA_CEETM
-+ range 0x1000 0x20000000
-+ default "0x00640000"
-+ help
-+ The size in bytes of the CEETM egress Class Congestion State threshold on 10G ports.
-+ See FSL_DPAA_CEETM_CCS_THRESHOLD_1G for details.
-+
- config FSL_DPAA_OFFLINE_PORTS
- bool "Offline Ports support"
- depends on FSL_SDK_DPAA_ETH
---- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
-+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
-@@ -185,9 +185,9 @@ static int ceetm_config_ccg(struct qm_ce
-
- /* Set the congestion state thresholds according to the link speed */
- if (dpa_priv->mac_dev->if_support & SUPPORTED_10000baseT_Full)
-- cs_th = CONFIG_FSL_DPAA_CS_THRESHOLD_10G;
-+ cs_th = CONFIG_FSL_DPAA_CEETM_CCS_THRESHOLD_10G;
- else
-- cs_th = CONFIG_FSL_DPAA_CS_THRESHOLD_1G;
-+ cs_th = CONFIG_FSL_DPAA_CEETM_CCS_THRESHOLD_1G;
-
- qm_cgr_cs_thres_set64(&ccg_params.cs_thres_in, cs_th, 1);
- qm_cgr_cs_thres_set64(&ccg_params.cs_thres_out,