From 5d15a96786df2b7444fc937f4075b40b568caab2 Mon Sep 17 00:00:00 2001 From: Jiri Pirko Date: Tue, 12 Nov 2019 21:31:47 +0100 Subject: sys/linux/socket.txt: add devlink pci related netdev Add netdev name related to pci netdev and fix comment for netdevsim0. Signed-off-by: Jiri Pirko --- sys/linux/socket.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/linux/socket.txt') diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 46e4c1a63..dd102cb1a 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -322,8 +322,9 @@ define IFREQ_SIZE sizeof(struct ifreq) # (actually, this is not true now since all testing is done in a separate # network namespace, but we still don't mess with eth0). # Note: lapb0, bpq0 and hwsim0 are only present in init namespace. -# Note: for roseN, nrN and netdevsimN we should use proc type, but for simplicity we currently use N=0. -devnames = "", "lo", "tunl0", "gre0", "gretap0", "ip_vti0", "ip6_vti0", "sit0", "ip6tnl0", "ip6gre0", "ip6gretap0", "bond0", "dummy0", "eql", "ifb0", "ipddp0", "yam0", "bcsf0", "bcsh0", "teql0", "nr0", "rose0", "irlan0", "erspan0", "bpq0", "vlan0", "bridge0", "vcan0", "team0", "syz_tun", "veth0", "veth1", "veth0_to_bridge", "veth1_to_bridge", "veth0_to_bond", "veth1_to_bond", "veth0_to_team", "veth1_to_team", "bridge_slave_0", "bridge_slave_1", "bond_slave_0", "bond_slave_1", "team_slave_0", "team_slave_1", "syzkaller0", "syzkaller1", "lapb0", "hwsim0", "rose0", "nr0", "veth0_to_hsr", "veth1_to_hsr", "hsr0", "ip6erspan0", "nlmon0", "vxcan1", "caif0", "batadv0", "netdevsim0" +# Note: for roseN and nrN we should use proc type, but for simplicity we currently use N=0. +# Note: netdevsim0 and netpci0 are renamed in initialize_devlink_ports() +devnames = "", "lo", "tunl0", "gre0", "gretap0", "ip_vti0", "ip6_vti0", "sit0", "ip6tnl0", "ip6gre0", "ip6gretap0", "bond0", "dummy0", "eql", "ifb0", "ipddp0", "yam0", "bcsf0", "bcsh0", "teql0", "nr0", "rose0", "irlan0", "erspan0", "bpq0", "vlan0", "bridge0", "vcan0", "team0", "syz_tun", "veth0", "veth1", "veth0_to_bridge", "veth1_to_bridge", "veth0_to_bond", "veth1_to_bond", "veth0_to_team", "veth1_to_team", "bridge_slave_0", "bridge_slave_1", "bond_slave_0", "bond_slave_1", "team_slave_0", "team_slave_1", "syzkaller0", "syzkaller1", "lapb0", "hwsim0", "rose0", "nr0", "veth0_to_hsr", "veth1_to_hsr", "hsr0", "ip6erspan0", "nlmon0", "vxcan1", "caif0", "batadv0", "netdevsim0", "netpci0" type devname string[devnames, IFNAMSIZ] -- cgit mrf-deployment