b7e970d341f624374e33f9feab4da559f5b3a694
[openwrt/openwrt.git] /
1 From 23057cf5bf562358918a219083a4b022d36c4b73 Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Tue, 13 Jun 2017 14:40:54 +0300
4 Subject: [PATCH] dpaa_eth: ceetm: adapt to net/sched API changes
5
6 The tc_classify and tc_classify_compat calls have been merged. Adapt to
7 the new API.
8
9 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
10 ---
11 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
15 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
16 @@ -1839,7 +1839,7 @@ static struct ceetm_class *ceetm_classif
17
18 *qerr = NET_XMIT_SUCCESS | __NET_XMIT_BYPASS;
19 tcf = priv->filter_list;
20 - while (tcf && (result = tc_classify(skb, tcf, &res)) >= 0) {
21 + while (tcf && (result = tc_classify(skb, tcf, &res, false)) >= 0) {
22 #ifdef CONFIG_NET_CLS_ACT
23 switch (result) {
24 case TC_ACT_QUEUED: