Searched refs:failover_dev (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
D | failover.c | 22 struct net_device *failover_dev; in failover_get_bymac() local 27 failover_dev = rtnl_dereference(failover->failover_dev); in failover_get_bymac() 28 if (ether_addr_equal(failover_dev->perm_addr, mac)) { in failover_get_bymac() 31 return failover_dev; in failover_get_bymac() 49 struct net_device *failover_dev; in failover_slave_register() local 58 failover_dev = failover_get_bymac(slave_dev->perm_addr, &fops); in failover_slave_register() 59 if (!failover_dev) in failover_slave_register() 63 fops->slave_pre_register(slave_dev, failover_dev)) in failover_slave_register() 67 failover_dev); in failover_slave_register() 75 err = netdev_master_upper_dev_link(slave_dev, failover_dev, NULL, in failover_slave_register() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ |
D | net_failover.c | 463 struct net_device *failover_dev) in net_failover_slave_pre_register() argument 469 nfo_info = netdev_priv(failover_dev); in net_failover_slave_pre_register() 472 slave_is_standby = slave_dev->dev.parent == failover_dev->dev.parent; in net_failover_slave_pre_register() 474 netdev_err(failover_dev, "%s attempting to register as slave dev when %s already present\n", in net_failover_slave_pre_register() 488 if (failover_dev->features & NETIF_F_VLAN_CHALLENGED && in net_failover_slave_pre_register() 489 vlan_uses_dev(failover_dev)) { in net_failover_slave_pre_register() 490 netdev_err(failover_dev, "Device %s is VLAN challenged and failover device has VLAN set up\n", in net_failover_slave_pre_register() 491 failover_dev->name); in net_failover_slave_pre_register() 499 struct net_device *failover_dev) in net_failover_slave_register() argument 509 err = dev_set_mtu(slave_dev, failover_dev->mtu); in net_failover_slave_register() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | failover.h | 11 struct net_device *failover_dev); 13 struct net_device *failover_dev); 15 struct net_device *failover_dev); 17 struct net_device *failover_dev); 19 struct net_device *failover_dev); 21 struct net_device *failover_dev); 27 struct net_device __rcu *failover_dev; member
|