mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
21 lines
767 B
Diff
21 lines
767 B
Diff
|
From e71adc0bb320c602791fa08a14626704a57bbb4d Mon Sep 17 00:00:00 2001
|
||
|
From: Camelia Groza <camelia.groza@nxp.com>
|
||
|
Date: Wed, 17 Jan 2018 16:38:09 +0200
|
||
|
Subject: [PATCH] sdk_dpaa: ceetm: introduce a TRAP control action
|
||
|
|
||
|
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
|
||
|
---
|
||
|
drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
--- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
|
||
|
+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
|
||
|
@@ -1853,6 +1853,7 @@ static struct ceetm_class *ceetm_classif
|
||
|
switch (result) {
|
||
|
case TC_ACT_QUEUED:
|
||
|
case TC_ACT_STOLEN:
|
||
|
+ case TC_ACT_TRAP:
|
||
|
*qerr = NET_XMIT_SUCCESS | __NET_XMIT_STOLEN;
|
||
|
case TC_ACT_SHOT:
|
||
|
/* No valid class found due to action */
|