Home
last modified time | relevance | path

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

/linux-6.6.21/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);
1132 static void ip6gre_tnl_link_config_route(struct ip6_tnl *t, int set_mtu, in ip6gre_tnl_link_config_route() argument
1158 if (set_mtu) { in ip6gre_tnl_link_config_route()
1192 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu) in ip6gre_tnl_link_config() argument
1195 ip6gre_tnl_link_config_route(t, set_mtu, ip6gre_calc_hlen(t)); in ip6gre_tnl_link_config()
1222 int set_mtu) in ip6gre_tnl_change() argument
1225 ip6gre_tnl_link_config(t, set_mtu); in ip6gre_tnl_change()
2272 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu) in ip6erspan_tnl_link_config() argument
2275 ip6gre_tnl_link_config_route(t, set_mtu, ip6erspan_calc_hlen(t)); in ip6erspan_tnl_link_config()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dgmac.h101 int (*set_mtu)(struct cmac *, int mtu); member
Dcxgb2.c843 if (!mac->ops->set_mtu) in t1_change_mtu()
845 if ((ret = mac->ops->set_mtu(mac, new_mtu))) in t1_change_mtu()
Dvsc7326.c674 .set_mtu = mac_set_mtu,
Dpm3393.c569 .set_mtu = pm3393_set_mtu,
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_offload.py473 def set_mtu(self, mtu, fail=True): member in NetdevSim
1015 ret, _ = sim.set_mtu(9000, fail=False)
1020 sim.set_mtu(9000)
1024 sim.set_mtu(1500)
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhnae.h509 int (*set_mtu)(struct hnae_handle *handle, int new_mtu); member
Dhns_ae_adapt.c959 .set_mtu = hns_ae_set_mtu,
Dhns_enet.c1746 if (!h->dev->ops->set_mtu) in hns_nic_change_mtu()
1772 ret = h->dev->ops->set_mtu(h, new_mtu); in hns_nic_change_mtu()
/linux-6.6.21/net/ipv4/
Dip_tunnel.c863 bool set_mtu, in ip_tunnel_update() argument
887 if (set_mtu) in ip_tunnel_update()
Dip_gre.c757 static void ipgre_link_update(struct net_device *dev, bool set_mtu) in ipgre_link_update() argument
773 if (set_mtu) in ipgre_link_update()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h616 int (*set_mtu)(struct hnae3_handle *handle, int new_mtu); member
Dhns3_enet.c2753 if (!h->ae_algo->ops->set_mtu) in hns3_nic_change_mtu()
2759 ret = h->ae_algo->ops->set_mtu(h, new_mtu); in hns3_nic_change_mtu()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dinit.c923 set_mtu(ppd); in hfi1_init()
Dhfi.h1885 int set_mtu(struct hfi1_pportdata *ppd);
Ddriver.c1238 int set_mtu(struct hfi1_pportdata *ppd) in set_mtu() function
Dmad.c1525 set_mtu(ppd); in __subn_set_opa_portinfo()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3319 .set_mtu = hclgevf_set_mtu,
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c12698 .set_mtu = hclge_set_mtu,