]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/net/vsc9953: Add commands to manipulate the FDB for VSC9953
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Wed, 9 Sep 2015 15:00:52 +0000 (18:00 +0300)
committerYork Sun <yorksun@freescale.com>
Mon, 21 Sep 2015 15:29:47 +0000 (08:29 -0700)
commit22449858f8eae3f03399f76b4a982dd2f0d4df00
treeae466f8652569c22245bc973dcbd7ab389a4590c
parent0118e83ba4e1811515dc944a826758cad8a394b7
drivers/net/vsc9953: Add commands to manipulate the FDB for VSC9953

The new command:
ethsw [port <port_no>] [vlan <vid>] fdb
        { [help] | show | flush | { add | del } <mac> }

Can be used to add and delete FDB entries. Also, the command can be used
to show entries from the FDB tables. When used with [port <port_no>]
and [vlan <vid>], only the matching the FDB entries can be seen or
flushed. The command has also been added to the generic ethsw parser
from cmd_ethsw.c.

Signed-off-by: Johnson Leung <johnson.leung@freescale.com>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
common/cmd_ethsw.c
drivers/net/vsc9953.c
include/ethsw.h
include/vsc9953.h