Home
last modified time | relevance | path

Searched refs:dev_set_mtu (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.10/net/hsr/
Dhsr_slave.c193 dev_set_mtu(master->dev, hsr_get_max_mtu(hsr)); in hsr_add_port()
213 dev_set_mtu(master->dev, hsr_get_max_mtu(hsr)); in hsr_del_port()
/Linux-v5.10/drivers/net/
Dnet_failover.c223 ret = dev_set_mtu(primary_dev, new_mtu); in net_failover_change_mtu()
230 ret = dev_set_mtu(standby_dev, new_mtu); in net_failover_change_mtu()
233 dev_set_mtu(primary_dev, dev->mtu); in net_failover_change_mtu()
509 err = dev_set_mtu(slave_dev, failover_dev->mtu); in net_failover_slave_register()
572 dev_set_mtu(slave_dev, orig_mtu); in net_failover_slave_register()
Dbareudp.c640 err = dev_set_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in bareudp_link_config()
739 err = dev_set_mtu(dev, IP_MAX_MTU - BAREUDP_BASE_HLEN); in bareudp_dev_create()
Dmacvlan.c1723 dev_set_mtu(vlan->dev, dev->mtu); in macvlan_device_event()
/Linux-v5.10/net/dsa/
Dmaster.c300 err = dev_set_mtu(dev, ETH_DATA_LEN); in dsa_master_reset_mtu()
314 ret = dev_set_mtu(dev, ETH_DATA_LEN + cpu_dp->tag_ops->overhead); in dsa_master_setup()
Dslave.c1345 err = dev_set_mtu(p->dev, mtu); in dsa_hw_port_list_set_mtu()
1357 if (dev_set_mtu(p->dev, p->old_mtu)) in dsa_hw_port_list_set_mtu()
1498 err = dev_set_mtu(master, new_master_mtu); in dsa_slave_change_mtu()
1527 dev_set_mtu(master, old_master_mtu); in dsa_slave_change_mtu()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Dcmsg.c178 dev_set_mtu(netdev, mtu); in nfp_flower_cmsg_portmod_rx()
/Linux-v5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_netdev.c165 dev_set_mtu(netdev, netdev->max_mtu); in opa_vnic_process_vema_config()
/Linux-v5.10/net/core/
Ddev_ioctl.c272 return dev_set_mtu(dev, ifr->ifr_mtu); in dev_ifsioc()
Dnet-sysfs.c336 return dev_set_mtu(dev, (int)new_mtu); in change_mtu()
/Linux-v5.10/drivers/net/wan/
Ddlci.c267 return dev_set_mtu(dlp->slave, new_mtu); in dlci_change_mtu()
/Linux-v5.10/drivers/net/team/
Dteam.c1195 err = dev_set_mtu(port_dev, dev->mtu); in team_port_add()
1312 dev_set_mtu(port_dev, port->orig.mtu); in team_port_add()
1358 dev_set_mtu(port_dev, port->orig.mtu); in team_port_del()
1815 err = dev_set_mtu(port->dev, new_mtu); in team_change_mtu()
1831 dev_set_mtu(port->dev, dev->mtu); in team_change_mtu()
/Linux-v5.10/net/caif/
Dchnl_net.c307 dev_set_mtu(dev, mtu); in chnl_net_open()
/Linux-v5.10/net/8021q/
Dvlan.c429 dev_set_mtu(vlandev, dev->mtu); in vlan_device_event()
/Linux-v5.10/net/bridge/
Dbr_if.c515 dev_set_mtu(br->dev, br_mtu_min(br)); in br_mtu_auto_adjust()
/Linux-v5.10/net/ipv4/
Dip_tunnel.c343 err = dev_set_mtu(dev, mtu); in ip_tunnel_create()
1159 err = dev_set_mtu(dev, mtu); in ip_tunnel_newlink()
Dipconfig.c375 if ((err = dev_set_mtu(ic_dev->dev, ic_dev_mtu)) < 0) in ic_setup_if()
/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_drv.c1242 ret = dev_set_mtu(vf_netdev, mtu); in netvsc_change_mtu()
1264 dev_set_mtu(vf_netdev, orig_mtu); in netvsc_change_mtu()
2239 ret = dev_set_mtu(vf_netdev, ndev->mtu); in __netvsc_vf_setup()
/Linux-v5.10/drivers/net/bonding/
Dbond_main.c1721 res = dev_set_mtu(slave_dev, bond->dev->mtu); in bond_enslave()
2032 dev_set_mtu(slave_dev, new_slave->original_mtu); in bond_enslave()
2210 dev_set_mtu(slave_dev, slave->original_mtu); in __bond_release_one()
3980 res = dev_set_mtu(slave->dev, new_mtu); in bond_change_mtu()
4009 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu()
/Linux-v5.10/drivers/net/xen-netback/
Dinterface.c619 dev_set_mtu(vif->dev, ETH_DATA_LEN); in xenvif_carrier_on()
/Linux-v5.10/drivers/staging/octeon/
Dethernet.c436 dev_set_mtu(dev, dev->mtu); in cvm_oct_common_init()
/Linux-v5.10/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c361 dev_set_mtu(priv->dev, min(priv->mcast_mtu, priv->admin_mtu)); in ipoib_mcast_carrier_on_task()
Dipoib_main.c531 dev_set_mtu(dev, ipoib_cm_max_mtu(dev)); in ipoib_set_mode()
543 dev_set_mtu(dev, min(priv->mcast_mtu, dev->mtu)); in ipoib_set_mode()
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c294 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change()
/Linux-v5.10/net/atm/
Dlec.c417 if (dev_set_mtu(dev, mesg->content.config.mtu)) in lec_atm_send()

12