Home
last modified time | relevance | path

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

12

/Linux-v6.1/net/hsr/
Dhsr_slave.c194 dev_set_mtu(master->dev, hsr_get_max_mtu(hsr)); in hsr_add_port()
214 dev_set_mtu(master->dev, hsr_get_max_mtu(hsr)); in hsr_del_port()
/Linux-v6.1/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.c654 err = dev_set_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in bareudp_link_config()
Dmacvlan.c1776 dev_set_mtu(vlan->dev, dev->mtu); in macvlan_device_event()
Damt.c3393 dev_set_mtu(amt->dev, new_mtu); in amt_device_event()
/Linux-v6.1/net/dsa/
Dmaster.c350 err = dev_set_mtu(dev, ETH_DATA_LEN); in dsa_master_reset_mtu()
379 ret = dev_set_mtu(dev, mtu); in dsa_master_setup()
Dslave.c1749 err = dev_set_mtu(p->dev, mtu); in dsa_hw_port_list_set_mtu()
1761 if (dev_set_mtu(p->dev, p->old_mtu)) in dsa_hw_port_list_set_mtu()
1896 err = dev_set_mtu(master, new_master_mtu); in dsa_slave_change_mtu()
1924 dev_set_mtu(master, old_master_mtu); in dsa_slave_change_mtu()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/
Dcmsg.c178 dev_set_mtu(netdev, mtu); in nfp_flower_cmsg_portmod_rx()
/Linux-v6.1/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_netdev.c164 dev_set_mtu(netdev, netdev->max_mtu); in opa_vnic_process_vema_config()
/Linux-v6.1/drivers/net/team/
Dteam.c1200 err = dev_set_mtu(port_dev, dev->mtu); in team_port_add()
1319 dev_set_mtu(port_dev, port->orig.mtu); in team_port_add()
1367 dev_set_mtu(port_dev, port->orig.mtu); in team_port_del()
1832 err = dev_set_mtu(port->dev, new_mtu); in team_change_mtu()
1848 dev_set_mtu(port->dev, dev->mtu); in team_change_mtu()
/Linux-v6.1/net/caif/
Dchnl_net.c288 dev_set_mtu(dev, mtu); in chnl_net_open()
/Linux-v6.1/net/core/
Ddev_ioctl.c334 return dev_set_mtu(dev, ifr->ifr_mtu); in dev_ifsioc()
Dnet-sysfs.c358 return dev_set_mtu(dev, (int)new_mtu); in change_mtu()
/Linux-v6.1/net/8021q/
Dvlan.c424 dev_set_mtu(vlandev, dev->mtu); in vlan_device_event()
/Linux-v6.1/net/bridge/
Dbr_if.c523 dev_set_mtu(br->dev, br_mtu_min(br)); in br_mtu_auto_adjust()
/Linux-v6.1/net/ipv4/
Dip_tunnel.c343 err = dev_set_mtu(dev, mtu); in ip_tunnel_create()
1171 err = dev_set_mtu(dev, mtu); in ip_tunnel_newlink()
Dipconfig.c399 if ((err = dev_set_mtu(ic_dev->dev, ic_dev_mtu)) < 0) in ic_setup_if()
/Linux-v6.1/drivers/net/hyperv/
Dnetvsc_drv.c1223 ret = dev_set_mtu(vf_netdev, mtu); in netvsc_change_mtu()
1245 dev_set_mtu(vf_netdev, orig_mtu); in netvsc_change_mtu()
2229 ret = dev_set_mtu(vf_netdev, ndev->mtu); in __netvsc_vf_setup()
/Linux-v6.1/drivers/staging/octeon/
Dethernet.c432 dev_set_mtu(dev, dev->mtu); in cvm_oct_common_init()
/Linux-v6.1/drivers/net/xen-netback/
Dinterface.c610 dev_set_mtu(vif->dev, ETH_DATA_LEN); in xenvif_carrier_on()
/Linux-v6.1/drivers/net/bonding/
Dbond_main.c1932 res = dev_set_mtu(slave_dev, bond->dev->mtu); in bond_enslave()
2278 dev_set_mtu(slave_dev, new_slave->original_mtu); in bond_enslave()
2468 dev_set_mtu(slave_dev, slave->original_mtu); in __bond_release_one()
4654 res = dev_set_mtu(slave->dev, new_mtu); in bond_change_mtu()
4683 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu()
/Linux-v6.1/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c352 dev_set_mtu(priv->dev, min(priv->mcast_mtu, priv->admin_mtu)); in ipoib_mcast_carrier_on_task()
Dipoib_main.c535 dev_set_mtu(dev, ipoib_cm_max_mtu(dev)); in ipoib_set_mode()
547 dev_set_mtu(dev, min(priv->mcast_mtu, dev->mtu)); in ipoib_set_mode()
/Linux-v6.1/net/atm/
Dlec.c415 if (dev_set_mtu(dev, mesg->content.config.mtu)) in lec_atm_send()
/Linux-v6.1/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c294 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change()

12