Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlx4/
Dport.c748 if (mtu > master->max_mtu[port]) in mlx4_common_set_port()
749 master->max_mtu[port] = mtu; in mlx4_common_set_port()
751 master->max_mtu[port]) { in mlx4_common_set_port()
753 master->max_mtu[port] = mtu; in mlx4_common_set_port()
755 master->max_mtu[port] = in mlx4_common_set_port()
756 max(master->max_mtu[port], in mlx4_common_set_port()
761 gen_context->mtu = cpu_to_be16(master->max_mtu[port]); in mlx4_common_set_port()
Dmlx4_en.h554 unsigned max_mtu; member
/drivers/infiniband/hw/ehca/
Dehca_av.c154 av->av.pmtu = shca->max_mtu; in ehca_create_ah()
221 new_ehca_av.pmtu = shca->max_mtu; in ehca_modify_ah()
Dehca_hca.c206 props->active_mtu = props->max_mtu = map_mtu(shca, rblock->max_mtu); in ehca_query_port()
Dehca_classes.h130 int max_mtu; member
Dhipz_hw.h404 u32 max_mtu; member
Dehca_main.c403 shca->max_mtu = port->max_mtu; in ehca_sense_attributes()
/drivers/net/ethernet/altera/
Daltera_tse_main.c979 unsigned int max_mtu = priv->max_mtu; in tse_change_mtu() local
987 if ((new_mtu < min_mtu) || (new_mtu > max_mtu)) { in tse_change_mtu()
988 netdev_err(dev, "invalid MTU, max MTU is: %u\n", max_mtu); in tse_change_mtu()
1430 priv->max_mtu = ETH_DATA_LEN; in altera_tse_probe()
1437 &priv->max_mtu); in altera_tse_probe()
Daltera_tse.h446 u32 max_mtu; member
/drivers/net/ethernet/intel/i40evf/
Di40e_virtchnl.h155 u16 max_mtu; member
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl.h155 u16 max_mtu; member
/drivers/infiniband/hw/nes/
Dnes.h172 extern int max_mtu;
173 #define max_frame_len (max_mtu+ETH_HLEN)
/drivers/net/ethernet/ibm/emac/
Dcore.h228 u32 max_mtu; member
Dcore.c1079 if (new_mtu < EMAC_MIN_MTU || new_mtu > dev->max_mtu) in emac_change_mtu()
2556 if (emac_read_uint_prop(np, "max-frame-size", &dev->max_mtu, 0)) in emac_init_config()
2557 dev->max_mtu = 1500; in emac_init_config()
2695 DBG(dev, "max_mtu : %d\n", dev->max_mtu); in emac_init_config()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c2313 int max_mtu; in stmmac_change_mtu() local
2321 max_mtu = JUMBO_LEN; in stmmac_change_mtu()
2323 max_mtu = SKB_MAX_HEAD(NET_SKB_PAD + NET_IP_ALIGN); in stmmac_change_mtu()
2325 if (priv->plat->maxmtu < max_mtu) in stmmac_change_mtu()
2326 max_mtu = priv->plat->maxmtu; in stmmac_change_mtu()
2328 if ((new_mtu < 46) || (new_mtu > max_mtu)) { in stmmac_change_mtu()
2329 pr_err("%s: invalid MTU, max MTU is: %d\n", dev->name, max_mtu); in stmmac_change_mtu()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.h143 int max_mtu; member
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c990 int max_mtu; in netxen_nic_change_mtu() local
994 max_mtu = P3_MAX_MTU; in netxen_nic_change_mtu()
996 max_mtu = P2_MAX_MTU; in netxen_nic_change_mtu()
998 if (mtu > max_mtu) { in netxen_nic_change_mtu()
1000 netdev->name, max_mtu); in netxen_nic_change_mtu()
/drivers/firewire/
Dnet.c1470 unsigned max_mtu; in fwnet_probe() local
1513 max_mtu = (1 << (card->max_receive + 1)) in fwnet_probe()
1515 net->mtu = min(1500U, max_mtu); in fwnet_probe()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h511 u16 max_mtu; member
1196 __le16 max_mtu; member
1233 u16 max_mtu; member
Dqlcnic_sriov_pf.c549 ahw->max_mtu = nic_info.max_mtu; in qlcnic_sriov_pf_init()
1118 if (cmd->req.arg[2] > adapter->ahw->max_mtu) in qlcnic_sriov_validate_mtu()
Dqlcnic_ctx.c885 npar_info->max_mtu = le16_to_cpu(nic_info->max_mtu); in qlcnic_82xx_get_nic_info()
/drivers/net/
Dvxlan.c2110 int max_mtu; in vxlan_change_mtu() local
2117 max_mtu = lowerdev->mtu - VXLAN6_HEADROOM; in vxlan_change_mtu()
2119 max_mtu = lowerdev->mtu - VXLAN_HEADROOM; in vxlan_change_mtu()
2121 if (new_mtu < 68 || new_mtu > max_mtu) in vxlan_change_mtu()
/drivers/s390/net/
Dqeth_core.h677 int max_mtu; member
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c3991 vpath->max_mtu = mtu + VXGE_HW_MAC_HEADER_MAX_SIZE; in __vxge_hw_vpath_mgmt_read()
4254 VXGE_HW_MAC_HEADER_MAX_SIZE) < vpath->max_mtu) in __vxge_hw_vpath_mac_configure()
4260 vpath->max_mtu); in __vxge_hw_vpath_mac_configure()
4633 vpath->max_mtu = 0; in __vxge_hw_vp_terminate()
4724 if ((new_mtu < VXGE_HW_MIN_MTU) || (new_mtu > vpath->max_mtu)) in vxge_hw_vpath_mtu_set()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c341 props->max_mtu = IB_MTU_4096; in usnic_ib_query_port()

12