aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket.txt
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-11-12 21:31:47 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-14 09:21:37 +0100
commit5d15a96786df2b7444fc937f4075b40b568caab2 (patch)
tree66b1278233ffa053f7f4b01c2d2cd6a51999d14b /sys/linux/socket.txt
parentf350e2dc1f59aa692aac9e27fdf3fdc44a553774 (diff)
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 <jiri@mellanox.com>
Diffstat (limited to 'sys/linux/socket.txt')
-rw-r--r--sys/linux/socket.txt5
1 files changed, 3 insertions, 2 deletions
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]