summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorLennert Buytenhek2009-03-20 10:49:49 +0100
committerDavid S. Miller2009-03-22 03:06:53 +0100
commitc084080151e1de92159f8437fde34b6e5bebe35e (patch)
tree11dbcc801612f17d70d339daf1bf936af9c1aa55 /include/net/dsa.h
parenteql: fix non-constant printk warning (diff)
downloadkernel-qcow2-linux-c084080151e1de92159f8437fde34b6e5bebe35e.tar.gz
kernel-qcow2-linux-c084080151e1de92159f8437fde34b6e5bebe35e.tar.xz
kernel-qcow2-linux-c084080151e1de92159f8437fde34b6e5bebe35e.zip
dsa: set ->iflink on slave interfaces to the ifindex of the parent
..so that we can parse the DSA topology from 'ip link' output: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 4: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 5: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue 6: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue 7: lan4@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions