/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 748 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()
|
D | mlx4_en.h | 554 unsigned max_mtu; member
|
/drivers/infiniband/hw/ehca/ |
D | ehca_av.c | 154 av->av.pmtu = shca->max_mtu; in ehca_create_ah() 221 new_ehca_av.pmtu = shca->max_mtu; in ehca_modify_ah()
|
D | ehca_hca.c | 206 props->active_mtu = props->max_mtu = map_mtu(shca, rblock->max_mtu); in ehca_query_port()
|
D | ehca_classes.h | 130 int max_mtu; member
|
D | hipz_hw.h | 404 u32 max_mtu; member
|
D | ehca_main.c | 403 shca->max_mtu = port->max_mtu; in ehca_sense_attributes()
|
/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 979 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()
|
D | altera_tse.h | 446 u32 max_mtu; member
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_virtchnl.h | 155 u16 max_mtu; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl.h | 155 u16 max_mtu; member
|
/drivers/infiniband/hw/nes/ |
D | nes.h | 172 extern int max_mtu; 173 #define max_frame_len (max_mtu+ETH_HLEN)
|
/drivers/net/ethernet/ibm/emac/ |
D | core.h | 228 u32 max_mtu; member
|
D | core.c | 1079 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/ |
D | stmmac_main.c | 2313 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/ |
D | mthca_cmd.h | 143 int max_mtu; member
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 990 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/ |
D | net.c | 1470 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/ |
D | qlcnic.h | 511 u16 max_mtu; member 1196 __le16 max_mtu; member 1233 u16 max_mtu; member
|
D | qlcnic_sriov_pf.c | 549 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()
|
D | qlcnic_ctx.c | 885 npar_info->max_mtu = le16_to_cpu(nic_info->max_mtu); in qlcnic_82xx_get_nic_info()
|
/drivers/net/ |
D | vxlan.c | 2110 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/ |
D | qeth_core.h | 677 int max_mtu; member
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-config.c | 3991 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/ |
D | usnic_ib_verbs.c | 341 props->max_mtu = IB_MTU_4096; in usnic_ib_query_port()
|