aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/701-net-0052-sdk_dpaa-ceetm-remove-tc-class-reference-counting.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-0052-sdk_dpaa-ceetm-remove-tc-class-reference-counting.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-0052-sdk_dpaa-ceetm-remove-tc-class-reference-counting.patch')
-rw-r--r--target/linux/layerscape/patches-5.4/701-net-0052-sdk_dpaa-ceetm-remove-tc-class-reference-counting.patch106
1 files changed, 0 insertions, 106 deletions
diff --git a/target/linux/layerscape/patches-5.4/701-net-0052-sdk_dpaa-ceetm-remove-tc-class-reference-counting.patch b/target/linux/layerscape/patches-5.4/701-net-0052-sdk_dpaa-ceetm-remove-tc-class-reference-counting.patch
deleted file mode 100644
index 473720b41f..0000000000
--- a/target/linux/layerscape/patches-5.4/701-net-0052-sdk_dpaa-ceetm-remove-tc-class-reference-counting.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-From 024d664114310fe103c2c31f2253bed58238951d Mon Sep 17 00:00:00 2001
-From: Camelia Groza <camelia.groza@nxp.com>
-Date: Wed, 17 Jan 2018 16:47:07 +0200
-Subject: [PATCH] sdk_dpaa: ceetm: remove tc class reference counting
-
-Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
----
- .../ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 38 +++-------------------
- .../ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.h | 1 -
- 2 files changed, 4 insertions(+), 35 deletions(-)
-
---- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
-+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
-@@ -774,7 +774,6 @@ static int ceetm_init_prio(struct Qdisc
- }
-
- child_cl->common.classid = TC_H_MAKE(sch->handle, (i + 1));
-- child_cl->refcnt = 1;
- child_cl->parent = sch;
- child_cl->type = CEETM_PRIO;
- child_cl->shaped = priv->shaped;
-@@ -986,7 +985,6 @@ static int ceetm_init_wbfs(struct Qdisc
- }
-
- child_cl->common.classid = TC_H_MAKE(sch->handle, (i + 1));
-- child_cl->refcnt = 1;
- child_cl->parent = sch;
- child_cl->type = CEETM_WBFS;
- child_cl->shaped = priv->shaped;
-@@ -1297,29 +1295,9 @@ static void ceetm_attach(struct Qdisc *s
- }
- }
-
--static unsigned long ceetm_cls_get(struct Qdisc *sch, u32 classid)
-+static unsigned long ceetm_cls_search(struct Qdisc *sch, u32 handle)
- {
-- struct ceetm_class *cl;
--
-- pr_debug(KBUILD_BASENAME " : %s : classid %X from qdisc %X\n",
-- __func__, classid, sch->handle);
-- cl = ceetm_find(classid, sch);
--
-- if (cl)
-- cl->refcnt++; /* Will decrement in put() */
-- return (unsigned long)cl;
--}
--
--static void ceetm_cls_put(struct Qdisc *sch, unsigned long arg)
--{
-- struct ceetm_class *cl = (struct ceetm_class *)arg;
--
-- pr_debug(KBUILD_BASENAME " : %s : classid %X from qdisc %X\n",
-- __func__, cl->common.classid, sch->handle);
-- cl->refcnt--;
--
-- if (cl->refcnt == 0)
-- ceetm_cls_destroy(sch, cl);
-+ return (unsigned long)ceetm_find(handle, sch);
- }
-
- static int ceetm_cls_change_root(struct ceetm_class *cl,
-@@ -1540,7 +1518,6 @@ static int ceetm_cls_change(struct Qdisc
- cl->root.tbl = copt->tbl;
-
- cl->common.classid = classid;
-- cl->refcnt = 1;
- cl->parent = sch;
- cl->root.child = NULL;
- cl->root.wbfs_grp_a = false;
-@@ -1696,15 +1673,9 @@ static int ceetm_cls_delete(struct Qdisc
-
- sch_tree_lock(sch);
- qdisc_class_hash_remove(&priv->clhash, &cl->common);
-- cl->refcnt--;
--
-- /* The refcnt should be at least 1 since we have incremented it in
-- * get(). Will decrement again in put() where we will call destroy()
-- * to actually free the memory if it reaches 0.
-- */
-- WARN_ON(cl->refcnt == 0);
-
- sch_tree_unlock(sch);
-+ ceetm_cls_destroy(sch, cl);
- return 0;
- }
-
-@@ -1824,8 +1795,7 @@ static void ceetm_tcf_unbind(struct Qdis
- const struct Qdisc_class_ops ceetm_cls_ops = {
- .graft = ceetm_cls_graft,
- .leaf = ceetm_cls_leaf,
-- .get = ceetm_cls_get,
-- .put = ceetm_cls_put,
-+ .find = ceetm_cls_search,
- .change = ceetm_cls_change,
- .delete = ceetm_cls_delete,
- .walk = ceetm_cls_walk,
---- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.h
-+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.h
-@@ -191,7 +191,6 @@ struct wbfs_c {
-
- struct ceetm_class {
- struct Qdisc_class_common common;
-- int refcnt; /* usage count of this class */
- struct tcf_proto *filter_list; /* class attached filters */
- struct tcf_block *block;
- struct Qdisc *parent;