driver: net: ethernet: cpsw: Adding switch configuration via ioctl
authorMugunthan V N <mugunthanvnm@ti.com>
Thu, 7 Jun 2012 04:13:42 +0000 (09:43 +0530)
committerVishveshwar Bhat <vishveshwar.bhat@ti.com>
Wed, 13 Jun 2012 10:06:48 +0000 (15:36 +0530)
commit8c05dce9c1f2750c729eebf50154b532daa53402
tree642edc46a8f42945bdb54f428c00b4688b1e25b1
parent4647ee5af83892e9da755009a175c52eff4c9b2b
driver: net: ethernet: cpsw: Adding switch configuration via ioctl

CPSW as a switch can be configured in various combination of ALE entry/packet
limit for controling packet flow between the ports
There is no standard interface for switch configuration in Linux, so it is
done via ioctl with SIOCSWITCHCONFIG command

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers/net/ethernet/ti/cpsw.c
include/linux/Kbuild
include/linux/net_switch_config.h [new file with mode: 0644]
include/linux/sockios.h
net/core/dev.c