[U-Boot] [PATCH v3 15/16] drivers/net/vsc9953: Add commands for VLAN ingress filtering

Joe Hershberger joe.hershberger at gmail.com
Fri Aug 7 22:18:58 CEST 2015


Hi Codrin,

On Fri, Jul 24, 2015 at 8:55 AM, Codrin Ciubotariu
<codrin.ciubotariu at freescale.com> wrote:
> The command:
> ethsw [port <port_no>] ingress filtering
>      { [help] | show | enable | disable }
>   - enable/disable VLAN ingress filtering on port
>
> can be used to enable/disable/show VLAN ingress filtering on a port.
> This command has also been added to the ethsw generic parser
> from common/cmd_ethsw.c
>
> Signed-off-by: Johnson Leung <johnson.leung at freescale.com>
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu at freescale.com>
> ---
>
> Changes for v2:
>         - removed Change-id field;
>
> Changes for v3:
>         - replaced values returned by functions called by the parser with CMD_RET_* macros;
>         - each variabled is declared on a separate line, with one space instead of tab(s);
>         - vsc9953_port_ingress_filtering_get() returns "enabled" value;
>
>  common/cmd_ethsw.c    | 65 ++++++++++++++++++++++++++++++++++++++
>  drivers/net/vsc9953.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/ethsw.h       |  4 +++
>  3 files changed, 155 insertions(+)

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list