| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From e71adc0bb320c602791fa08a14626704a57bbb4d Mon Sep 17 00:00:00 2001 |
| 2 | From: Camelia Groza <camelia.groza@nxp.com> |
| 3 | Date: Wed, 17 Jan 2018 16:38:09 +0200 |
| 4 | Subject: [PATCH] sdk_dpaa: ceetm: introduce a TRAP control action |
| 5 | |
| 6 | Signed-off-by: Camelia Groza <camelia.groza@nxp.com> |
| 7 | --- |
| 8 | drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 1 + |
| 9 | 1 file changed, 1 insertion(+) |
| 10 | |
| 11 | --- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c |
| 12 | +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c |
| 13 | @@ -1853,6 +1853,7 @@ static struct ceetm_class *ceetm_classif |
| 14 | switch (result) { |
| 15 | case TC_ACT_QUEUED: |
| 16 | case TC_ACT_STOLEN: |
| 17 | + case TC_ACT_TRAP: |
| 18 | *qerr = NET_XMIT_SUCCESS | __NET_XMIT_STOLEN; |
| 19 | case TC_ACT_SHOT: |
| 20 | /* No valid class found due to action */ |