| /linux/net/hsr/ |
| A D | hsr_device.c | 66 struct hsr_priv *hsr; in hsr_check_announce() local 77 if (hsr->redbox && !timer_pending(&hsr->announce_proxy_timer)) in hsr_check_announce() 83 if (hsr->redbox) in hsr_check_announce() 119 struct hsr_priv *hsr; in hsr_dev_change_mtu() local 251 struct hsr_priv *hsr = master->hsr; in hsr_init_skb() local 292 struct hsr_priv *hsr = port->hsr; in send_hsr_supervision_frame() local 300 if (hsr->announce_count < 3 && hsr->prot_version == 0) { in send_hsr_supervision_frame() 335 if (hsr->redbox && in send_hsr_supervision_frame() 360 struct hsr_priv *hsr = master->hsr; in send_prp_supervision_frame() local 404 hsr = from_timer(hsr, t, announce_timer); in hsr_announce() [all …]
|
| A D | hsr_framereg.c | 41 if (!hsr->redbox || !is_valid_ether_addr(hsr->macaddress_redbox)) in hsr_addr_is_redbox() 106 spin_lock_bh(&hsr->list_lock); in hsr_create_self_node() 109 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node() 120 spin_lock_bh(&hsr->list_lock); in hsr_del_self_node() 123 spin_unlock_bh(&hsr->list_lock); in hsr_del_self_node() 185 spin_lock_bh(&hsr->list_lock); in hsr_add_node() 217 struct hsr_priv *hsr = port->hsr; in hsr_get_node() local 287 struct hsr_priv *hsr = port_rcv->hsr; in hsr_handle_sup_frame() local 527 struct hsr_priv *hsr = from_timer(hsr, t, prune_timer); in hsr_prune_nodes() local 589 mod_timer(&hsr->prune_timer, in hsr_prune_nodes() [all …]
|
| A D | hsr_slave.c | 28 struct hsr_priv *hsr; in hsr_handle_frame() local 43 hsr = port->hsr; in hsr_handle_frame() 74 spin_lock_bh(&hsr->seqnr_lock); in hsr_handle_frame() 76 spin_unlock_bh(&hsr->seqnr_lock); in hsr_handle_frame() 147 if (!port->hsr->fwd_offloaded) { in hsr_portdev_setup() 170 if (!port->hsr->fwd_offloaded) in hsr_portdev_setup() 188 port = hsr_port_get_hsr(hsr, type); in hsr_add_port() 196 port->hsr = hsr; in hsr_add_port() 222 struct hsr_priv *hsr; in hsr_del_port() local 225 hsr = port->hsr; in hsr_del_port() [all …]
|
| A D | hsr_main.c | 25 hsr_for_each_port(hsr, port) in hsr_slave_empty() 36 struct hsr_priv *hsr; in hsr_netdev_notify() local 46 hsr = netdev_priv(dev); in hsr_netdev_notify() 53 hsr = port->hsr; in hsr_netdev_notify() 60 hsr_check_carrier_and_operstate(hsr); in hsr_netdev_notify() 85 res = hsr_create_self_node(hsr, in hsr_netdev_notify() 105 if (hsr_slave_empty(master->hsr)) { in hsr_netdev_notify() 128 hsr_for_each_port(hsr, port) in hsr_port_get_hsr() 136 struct hsr_priv *hsr; in hsr_get_version() local 138 hsr = netdev_priv(dev); in hsr_get_version() [all …]
|
| A D | hsr_netlink.c | 136 hsr_debugfs_term(hsr); in hsr_dellink() 137 hsr_del_ports(hsr); in hsr_dellink() 139 hsr_del_self_node(hsr); in hsr_dellink() 140 hsr_del_nodes(&hsr->node_db); in hsr_dellink() 165 hsr->sup_multicast_addr) || in hsr_fill_info() 168 if (hsr->prot_version == PRP_V1) in hsr_fill_info() 305 struct hsr_priv *hsr; in hsr_get_node_status() local 352 hsr = netdev_priv(hsr_dev); in hsr_get_node_status() 353 res = hsr_get_node_data(hsr, in hsr_get_node_status() 437 struct hsr_priv *hsr; in hsr_get_node_list() local [all …]
|
| A D | hsr_forward.c | 48 hsr->sup_multicast_addr)) in is_supervision_frame() 230 lane_id |= port->hsr->net_id; in prp_set_lan_id() 416 port->hsr->macaddress_redbox); in hsr_xmit() 504 struct hsr_priv *hsr = port->hsr; in hsr_forward_do() local 540 if (hsr->proto_ops->drop_frame && in hsr_forward_do() 590 struct hsr_priv *hsr = port->hsr; in handle_std_frame() local 604 hsr->sequence_nr++; in handle_std_frame() 612 struct hsr_priv *hsr = port->hsr; in hsr_fill_frame_info() local 657 struct hsr_priv *hsr = port->hsr; in fill_frame_info() local 674 n_db = &hsr->node_db; in fill_frame_info() [all …]
|
| A D | hsr_framereg.h | 32 void hsr_del_self_node(struct hsr_priv *hsr); 38 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr); 39 bool hsr_addr_is_redbox(struct hsr_priv *hsr, unsigned char *addr); 53 int hsr_create_self_node(struct hsr_priv *hsr, 57 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, 60 int hsr_get_node_data(struct hsr_priv *hsr,
|
| A D | Makefile | 6 obj-$(CONFIG_HSR) += hsr.o 8 hsr-y := hsr_main.o hsr_framereg.o hsr_device.o \ 10 hsr-$(CONFIG_DEBUG_FS) += hsr_debugfs.o
|
| A D | hsr_device.h | 16 void hsr_del_ports(struct hsr_priv *hsr); 21 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr); 22 int hsr_get_max_mtu(struct hsr_priv *hsr);
|
| A D | hsr_main.h | 120 struct hsr_tag hsr; member 164 struct hsr_priv *hsr; member 229 #define hsr_for_each_port(hsr, port) \ argument 230 list_for_each_entry_rcu((port), &(hsr)->ports, port_list) 232 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt);
|
| A D | hsr_netlink.h | 23 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN], 25 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
|
| A D | hsr_slave.h | 17 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
|
| /linux/arch/arm64/kvm/ |
| A D | trace_handle_exit.h | 146 TP_PROTO(unsigned long hsr), 147 TP_ARGS(hsr), 150 __field(unsigned long, hsr) 154 __entry->hsr = hsr; 157 TP_printk("HSR 0x%08lx", __entry->hsr)
|
| A D | trace_arm.h | 54 TP_PROTO(unsigned long vcpu_pc, unsigned long hsr, 57 TP_ARGS(vcpu_pc, hsr, hxfar, ipa), 61 __field( unsigned long, hsr ) 68 __entry->hsr = hsr; 74 __entry->ipa, __entry->hsr,
|
| /linux/tools/testing/selftests/net/hsr/ |
| A D | hsr_ping.sh | 58 grep 00:00:00:00:00:00 /sys/kernel/debug/hsr/hsr*/node_table 143 …ip -net "$ns1" link add name hsr1 type hsr slave1 ns1eth1 slave2 ns1eth2 supervision 45 version $H… 144 …ip -net "$ns2" link add name hsr2 type hsr slave1 ns2eth1 slave2 ns2eth2 supervision 45 version $H… 145 …ip -net "$ns3" link add name hsr3 type hsr slave1 ns3eth1 slave2 ns3eth2 supervision 45 version $H…
|
| A D | hsr_redbox.sh | 71 ip link help hsr | grep -q INTERLINK 114 …ip -net "${ns1}" link add name hsr1 type hsr slave1 ns1eth1 slave2 ns1eth2 supervision 45 version … 115 …ip -net "${ns2}" link add name hsr2 type hsr slave1 ns2eth1 slave2 ns2eth2 interlink ns2eth3 super…
|
| /linux/drivers/net/dsa/microchip/ |
| A D | ksz9477.h | 61 void ksz9477_hsr_join(struct dsa_switch *ds, int port, struct net_device *hsr); 62 void ksz9477_hsr_leave(struct dsa_switch *ds, int port, struct net_device *hsr);
|
| A D | ksz9477.c | 1247 void ksz9477_hsr_join(struct dsa_switch *ds, int port, struct net_device *hsr) in ksz9477_hsr_join() argument 1259 dsa_hsr_foreach_port(hsr_dp, ds, hsr) in ksz9477_hsr_join() 1263 dsa_hsr_foreach_port(hsr_dp, ds, hsr) in ksz9477_hsr_join() 1286 void ksz9477_hsr_leave(struct dsa_switch *ds, int port, struct net_device *hsr) in ksz9477_hsr_leave() argument
|
| /linux/net/dsa/ |
| A D | port.h | 106 int dsa_port_hsr_join(struct dsa_port *dp, struct net_device *hsr, 108 void dsa_port_hsr_leave(struct dsa_port *dp, struct net_device *hsr);
|
| A D | port.c | 1917 int dsa_port_hsr_join(struct dsa_port *dp, struct net_device *hsr, in dsa_port_hsr_join() argument 1926 dp->hsr_dev = hsr; in dsa_port_hsr_join() 1928 err = ds->ops->port_hsr_join(ds, dp->index, hsr, extack); in dsa_port_hsr_join() 1935 void dsa_port_hsr_leave(struct dsa_port *dp, struct net_device *hsr) in dsa_port_hsr_leave() argument 1943 err = ds->ops->port_hsr_leave(ds, dp->index, hsr); in dsa_port_hsr_leave() 1947 dp->index, hsr->name, ERR_PTR(err)); in dsa_port_hsr_leave()
|
| /linux/Documentation/networking/ |
| A D | netdev-features.rst | 171 * hsr-tag-ins-offload 176 * hsr-tag-rm-offload 181 * hsr-fwd-offload 186 * hsr-dup-offload
|
| /linux/drivers/net/dsa/xrs700x/ |
| A D | xrs700x.c | 563 struct net_device *hsr, in xrs700x_hsr_join() argument 574 ret = hsr_get_version(hsr, &ver); in xrs700x_hsr_join() 594 dsa_hsr_foreach_port(dp, ds, hsr) { in xrs700x_hsr_join() 661 struct net_device *hsr) in xrs700x_hsr_leave() argument 669 dsa_hsr_foreach_port(dp, ds, hsr) { in xrs700x_hsr_leave()
|
| /linux/net/ |
| A D | Makefile | 73 obj-$(CONFIG_HSR) += hsr/
|
| /linux/tools/arch/arm64/include/uapi/asm/ |
| A D | kvm.h | 146 __u32 hsr; member
|
| /linux/arch/arm64/include/uapi/asm/ |
| A D | kvm.h | 146 __u32 hsr; member
|