aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/701-net-0044-sdk_dpaa-ceetm-coding-style-fixes-and-added-comments.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-0044-sdk_dpaa-ceetm-coding-style-fixes-and-added-comments.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-0044-sdk_dpaa-ceetm-coding-style-fixes-and-added-comments.patch')
-rw-r--r--target/linux/layerscape/patches-5.4/701-net-0044-sdk_dpaa-ceetm-coding-style-fixes-and-added-comments.patch91
1 files changed, 0 insertions, 91 deletions
diff --git a/target/linux/layerscape/patches-5.4/701-net-0044-sdk_dpaa-ceetm-coding-style-fixes-and-added-comments.patch b/target/linux/layerscape/patches-5.4/701-net-0044-sdk_dpaa-ceetm-coding-style-fixes-and-added-comments.patch
deleted file mode 100644
index 982344d86e..0000000000
--- a/target/linux/layerscape/patches-5.4/701-net-0044-sdk_dpaa-ceetm-coding-style-fixes-and-added-comments.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From e21cd0d3ef6f039c674b9e22581aaaabdf3a40f7 Mon Sep 17 00:00:00 2001
-From: Camelia Groza <camelia.groza@nxp.com>
-Date: Fri, 24 Nov 2017 11:55:51 +0200
-Subject: [PATCH] sdk_dpaa: ceetm: coding style fixes and added comments
-
-Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
----
- .../ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 38 ++++++++++++++--------
- 1 file changed, 24 insertions(+), 14 deletions(-)
-
---- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
-+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
-@@ -69,15 +69,17 @@ static void get_dcp_and_sp(struct net_de
- static void ceetm_ern(struct qman_portal *portal, struct qman_fq *fq,
- const struct qm_mr_entry *msg)
- {
-- struct net_device *net_dev;
-- struct ceetm_class *cls;
-+ struct dpa_percpu_priv_s *dpa_percpu_priv;
- struct ceetm_class_stats *cstats = NULL;
- const struct dpa_priv_s *dpa_priv;
-- struct dpa_percpu_priv_s *dpa_percpu_priv;
-- struct sk_buff *skb;
- struct qm_fd fd = msg->ern.fd;
-+ struct net_device *net_dev;
-+ struct ceetm_fq *ceetm_fq;
-+ struct ceetm_class *cls;
-+ struct sk_buff *skb;
-
-- net_dev = ((struct ceetm_fq *)fq)->net_dev;
-+ ceetm_fq = container_of(fq, struct ceetm_fq, fq);
-+ net_dev = ceetm_fq->net_dev;
- dpa_priv = netdev_priv(net_dev);
- dpa_percpu_priv = raw_cpu_ptr(dpa_priv->percpu_priv);
-
-@@ -86,7 +88,7 @@ static void ceetm_ern(struct qman_portal
- dpa_percpu_priv->stats.tx_fifo_errors++;
-
- /* Increment CEETM counters */
-- cls = ((struct ceetm_fq *)fq)->ceetm_cls;
-+ cls = ceetm_fq->ceetm_cls;
- switch (cls->type) {
- case CEETM_PRIO:
- cstats = this_cpu_ptr(cls->prio.cstats);
-@@ -99,11 +101,15 @@ static void ceetm_ern(struct qman_portal
- if (cstats)
- cstats->ern_drop_count++;
-
-+ /* Release the buffers that were supposed to be recycled. */
- if (fd.bpid != 0xff) {
- dpa_fd_release(net_dev, &fd);
- return;
- }
-
-+ /* Release the frames that were supposed to return on the
-+ * confirmation path.
-+ */
- skb = _dpa_cleanup_tx_fd(dpa_priv, &fd);
- dev_kfree_skb_any(skb);
- }
-@@ -1909,18 +1915,22 @@ static struct ceetm_class *ceetm_classif
-
- int __hot ceetm_tx(struct sk_buff *skb, struct net_device *net_dev)
- {
-- int ret;
-- bool act_drop = false;
-+ const int queue_mapping = dpa_get_queue_mapping(skb);
- struct Qdisc *sch = net_dev->qdisc;
-- struct ceetm_class *cl;
-+ struct ceetm_class_stats *cstats;
-+ struct ceetm_qdisc_stats *qstats;
- struct dpa_priv_s *priv_dpa;
- struct ceetm_fq *ceetm_fq;
-+ struct ceetm_qdisc *priv;
- struct qman_fq *conf_fq;
-- struct ceetm_qdisc *priv = qdisc_priv(sch);
-- struct ceetm_qdisc_stats *qstats = this_cpu_ptr(priv->root.qstats);
-- struct ceetm_class_stats *cstats;
-- const int queue_mapping = dpa_get_queue_mapping(skb);
-- spinlock_t *root_lock = qdisc_lock(sch);
-+ struct ceetm_class *cl;
-+ spinlock_t *root_lock;
-+ bool act_drop = false;
-+ int ret;
-+
-+ root_lock = qdisc_lock(sch);
-+ priv = qdisc_priv(sch);
-+ qstats = this_cpu_ptr(priv->root.qstats);
-
- spin_lock(root_lock);
- cl = ceetm_classify(skb, sch, &ret, &act_drop);