Re: [PATCH net-next 3/3] MIPS: generic: Add police related options to ocelot_defconfig

From: Alexandre Belloni
Date: Thu May 02 2019 - 12:27:31 EST


Hi Joergen,

On 02/05/2019 11:40:29+0200, Joergen Andreasen wrote:
> Add default support for ingress qdisc, matchall classification
> and police action on MSCC Ocelot.
>

This patch should be separated from the series as this doesn't have any
dependencies and should go through the MIPS tree.

> Signed-off-by: Joergen Andreasen <joergen.andreasen@xxxxxxxxxxxxx>
> ---
> arch/mips/configs/generic/board-ocelot.config | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/mips/configs/generic/board-ocelot.config b/arch/mips/configs/generic/board-ocelot.config
> index 5e53b4bc47f1..5c7360dd819c 100644
> --- a/arch/mips/configs/generic/board-ocelot.config
> +++ b/arch/mips/configs/generic/board-ocelot.config
> @@ -25,6 +25,13 @@ CONFIG_SERIAL_OF_PLATFORM=y
> CONFIG_NETDEVICES=y
> CONFIG_NET_SWITCHDEV=y
> CONFIG_NET_DSA=y
> +CONFIG_NET_SCHED=y
> +CONFIG_NET_SCH_INGRESS=y
> +CONFIG_NET_CLS_MATCHALL=y
> +CONFIG_NET_CLS_ACT=y
> +CONFIG_NET_ACT_POLICE=y
> +CONFIG_NET_ACT_GACT=y
> +
> CONFIG_MSCC_OCELOT_SWITCH=y
> CONFIG_MSCC_OCELOT_SWITCH_OCELOT=y
> CONFIG_MDIO_MSCC_MIIM=y
> --
> 2.17.1
>

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com