Home
last modified time | relevance | path

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

/Linux-v5.15/net/ipv6/
Dip6_gre.c79 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu);
80 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu);
1117 static void ip6gre_tnl_link_config_route(struct ip6_tnl *t, int set_mtu, in ip6gre_tnl_link_config_route() argument
1143 if (set_mtu) { in ip6gre_tnl_link_config_route()
1175 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu) in ip6gre_tnl_link_config() argument
1178 ip6gre_tnl_link_config_route(t, set_mtu, ip6gre_calc_hlen(t)); in ip6gre_tnl_link_config()
1205 int set_mtu) in ip6gre_tnl_change() argument
1208 ip6gre_tnl_link_config(t, set_mtu); in ip6gre_tnl_change()
2258 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu) in ip6erspan_tnl_link_config() argument
2261 ip6gre_tnl_link_config_route(t, set_mtu, ip6erspan_calc_hlen(t)); in ip6erspan_tnl_link_config()
[all …]
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb/
Dgmac.h110 int (*set_mtu)(struct cmac *, int mtu); member
Dvsc7326.c674 .set_mtu = mac_set_mtu,
Dcxgb2.c839 if (!mac->ops->set_mtu) in t1_change_mtu()
841 if ((ret = mac->ops->set_mtu(mac, new_mtu))) in t1_change_mtu()
Dpm3393.c578 .set_mtu = pm3393_set_mtu,
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_offload.py473 def set_mtu(self, mtu, fail=True): member in NetdevSim
1013 ret, _ = sim.set_mtu(9000, fail=False)
1018 sim.set_mtu(9000)
1022 sim.set_mtu(1500)
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_main.c154 if (hr_dev->hw->set_mtu) in hns_roce_setup_mtu_mac()
155 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac()
Dhns_roce_device.h902 void (*set_mtu)(struct hns_roce_dev *hr_dev, u8 phy_port, member
Dhns_roce_hw_v1.c4426 .set_mtu = hns_roce_v1_set_mtu,
/Linux-v5.15/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c959 if (adapter->set_mtu) in netxen_nic_change_mtu()
960 rc = adapter->set_mtu(adapter, mtu); in netxen_nic_change_mtu()
1745 adapter->set_mtu = netxen_nic_set_mtu_xgb; in netxen_setup_hwops()
1757 adapter->set_mtu = nx_fw_cmd_set_mtu; in netxen_setup_hwops()
Dnetxen_nic.h1641 int (*set_mtu) (struct netxen_adapter *, int); member
Dnetxen_nic_main.c1111 adapter->set_mtu(adapter, netdev->mtu); in __netxen_nic_up()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns/
Dhnae.h509 int (*set_mtu)(struct hnae_handle *handle, int new_mtu); member
Dhns_ae_adapt.c960 .set_mtu = hns_ae_set_mtu,
Dhns_enet.c1723 if (!h->dev->ops->set_mtu) in hns_nic_change_mtu()
1749 ret = h->dev->ops->set_mtu(h, new_mtu); in hns_nic_change_mtu()
/Linux-v5.15/net/ipv4/
Dip_tunnel.c828 bool set_mtu, in ip_tunnel_update() argument
852 if (set_mtu) in ip_tunnel_update()
Dip_gre.c749 static void ipgre_link_update(struct net_device *dev, bool set_mtu) in ipgre_link_update() argument
764 if (set_mtu) in ipgre_link_update()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h565 int (*set_mtu)(struct hnae3_handle *handle, int new_mtu); member
Dhns3_enet.c2645 if (!h->ae_algo->ops->set_mtu) in hns3_nic_change_mtu()
2651 ret = h->ae_algo->ops->set_mtu(h, new_mtu); in hns3_nic_change_mtu()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dinit.c935 set_mtu(ppd); in hfi1_init()
Ddriver.c1241 int set_mtu(struct hfi1_pportdata *ppd) in set_mtu() function
Dhfi.h1887 int set_mtu(struct hfi1_pportdata *ppd);
Dmad.c1525 set_mtu(ppd); in __subn_set_opa_portinfo()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3887 .set_mtu = hclgevf_set_mtu,
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c12964 .set_mtu = hclge_set_mtu,