Home
last modified time | relevance | path

Searched refs:hsr_dev (Results 1 – 9 of 9) sorted by relevance

/linux/net/hsr/
A Dhsr_device.c74 static void hsr_check_announce(struct net_device *hsr_dev, in hsr_check_announce() argument
79 hsr = netdev_priv(hsr_dev); in hsr_check_announce()
88 if (hsr_dev->operstate != IF_OPER_UP && old_operstate == IF_OPER_UP) in hsr_check_announce()
490 hsr = netdev_priv(hsr_dev); in hsr_dev_finalize()
496 eth_hw_addr_set(hsr_dev, slave[0]->dev_addr); in hsr_dev_finalize()
510 res = hsr_create_self_node(hsr, hsr_dev->dev_addr, in hsr_dev_finalize()
529 netif_carrier_off(hsr_dev); in hsr_dev_finalize()
531 res = hsr_add_port(hsr, hsr_dev, HSR_PT_MASTER, extack); in hsr_dev_finalize()
535 res = register_netdevice(hsr_dev); in hsr_dev_finalize()
549 hsr_debugfs_init(hsr, hsr_dev); in hsr_dev_finalize()
[all …]
A Dhsr_netlink.c275 struct net_device *hsr_dev; in hsr_get_node_status() local
301 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_status()
303 if (!hsr_dev) in hsr_get_node_status()
305 if (!is_hsr_master(hsr_dev)) in hsr_get_node_status()
323 res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); in hsr_get_node_status()
327 hsr = netdev_priv(hsr_dev); in hsr_get_node_status()
410 struct net_device *hsr_dev; in hsr_get_node_list() local
427 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_list()
429 if (!hsr_dev) in hsr_get_node_list()
431 if (!is_hsr_master(hsr_dev)) in hsr_get_node_list()
[all …]
A Dhsr_slave.c130 struct net_device *hsr_dev; in hsr_portdev_setup() local
139 hsr_dev = master->dev; in hsr_portdev_setup()
141 res = netdev_upper_dev_link(dev, hsr_dev, extack); in hsr_portdev_setup()
153 netdev_upper_dev_unlink(dev, hsr_dev); in hsr_portdev_setup()
A Dhsr_debugfs.c85 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev) in hsr_debugfs_init() argument
89 de = debugfs_create_dir(hsr_dev->name, hsr_debugfs_root_dir); in hsr_debugfs_init()
A Dhsr_device.h18 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
A Dhsr_main.h289 void hsr_debugfs_init(struct hsr_priv *priv, struct net_device *hsr_dev);
298 struct net_device *hsr_dev) in hsr_debugfs_init() argument
/linux/net/dsa/
A Dtag_xrs700x.c20 if (dp->hsr_dev) in xrs700x_xmit()
21 dsa_hsr_foreach_port(partner, dp->ds, dp->hsr_dev) in xrs700x_xmit()
A Dport.c1306 dp->hsr_dev = hsr; in dsa_port_hsr_join()
1310 dp->hsr_dev = NULL; in dsa_port_hsr_join()
1324 dp->hsr_dev = NULL; in dsa_port_hsr_leave()
/linux/include/net/
A Ddsa.h172 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr))
267 struct net_device *hsr_dev; member
596 else if (dp->hsr_dev) in dsa_port_to_bridge_port()
597 return dp->hsr_dev; in dsa_port_to_bridge_port()

Completed in 18 milliseconds