Home
last modified time | relevance | path

Searched refs:slave (Results 1 – 20 of 20) sorted by relevance

/net/sched/
Dsch_teql.c297 struct net_device *slave = qdisc_dev(q); in teql_master_xmit() local
298 struct netdev_queue *slave_txq = netdev_get_tx_queue(slave, 0); in teql_master_xmit()
302 if (netif_xmit_stopped(netdev_get_tx_queue(slave, subq)) || in teql_master_xmit()
303 !netif_running(slave)) { in teql_master_xmit()
308 switch (teql_resolve(skb, skb_res, slave, slave_txq)) { in teql_master_xmit()
314 netdev_start_xmit(skb, slave, slave_txq, false) == in teql_master_xmit()
369 struct net_device *slave = qdisc_dev(q); in teql_master_open() local
371 if (slave == NULL) in teql_master_open()
374 if (slave->mtu < mtu) in teql_master_open()
375 mtu = slave->mtu; in teql_master_open()
[all …]
/net/dsa/
Dslave.c327 dsa_slave_vlan_check_for_8021q_uppers(struct net_device *slave, in dsa_slave_vlan_check_for_8021q_uppers() argument
333 netdev_for_each_upper_dev_rcu(slave, upper_dev, iter) { in dsa_slave_vlan_check_for_8021q_uppers()
1457 int dsa_slave_manage_vlan_filtering(struct net_device *slave, in dsa_slave_manage_vlan_filtering() argument
1463 slave->features |= NETIF_F_HW_VLAN_CTAG_FILTER; in dsa_slave_manage_vlan_filtering()
1465 err = vlan_for_each(slave, dsa_slave_restore_vlan, slave); in dsa_slave_manage_vlan_filtering()
1467 vlan_for_each(slave, dsa_slave_clear_vlan, slave); in dsa_slave_manage_vlan_filtering()
1468 slave->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; in dsa_slave_manage_vlan_filtering()
1472 err = vlan_for_each(slave, dsa_slave_clear_vlan, slave); in dsa_slave_manage_vlan_filtering()
1476 slave->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; in dsa_slave_manage_vlan_filtering()
1547 struct net_device *slave; in dsa_bridge_mtu_normalization() local
[all …]
Ddsa_priv.h195 return dp->slave; in dsa_master_find_slave()
323 void dsa_slave_setup_tagger(struct net_device *slave);
411 struct net_device *slave; in dsa_find_designated_bridge_port_by_vid() local
433 slave = dp->slave; in dsa_find_designated_bridge_port_by_vid()
435 err = br_vlan_get_info_rcu(slave, vid, &vinfo); in dsa_find_designated_bridge_port_by_vid()
439 return slave; in dsa_find_designated_bridge_port_by_vid()
Dport.c349 struct net_device *dev = dp->slave; in dsa_port_bridge_join()
545 struct net_device *upper_dev, *slave = dp->slave; in dsa_port_can_apply_vlan_filtering() local
549 netdev_for_each_upper_dev_rcu(slave, upper_dev, iter) { in dsa_port_can_apply_vlan_filtering()
634 struct net_device *slave; in dsa_port_vlan_filtering() local
642 slave = dsa_to_port(ds, port)->slave; in dsa_port_vlan_filtering()
643 if (!slave) in dsa_port_vlan_filtering()
646 err = dsa_slave_manage_vlan_filtering(slave, in dsa_port_vlan_filtering()
654 err = dsa_slave_manage_vlan_filtering(dp->slave, in dsa_port_vlan_filtering()
1064 phydev = dp->slave->phydev; in dsa_port_phylink_mac_link_down()
Dswitch.c606 struct net_device *slave; in dsa_switch_change_tag_proto() local
608 slave = dsa_to_port(ds, port)->slave; in dsa_switch_change_tag_proto()
609 dsa_slave_setup_tagger(slave); in dsa_switch_change_tag_proto()
612 dsa_slave_change_mtu(slave, slave->mtu); in dsa_switch_change_tag_proto()
Ddsa.c287 return dp->type == DSA_PORT_TYPE_USER && dp->slave; in dsa_is_port_initialized()
299 ret = dsa_slave_suspend(dsa_to_port(ds, i)->slave); in dsa_switch_suspend()
326 ret = dsa_slave_resume(dsa_to_port(ds, i)->slave); in dsa_switch_resume()
Ddsa2.c482 devlink_port_type_eth_set(dlp, dp->slave); in dsa_port_setup()
569 if (dp->slave) { in dsa_port_teardown()
570 dsa_slave_destroy(dp->slave); in dsa_port_teardown()
571 dp->slave = NULL; in dsa_port_teardown()
1163 if (dp->slave->flags & IFF_UP) in dsa_tree_change_tag_proto()
1655 slave_dev = dp->slave; in dsa_switch_shutdown()
DMakefile4 dsa_core-y += dsa.o dsa2.o master.o port.o slave.o switch.o tag_8021q.o
/net/ax25/
Dax25_timer.c135 if (ax25->ax25_dev->dama.slave) in ax25_heartbeat_expiry()
156 if (!ax25->ax25_dev->dama.slave) in ax25_t1timer_expiry()
175 if (!ax25->ax25_dev->dama.slave) in ax25_t2timer_expiry()
194 if (ax25->ax25_dev->dama.slave) in ax25_t3timer_expiry()
215 if (ax25->ax25_dev->dama.slave) in ax25_idletimer_expiry()
Dax25_ds_subr.c175 if (ax25_dev->dama.slave == 0) in ax25_dev_dama_on()
178 ax25_dev->dama.slave = 1; in ax25_dev_dama_on()
187 if (ax25_dev->dama.slave && !ax25_check_dama_slave(ax25_dev)) { in ax25_dev_dama_off()
189 ax25_dev->dama.slave = 0; in ax25_dev_dama_off()
DKconfig59 If you say Y here, your Linux box will act as a DAMA slave; this is
62 only compiles DAMA slave support into the kernel. It still needs to
77 only compiles DAMA slave support into the kernel. It still needs to
Dax25_out.c83 if (ax25_dev->dama.slave) in ax25_send_frame()
201 if (!ax25->ax25_dev->dama.slave) ax25_kick(ax25); in ax25_output()
Dax25_ds_timer.c70 if (ax25_dev == NULL || !ax25_dev->dama.slave) in ax25_ds_timeout()
Dax25_in.c172 if (dama || ax25->ax25_dev->dama.slave) in ax25_process_rx_frame()
Daf_ax25.c396 if (ax25_dev->dama.slave && ax25->ax25_dev->values[AX25_VALUES_PROTOCOL] == AX25_PROTO_DAMA_SLAVE) in ax25_ctl_ioctl()
1311 if (ax25->ax25_dev->dama.slave) in ax25_connect()
/net/hsr/
Dhsr_device.c482 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2], in hsr_dev_finalize()
496 eth_hw_addr_set(hsr_dev, slave[0]->dev_addr); in hsr_dev_finalize()
511 slave[1]->dev_addr); in hsr_dev_finalize()
541 res = hsr_add_port(hsr, slave[0], HSR_PT_SLAVE_A, extack); in hsr_dev_finalize()
545 res = hsr_add_port(hsr, slave[1], HSR_PT_SLAVE_B, extack); in hsr_dev_finalize()
DKconfig19 device will be sent in both directions on the ring (over both slave
25 separate networks over the two slave interfaces. Like HSR, Ethernet
Dhsr_device.h18 int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
/net/
DKconfig442 on slave pci ethernet devices with the same mac address as the
/net/core/
Dfilter.c3970 struct net_device *master, *slave; in xdp_master_redirect() local
3974 slave = master->netdev_ops->ndo_xdp_get_xmit_slave(master, xdp); in xdp_master_redirect()
3975 if (slave && slave != xdp->rxq->dev) { in xdp_master_redirect()
3981 ri->tgt_index = slave->ifindex; in xdp_master_redirect()