max_mtu          1495 drivers/firewire/net.c 	net->max_mtu = 4096U;
max_mtu          1123 drivers/hsi/clients/ssi_protocol.c 	ssi->netdev->max_mtu = SSIP_MAX_MTU;
max_mtu          1991 drivers/infiniband/core/device.c 	port_attr->max_mtu = IB_MTU_4096;
max_mtu           137 drivers/infiniband/core/uverbs_std_types_device.c 	resp->max_mtu = attr->max_mtu;
max_mtu           228 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	port_attr->max_mtu = IB_MTU_4096;
max_mtu           341 drivers/infiniband/hw/efa/efa_verbs.c 	props->max_mtu = ib_mtu_int_to_enum(dev->mtu);
max_mtu            78 drivers/infiniband/hw/hfi1/driver.c module_param_named(max_mtu, hfi1_max_mtu, uint, S_IRUGO);
max_mtu            79 drivers/infiniband/hw/hfi1/driver.c MODULE_PARM_DESC(max_mtu, "Set max MTU bytes, default is " __stringify(
max_mtu          1438 drivers/infiniband/hw/hfi1/verbs.c 	props->max_mtu = mtu_to_enum((!valid_ib_mtu(hfi1_max_mtu) ?
max_mtu          1440 drivers/infiniband/hw/hfi1/verbs.c 	props->active_mtu = !valid_ib_mtu(ppd->ibmtu) ? props->max_mtu :
max_mtu           860 drivers/infiniband/hw/hns/hns_roce_device.h 	enum ib_mtu	max_mtu;
max_mtu          1576 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	caps->max_mtu = IB_MTU_2048;
max_mtu          1741 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	caps->max_mtu = IB_MTU_4096;
max_mtu           170 drivers/infiniband/hw/hns/hns_roce_main.c 					    hr_dev->caps.max_mtu);
max_mtu           241 drivers/infiniband/hw/hns/hns_roce_main.c 	props->max_mtu = hr_dev->caps.max_mtu;
max_mtu           261 drivers/infiniband/hw/hns/hns_roce_main.c 	props->active_mtu = mtu ? min(props->max_mtu, mtu) : IB_MTU_256;
max_mtu          1115 drivers/infiniband/hw/hns/hns_roce_qp.c 	if ((hr_dev->caps.max_mtu >= IB_MTU_2048 &&
max_mtu          1116 drivers/infiniband/hw/hns/hns_roce_qp.c 	    attr->path_mtu > hr_dev->caps.max_mtu) ||
max_mtu           701 drivers/infiniband/hw/mlx4/main.c 	props->max_mtu		= out_mad->data[41] & 0xf;
max_mtu           785 drivers/infiniband/hw/mlx4/main.c 	props->max_mtu		= IB_MTU_4096;
max_mtu           801 drivers/infiniband/hw/mlx4/main.c 	props->active_mtu = tmp ? min(props->max_mtu, tmp) : IB_MTU_256;
max_mtu           575 drivers/infiniband/hw/mlx5/mad.c 	props->max_mtu		= out_mad->data[41] & 0xf;
max_mtu           534 drivers/infiniband/hw/mlx5/main.c 	props->max_mtu          = IB_MTU_4096;
max_mtu           571 drivers/infiniband/hw/mlx5/main.c 	props->active_mtu	= min(props->max_mtu, ndev_ib_mtu);
max_mtu          1301 drivers/infiniband/hw/mlx5/main.c 	u16 max_mtu;
max_mtu          1347 drivers/infiniband/hw/mlx5/main.c 	mlx5_query_port_max_mtu(mdev, &max_mtu, port);
max_mtu          1349 drivers/infiniband/hw/mlx5/main.c 	props->max_mtu = mlx5_mtu_to_ib_mtu(max_mtu);
max_mtu          1115 drivers/infiniband/hw/mthca/mthca_cmd.c 	dev_lim->max_mtu        = field >> 4;
max_mtu           143 drivers/infiniband/hw/mthca/mthca_cmd.h 	int max_mtu;
max_mtu           198 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.mtu_cap            = dev_lim->max_mtu;
max_mtu           176 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_mtu           = out_mad->data[41] & 0xf;
max_mtu           171 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	props->max_mtu = IB_MTU_4096;
max_mtu           818 drivers/infiniband/hw/qedr/main.c 	in_params->max_mtu = dev->ndev->mtu;
max_mtu           230 drivers/infiniband/hw/qedr/verbs.c 	attr->max_mtu = IB_MTU_4096;
max_mtu          1212 drivers/infiniband/hw/qib/qib_verbs.c 	props->max_mtu = qib_ibmtu ? qib_ibmtu : IB_MTU_4096;
max_mtu           374 drivers/infiniband/hw/usnic/usnic_ib_verbs.c 	props->max_mtu = IB_MTU_4096;
max_mtu           152 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_mtu = pvrdma_mtu_to_ib(resp->attrs.max_mtu);
max_mtu           163 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h 	enum pvrdma_mtu		max_mtu;
max_mtu           127 drivers/infiniband/sw/rxe/rxe.c 	port->attr.max_mtu		= IB_MTU_4096;
max_mtu           465 drivers/infiniband/sw/rxe/rxe_qp.c 		enum ib_mtu max_mtu = port->attr.max_mtu;
max_mtu           468 drivers/infiniband/sw/rxe/rxe_qp.c 		if (mtu > max_mtu) {
max_mtu           471 drivers/infiniband/sw/rxe/rxe_qp.c 				 ib_mtu_enum_to_int(max_mtu));
max_mtu           203 drivers/infiniband/sw/siw/siw_verbs.c 	attr->active_mtu = attr->max_mtu;
max_mtu           208 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_mtu = ib_mtu_int_to_enum(sdev->netdev->mtu);
max_mtu          1867 drivers/infiniband/ulp/ipoib/ipoib_main.c 	priv->max_ib_mtu = ib_mtu_enum_to_int(attr.max_mtu);
max_mtu          1920 drivers/infiniband/ulp/ipoib/ipoib_main.c 	ndev->max_mtu = IPOIB_CM_MTU;
max_mtu           162 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c 	netdev->max_mtu = max_t(unsigned int, info->vesw.eth_mtu,
max_mtu           164 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c 	if (netdev->mtu > netdev->max_mtu)
max_mtu           165 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c 		dev_set_mtu(netdev, netdev->max_mtu);
max_mtu          1323 drivers/media/dvb-core/dvb_net.c 	dev->max_mtu		= 4096;
max_mtu          1370 drivers/message/fusion/mptlan.c 	dev->max_mtu = MPT_LAN_MAX_MTU;
max_mtu           510 drivers/misc/ibmvmc.c 					ibmvmc.max_mtu,
max_mtu           663 drivers/misc/ibmvmc.c 	crq_msg.max_mtu = cpu_to_be32(ibmvmc_max_mtu);
max_mtu           922 drivers/misc/ibmvmc.c 	if (nbytes > ibmvmc.max_mtu) {
max_mtu          1074 drivers/misc/ibmvmc.c 	if (count > ibmvmc.max_mtu) {
max_mtu          1471 drivers/misc/ibmvmc.c 						   ibmvmc.max_mtu,
max_mtu          1483 drivers/misc/ibmvmc.c 	buffer->size = ibmvmc.max_mtu;
max_mtu          1581 drivers/misc/ibmvmc.c 				ibmvmc.max_mtu,
max_mtu          1714 drivers/misc/ibmvmc.c 	ibmvmc.max_mtu = min_t(u32, ibmvmc_max_mtu, be32_to_cpu(crq->max_mtu));
max_mtu          1721 drivers/misc/ibmvmc.c 		 ibmvmc.max_mtu, ibmvmc.max_buffer_pool_size,
max_mtu          2020 drivers/misc/ibmvmc.c 				ibmvmc.state, ibmvmc.max_mtu);
max_mtu          2381 drivers/misc/ibmvmc.c 	ibmvmc.max_mtu = ibmvmc_max_mtu;
max_mtu          2415 drivers/misc/ibmvmc.c module_param_named(max_mtu, ibmvmc_max_mtu, int, 0644);
max_mtu          2416 drivers/misc/ibmvmc.c MODULE_PARM_DESC(max_mtu, "Max MTU");
max_mtu           114 drivers/misc/ibmvmc.h 	__be32 max_mtu;		/* Maximum message size supported (bytes) */
max_mtu           173 drivers/misc/ibmvmc.h 	u32 max_mtu;
max_mtu           545 drivers/misc/sgi-xp/xpnet.c 	xpnet_device->max_mtu = XPNET_MAX_MTU;
max_mtu          4344 drivers/net/bonding/bond_main.c 	bond_dev->max_mtu = ETH_MAX_MTU;
max_mtu           163 drivers/net/dummy.c 	dev->max_mtu = 0;
max_mtu          3951 drivers/net/ethernet/agere/et131x.c 	netdev->max_mtu        = ET131X_MAX_MTU;
max_mtu           476 drivers/net/ethernet/alteon/acenic.c 	dev->max_mtu = ACE_JUMBO_MTU;
max_mtu          1513 drivers/net/ethernet/altera/altera_tse_main.c 	priv->dev->max_mtu = ETH_DATA_LEN;
max_mtu          1520 drivers/net/ethernet/altera/altera_tse_main.c 			     &priv->dev->max_mtu);
max_mtu           455 drivers/net/ethernet/amazon/ena/ena_admin_defs.h 	u32 max_mtu;
max_mtu          2575 drivers/net/ethernet/amazon/ena/ena_netdev.c 	if (get_feat_ctx->dev_attr.max_mtu < netdev->mtu) {
max_mtu          3290 drivers/net/ethernet/amazon/ena/ena_netdev.c 	adapter->max_mtu = feat->dev_attr.max_mtu;
max_mtu          3291 drivers/net/ethernet/amazon/ena/ena_netdev.c 	netdev->max_mtu = adapter->max_mtu;
max_mtu           327 drivers/net/ethernet/amazon/ena/ena_netdev.h 	u32 max_mtu;
max_mtu          1840 drivers/net/ethernet/amd/amd8111e.c 	dev->max_mtu = AMD8111E_MAX_MTU;
max_mtu           394 drivers/net/ethernet/amd/xgbe/xgbe-main.c 	netdev->max_mtu = XGMAC_JUMBO_PACKET_MTU;
max_mtu          1871 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	ndev->max_mtu = XGENE_ENET_MAX_MTU;
max_mtu           297 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 	self->ndev->max_mtu = aq_hw_caps->mtu - ETH_FCS_LEN - ETH_HLEN;
max_mtu          1715 drivers/net/ethernet/atheros/ag71xx.c 	ndev->max_mtu = dcfg->max_frame_len - ag71xx_max_frame_len(0);
max_mtu          1069 drivers/net/ethernet/atheros/alx/main.c 	alx->dev->max_mtu = ALX_MAX_FRAME_LEN(ALX_MAX_FRAME_SIZE);
max_mtu           520 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		netdev->max_mtu = MAX_JUMBO_FRAME_SIZE -
max_mtu           525 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		netdev->max_mtu = ETH_DATA_LEN;
max_mtu          2260 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	netdev->max_mtu = MAX_JUMBO_FRAME_SIZE -
max_mtu          3005 drivers/net/ethernet/atheros/atlx/atl1.c 	netdev->max_mtu = MAX_JUMBO_FRAME_SIZE -
max_mtu          1384 drivers/net/ethernet/atheros/atlx/atl2.c 	netdev->max_mtu = ETH_DATA_LEN + VLAN_HLEN;
max_mtu          2383 drivers/net/ethernet/broadcom/b44.c 	dev->max_mtu = B44_MAX_MTU;
max_mtu          1844 drivers/net/ethernet/broadcom/bcm63xx_enet.c 	dev->max_mtu = BCMENET_MAX_MTU - VLAN_ETH_HLEN;
max_mtu          8614 drivers/net/ethernet/broadcom/bnx2.c 	dev->max_mtu = MAX_ETHERNET_JUMBO_PACKET_SIZE;
max_mtu          13379 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	dev->max_mtu = ETH_MAX_JUMBO_PACKET_SIZE;
max_mtu          3504 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		bp->dev->max_mtu =
max_mtu          3505 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			min_t(u16, bp->max_mtu, BNXT_MAX_PAGE_MODE_MTU);
max_mtu          3513 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		bp->dev->max_mtu = bp->max_mtu;
max_mtu          6419 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	bp->max_mtu = le16_to_cpu(resp->max_mtu_configured);
max_mtu          6420 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (!bp->max_mtu)
max_mtu          6421 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		bp->max_mtu = BNXT_MAX_MTU;
max_mtu          11838 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	dev->max_mtu = bp->max_mtu;
max_mtu          1609 drivers/net/ethernet/broadcom/bnxt/bnxt.h 	u16			max_mtu;
max_mtu            68 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c 			      u16 *max_mtu)
max_mtu            84 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c 			*max_mtu = BNXT_MAX_MTU;
max_mtu            86 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c 			*max_mtu = mtu;
max_mtu           373 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c 	u16 max_mtu;
max_mtu           389 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c 	if (!bnxt_hwrm_vfr_qcfg(bp, vf_rep, &max_mtu))
max_mtu           390 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c 		dev->max_mtu = max_mtu;
max_mtu          2206 drivers/net/ethernet/broadcom/sb1250-mac.c 	dev->max_mtu = ENET_PACKET_SIZE;
max_mtu          17844 drivers/net/ethernet/broadcom/tg3.c 	dev->max_mtu = TG3_MAX_MTU(tp);
max_mtu          3455 drivers/net/ethernet/brocade/bna/bnad.c 	netdev->max_mtu = BNAD_JUMBO_MTU;
max_mtu          4287 drivers/net/ethernet/cadence/macb_main.c 		dev->max_mtu = gem_readl(bp, JML) - ETH_HLEN - ETH_FCS_LEN;
max_mtu          4289 drivers/net/ethernet/cadence/macb_main.c 		dev->max_mtu = ETH_DATA_LEN;
max_mtu          1783 drivers/net/ethernet/calxeda/xgmac.c 	ndev->max_mtu = XGMAC_MAX_MTU;
max_mtu           623 drivers/net/ethernet/cavium/liquidio/lio_main.c 			netdev->max_mtu = lio->linfo.link.s.mtu;
max_mtu          3618 drivers/net/ethernet/cavium/liquidio/lio_main.c 		netdev->max_mtu = LIO_MAX_MTU_SIZE;
max_mtu           364 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 			netdev->max_mtu = lio->linfo.link.s.mtu;
max_mtu          2112 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 		netdev->max_mtu = LIO_MAX_MTU_SIZE;
max_mtu           515 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c 		ndev->max_mtu = LIO_MAX_MTU_SIZE;
max_mtu          1502 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	netdev->max_mtu = 16383 - OCTEON_MGMT_RX_HEADROOM - VLAN_HLEN;
max_mtu          2249 drivers/net/ethernet/cavium/thunder/nicvf_main.c 	netdev->max_mtu = NIC_HW_MAX_FRS;
max_mtu          1114 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 			netdev->max_mtu = PM3393_MAX_FRAME_SIZE -
max_mtu          1118 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 			netdev->max_mtu = VSC7326_MAX_MTU;
max_mtu          1121 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 			netdev->max_mtu = ETH_DATA_LEN;
max_mtu          3326 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		netdev->max_mtu = ETH_MAX_MTU;
max_mtu          1668 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	unsigned short max_mtu = header_size + data_size_max;
max_mtu          1690 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 		if (mtu_idx+1 < NMTUS && mtus[mtu_idx+1] > max_mtu)
max_mtu          5901 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 		netdev->max_mtu = MAX_MTU;
max_mtu          3134 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		netdev->max_mtu = ETH_MAX_MTU;
max_mtu          2984 drivers/net/ethernet/cisco/enic/enic_main.c 	netdev->max_mtu = ENIC_MAX_MTU;
max_mtu          2479 drivers/net/ethernet/cortina/gemini.c 	netdev->max_mtu = 10236 - VLAN_ETH_HLEN;
max_mtu           230 drivers/net/ethernet/dlink/dl2k.c 	dev->max_mtu = np->jumbo ? MAX_JUMBO : PACKET_SIZE;
max_mtu           585 drivers/net/ethernet/dlink/sundance.c 	dev->max_mtu = 8191;
max_mtu          5348 drivers/net/ethernet/emulex/benet/be_main.c 	netdev->max_mtu = BE_MAX_MTU;
max_mtu           239 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	net_dev->max_mtu = dpaa_get_max_mtu();
max_mtu          3290 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	net_dev->max_mtu = DPAA2_ETH_MAX_MTU;
max_mtu           724 drivers/net/ethernet/freescale/enetc/enetc_pf.c 	ndev->max_mtu = ENETC_MAX_MTU;
max_mtu           133 drivers/net/ethernet/freescale/enetc/enetc_vf.c 	ndev->max_mtu = ENETC_MAX_MTU;
max_mtu          3334 drivers/net/ethernet/freescale/gianfar.c 	dev->max_mtu = GFAR_JUMBO_FRAME_SIZE - ETH_HLEN;
max_mtu           425 drivers/net/ethernet/google/gve/gve.h 	return dev->max_mtu <= PAGE_SIZE / 2;
max_mtu           310 drivers/net/ethernet/google/gve/gve_adminq.c 	priv->dev->max_mtu = mtu;
max_mtu           923 drivers/net/ethernet/google/gve/gve_main.c 	if (priv->dev->max_mtu > PAGE_SIZE) {
max_mtu           924 drivers/net/ethernet/google/gve/gve_main.c 		priv->dev->max_mtu = PAGE_SIZE;
max_mtu           931 drivers/net/ethernet/google/gve/gve_main.c 	priv->dev->mtu = priv->dev->max_mtu;
max_mtu          2354 drivers/net/ethernet/hisilicon/hns/hns_enet.c 		ndev->max_mtu = MAC_MAX_MTU_V2 -
max_mtu          2358 drivers/net/ethernet/hisilicon/hns/hns_enet.c 		ndev->max_mtu = MAC_MAX_MTU -
max_mtu          3846 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	dev_info(priv->dev, "Max mtu size: %d\n", priv->netdev->max_mtu);
max_mtu          3933 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	netdev->max_mtu = HNS3_MAX_MTU;
max_mtu           961 drivers/net/ethernet/huawei/hinic/hinic_main.c 	netdev->max_mtu = ETH_MAX_MTU;
max_mtu          3004 drivers/net/ethernet/ibm/ehea/ehea_main.c 	dev->max_mtu = EHEA_MAX_PACKET_SIZE;
max_mtu          2862 drivers/net/ethernet/ibm/emac/core.c 	if (emac_read_uint_prop(np, "max-frame-size", &dev->max_mtu, 0))
max_mtu          2863 drivers/net/ethernet/ibm/emac/core.c 		dev->max_mtu = ETH_DATA_LEN;
max_mtu          3002 drivers/net/ethernet/ibm/emac/core.c 	DBG(dev, "max_mtu      : %d\n", dev->max_mtu);
max_mtu          3185 drivers/net/ethernet/ibm/emac/core.c 	ndev->max_mtu = dev->max_mtu;
max_mtu           222 drivers/net/ethernet/ibm/emac/core.h 	u32				max_mtu;
max_mtu          1685 drivers/net/ethernet/ibm/ibmveth.c 	netdev->max_mtu = ETH_MAX_MTU;
max_mtu          4320 drivers/net/ethernet/ibm/ibmvnic.c 		adapter->max_mtu = be64_to_cpu(crq->query_capability.number);
max_mtu          4321 drivers/net/ethernet/ibm/ibmvnic.c 		netdev->max_mtu = adapter->max_mtu - ETH_HLEN;
max_mtu          4322 drivers/net/ethernet/ibm/ibmvnic.c 		netdev_dbg(netdev, "max_mtu = %lld\n", adapter->max_mtu);
max_mtu          4990 drivers/net/ethernet/ibm/ibmvnic.c 	netdev->max_mtu = adapter->max_mtu - ETH_HLEN;
max_mtu          1055 drivers/net/ethernet/ibm/ibmvnic.h 	u64 max_mtu;
max_mtu          1071 drivers/net/ethernet/intel/e1000/e1000_main.c 	netdev->max_mtu = MAX_JUMBO_FRAME_SIZE - (ETH_HLEN + ETH_FCS_LEN);
max_mtu          7235 drivers/net/ethernet/intel/e1000e/netdev.c 	netdev->max_mtu = adapter->max_hw_frame_size -
max_mtu          1719 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	dev->max_mtu = FM10K_MAX_JUMBO_FRAME_SIZE;
max_mtu          13017 drivers/net/ethernet/intel/i40e/i40e_main.c 	netdev->max_mtu = I40E_MAX_RXBUFFER - I40E_PACKET_HDR_PAD;
max_mtu          1801 drivers/net/ethernet/intel/iavf/iavf_main.c 	netdev->max_mtu = IAVF_MAX_RXBUFFER - IAVF_PACKET_HDR_PAD;
max_mtu          1759 drivers/net/ethernet/intel/ice/ice_common.c 			caps->max_mtu = number;
max_mtu          1761 drivers/net/ethernet/intel/ice/ice_common.c 				  prefix, caps->max_mtu);
max_mtu          1865 drivers/net/ethernet/intel/ice/ice_common.c 	u32 msix_vector_first_id, max_mtu;
max_mtu          1874 drivers/net/ethernet/intel/ice/ice_common.c 	max_mtu = func_caps->common_cap.max_mtu;
max_mtu          1884 drivers/net/ethernet/intel/ice/ice_common.c 	func_caps->common_cap.max_mtu = max_mtu;
max_mtu          1899 drivers/net/ethernet/intel/ice/ice_common.c 	max_mtu = dev_caps->common_cap.max_mtu;
max_mtu          1909 drivers/net/ethernet/intel/ice/ice_common.c 	dev_caps->common_cap.max_mtu = max_mtu;
max_mtu          2061 drivers/net/ethernet/intel/ice/ice_main.c 	netdev->max_mtu = ICE_MAX_MTU;
max_mtu          4364 drivers/net/ethernet/intel/ice/ice_main.c 	} else if (new_mtu > netdev->max_mtu) {
max_mtu           167 drivers/net/ethernet/intel/ice/ice_type.h 	u16 max_mtu;
max_mtu          3167 drivers/net/ethernet/intel/igb/igb_main.c 	netdev->max_mtu = MAX_STD_JUMBO_FRAME_SIZE;
max_mtu          2829 drivers/net/ethernet/intel/igbvf/netdev.c 	netdev->max_mtu = MAX_STD_JUMBO_FRAME_SIZE;
max_mtu          4227 drivers/net/ethernet/intel/igc/igc_main.c 	netdev->max_mtu = MAX_STD_JUMBO_FRAME_SIZE;
max_mtu           457 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	netdev->max_mtu = IXGB_MAX_JUMBO_FRAME_SIZE - ETH_HLEN;
max_mtu          10975 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	netdev->max_mtu = IXGBE_MAX_JUMBO_FRAME_SIZE - (ETH_HLEN + ETH_FCS_LEN);
max_mtu          4664 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		netdev->max_mtu = IXGBE_MAX_JUMBO_FRAME_SIZE -
max_mtu          4669 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			netdev->max_mtu = IXGBE_MAX_JUMBO_FRAME_SIZE -
max_mtu          4672 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			netdev->max_mtu = ETH_DATA_LEN + ETH_FCS_LEN;
max_mtu          2998 drivers/net/ethernet/jme.c 	netdev->max_mtu = MAX_ETHERNET_JUMBO_PACKET_SIZE - ETH_HLEN;
max_mtu           445 drivers/net/ethernet/lantiq_xrx200.c 	net_dev->max_mtu = XRX200_DMA_DATA_LEN;
max_mtu          3201 drivers/net/ethernet/marvell/mv643xx_eth.c 	dev->max_mtu = 9500;
max_mtu          4696 drivers/net/ethernet/marvell/mvneta.c 	dev->max_mtu = 9676;
max_mtu          5392 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	dev->max_mtu = MVPP2_BM_JUMBO_PKT_SIZE;
max_mtu          1444 drivers/net/ethernet/marvell/pxa168_eth.c 	dev->max_mtu = 9500;
max_mtu          3823 drivers/net/ethernet/marvell/skge.c 	dev->max_mtu = ETH_JUMBO_MTU;
max_mtu          4786 drivers/net/ethernet/marvell/sky2.c 		dev->max_mtu = ETH_DATA_LEN;
max_mtu          4788 drivers/net/ethernet/marvell/sky2.c 		dev->max_mtu = ETH_JUMBO_MTU;
max_mtu          1640 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	dev->mtu = min(dev->mtu, priv->max_mtu);
max_mtu          3346 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	priv->max_mtu = mdev->dev->caps.eth_mtu_cap[priv->port];
max_mtu          3498 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	dev->max_mtu = priv->max_mtu;
max_mtu           590 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u16			max_mtu[MLX4_MAX_PORTS + 1];
max_mtu           573 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 	unsigned max_mtu;
max_mtu          1264 drivers/net/ethernet/mellanox/mlx4/port.c 	if (mtu > master->max_mtu[port])
max_mtu          1265 drivers/net/ethernet/mellanox/mlx4/port.c 		master->max_mtu[port] = mtu;
max_mtu          1266 drivers/net/ethernet/mellanox/mlx4/port.c 	if (mtu < prev_mtu && prev_mtu == master->max_mtu[port]) {
max_mtu          1270 drivers/net/ethernet/mellanox/mlx4/port.c 		master->max_mtu[port] = mtu;
max_mtu          1272 drivers/net/ethernet/mellanox/mlx4/port.c 			master->max_mtu[port] =
max_mtu          1273 drivers/net/ethernet/mellanox/mlx4/port.c 				max_t(u16, master->max_mtu[port],
max_mtu          1276 drivers/net/ethernet/mellanox/mlx4/port.c 	gen_context->mtu = cpu_to_be16(master->max_mtu[port]);
max_mtu           146 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 				 u32 xoff, unsigned int max_mtu)
max_mtu           158 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 		    (xoff + max_mtu + (1 << MLX5E_BUFFER_CELL_SHIFT))) {
max_mtu           166 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 			port_buffer->buffer[i].xoff - max_mtu;
max_mtu           191 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c static int update_buffer_lossy(unsigned int max_mtu,
max_mtu           228 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 		err = update_xoff_threshold(port_buffer, xoff, max_mtu);
max_mtu           270 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 	unsigned int max_mtu;
max_mtu           277 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 	max_mtu = max_t(unsigned int, priv->netdev->max_mtu, MINIMUM_MAX_MTU);
max_mtu           285 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 		err = update_xoff_threshold(&port_buffer, xoff, max_mtu);
max_mtu           295 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 		err = update_buffer_lossy(max_mtu, pfc->pfc_en, buffer, xoff,
max_mtu           307 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 		err = update_buffer_lossy(max_mtu, curr_pfc_en, prio2buffer,
max_mtu           332 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 		err = update_xoff_threshold(&port_buffer, xoff, max_mtu);
max_mtu           340 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c 		err = update_xoff_threshold(&port_buffer, xoff, max_mtu);
max_mtu          2870 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	u16 max_mtu;
max_mtu          2875 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	mlx5_query_port_max_mtu(mdev, &max_mtu, 1);
max_mtu          2876 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	netdev->max_mtu = min_t(unsigned int, MLX5E_HW2SW_MTU(params, max_mtu),
max_mtu          3899 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 			int max_mtu_frame, max_mtu_page, max_mtu;
max_mtu          3907 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 			max_mtu = min(max_mtu_frame, max_mtu_page);
max_mtu          3910 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 				   new_params->sw_mtu, ix, max_mtu);
max_mtu          1729 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	u16 max_mtu;
max_mtu          1732 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	mlx5_query_port_max_mtu(priv->mdev, &max_mtu, 1);
max_mtu          1733 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	netdev->max_mtu = MLX5E_HW2SW_MTU(&priv->channels.params, max_mtu);
max_mtu            88 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c 	netdev->mtu = netdev->max_mtu;
max_mtu           234 drivers/net/ethernet/mellanox/mlx5/core/port.c 				u16 *max_mtu, u16 *oper_mtu, u8 port)
max_mtu           243 drivers/net/ethernet/mellanox/mlx5/core/port.c 	if (max_mtu)
max_mtu           244 drivers/net/ethernet/mellanox/mlx5/core/port.c 		*max_mtu  = MLX5_GET(pmtu_reg, out, max_mtu);
max_mtu           263 drivers/net/ethernet/mellanox/mlx5/core/port.c void mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, u16 *max_mtu,
max_mtu           266 drivers/net/ethernet/mellanox/mlx5/core/port.c 	mlx5_query_port_mtu(dev, NULL, max_mtu, NULL, port);
max_mtu          4023 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmtu, max_mtu, 0x04, 16, 16);
max_mtu           631 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	int max_mtu;
max_mtu           639 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	max_mtu = mlxsw_reg_pmtu_max_mtu_get(pmtu_pl);
max_mtu           641 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (mtu > max_mtu)
max_mtu          3696 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu           136 drivers/net/ethernet/mellanox/mlxsw/switchib.c 	int max_mtu;
max_mtu           143 drivers/net/ethernet/mellanox/mlxsw/switchib.c 	max_mtu = mlxsw_reg_pmtu_max_mtu_get(pmtu_pl);
max_mtu           145 drivers/net/ethernet/mellanox/mlxsw/switchib.c 	if (mtu > max_mtu)
max_mtu           192 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	int max_mtu;
max_mtu           199 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	max_mtu = mlxsw_reg_pmtu_max_mtu_get(pmtu_pl);
max_mtu           201 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	if (mtu > max_mtu)
max_mtu          1019 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          7102 drivers/net/ethernet/micrel/ksz884x.c 		dev->max_mtu = MAX_RX_BUF_SIZE -
max_mtu          2773 drivers/net/ethernet/microchip/lan743x_main.c 	netdev->max_mtu = LAN743X_MAX_FRAME_SIZE;
max_mtu          3891 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	netdev->max_mtu = MYRI10GE_MAX_ETHER_MTU - ETH_HLEN;
max_mtu          3893 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	if (myri10ge_initial_mtu > netdev->max_mtu)
max_mtu          3894 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 		myri10ge_initial_mtu = netdev->max_mtu;
max_mtu           936 drivers/net/ethernet/natsemi/natsemi.c 	dev->max_mtu = NATSEMI_RX_LIMIT - NATSEMI_HEADERS;
max_mtu          7971 drivers/net/ethernet/neterion/s2io.c 	dev->max_mtu = S2IO_JUMBO_SIZE;
max_mtu          3981 drivers/net/ethernet/neterion/vxge/vxge-config.c 	vpath->max_mtu = mtu + VXGE_HW_MAC_HEADER_MAX_SIZE;
max_mtu          4244 drivers/net/ethernet/neterion/vxge/vxge-config.c 				VXGE_HW_MAC_HEADER_MAX_SIZE) < vpath->max_mtu)
max_mtu          4250 drivers/net/ethernet/neterion/vxge/vxge-config.c 					vpath->max_mtu);
max_mtu          4623 drivers/net/ethernet/neterion/vxge/vxge-config.c 	vpath->max_mtu = 0;
max_mtu          4714 drivers/net/ethernet/neterion/vxge/vxge-config.c 	if ((new_mtu < VXGE_HW_MIN_MTU) || (new_mtu > vpath->max_mtu))
max_mtu           687 drivers/net/ethernet/neterion/vxge/vxge-config.h 	u32				max_mtu;
max_mtu          3448 drivers/net/ethernet/neterion/vxge/vxge-main.c 	ndev->max_mtu = VXGE_HW_MAX_MTU;
max_mtu           185 drivers/net/ethernet/netronome/nfp/bpf/main.c 	unsigned int max_mtu;
max_mtu           190 drivers/net/ethernet/netronome/nfp/bpf/main.c 	max_mtu = nn_readb(nn, NFP_NET_CFG_BPF_INL_MTU) * 64 - 32;
max_mtu           191 drivers/net/ethernet/netronome/nfp/bpf/main.c 	if (new_mtu > max_mtu) {
max_mtu           193 drivers/net/ethernet/netronome/nfp/bpf/main.c 			max_mtu);
max_mtu           613 drivers/net/ethernet/netronome/nfp/nfp_net.h 	u32 max_mtu;
max_mtu          3773 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		nn->max_mtu);
max_mtu          4051 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	netdev->max_mtu = nn->max_mtu;
max_mtu          4064 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	nn->max_mtu = nn_readl(nn, NFP_NET_CFG_MAX_MTU);
max_mtu          4119 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		nn->dp.mtu = min(nn->app->ctrl_mtu, nn->max_mtu);
max_mtu          4120 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	} else if (nn->max_mtu < NFP_NET_DEFAULT_MTU) {
max_mtu          4121 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		nn->dp.mtu = nn->max_mtu;
max_mtu           321 drivers/net/ethernet/netronome/nfp/nfp_net_repr.c 	netdev->max_mtu = pf_netdev->max_mtu;
max_mtu          1304 drivers/net/ethernet/ni/nixge.c 	ndev->max_mtu = NIXGE_JUMBO_MTU;
max_mtu          5795 drivers/net/ethernet/nvidia/forcedeth.c 	dev->max_mtu = np->pkt_limit;
max_mtu          2558 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	netdev->max_mtu = PCH_GBE_MAX_JUMBO_FRAME_SIZE -
max_mtu          1748 drivers/net/ethernet/pasemi/pasemi_mac.c 	dev->max_mtu = PE_MAX_MTU;
max_mtu          1667 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	netdev->max_mtu = IONIC_MAX_MTU;
max_mtu          1556 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		netdev->max_mtu = P3_MAX_MTU;
max_mtu          1558 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		netdev->max_mtu = P2_MAX_MTU;
max_mtu          2430 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	ep->mss = p_hwfn->p_rdma_info->iwarp.max_mtu - hdr_size;
max_mtu          2636 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	iwarp_info->max_mtu = params->max_mtu;
max_mtu          2654 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	data.input.mtu = params->max_mtu;
max_mtu          2676 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	buff_size = QED_IWARP_MAX_BUF_SIZE(params->max_mtu);
max_mtu          2686 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	data.input.mtu = params->max_mtu;
max_mtu          2689 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		     iwarp_info->max_mtu;
max_mtu          2713 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	data.input.mtu = params->max_mtu;
max_mtu            98 drivers/net/ethernet/qlogic/qed/qed_iwarp.h 	u16 max_mtu;
max_mtu           804 drivers/net/ethernet/qlogic/qede/qede_main.c 	ndev->max_mtu = QEDE_MAX_JUMBO_PACKET_SIZE;
max_mtu           509 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	u16 max_mtu;
max_mtu          1201 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	__le16	max_mtu;
max_mtu          1238 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	u16	max_mtu;
max_mtu          2393 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.req.arg[5] = (nic->max_mac_filters & 0xFF) | ((nic->max_mtu) << 16);
max_mtu          2445 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	npar_info->max_mtu = (cmd.rsp.arg[5] & 0xFFFF0000) >> 16;
max_mtu          2285 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	ahw->max_mtu = nic_info.max_mtu;
max_mtu           887 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c 		npar_info->max_mtu = le16_to_cpu(nic_info->max_mtu);
max_mtu          1334 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	adapter->ahw->max_mtu = nic_info.max_mtu;
max_mtu          2347 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	netdev->max_mtu = P3P_MAX_MTU;
max_mtu           521 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	ahw->max_mtu = nic_info.max_mtu;
max_mtu           550 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	ahw->max_mtu = nic_info.max_mtu;
max_mtu          1116 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	if (cmd->req.arg[2] > adapter->ahw->max_mtu)
max_mtu           681 drivers/net/ethernet/qualcomm/emac/emac.c 	netdev->max_mtu = EMAC_MAX_ETH_FRAME_SIZE -
max_mtu           866 drivers/net/ethernet/qualcomm/qca_spi.c 	dev->max_mtu = QCAFRM_MAX_MTU;
max_mtu           311 drivers/net/ethernet/qualcomm/qca_uart.c 	dev->max_mtu = QCAFRM_MAX_MTU;
max_mtu          2010 drivers/net/ethernet/realtek/8139cp.c 	dev->max_mtu = CP_MAX_MTU;
max_mtu          1018 drivers/net/ethernet/realtek/8139too.c 	dev->max_mtu = MAX_ETH_DATA_SIZE;
max_mtu          7218 drivers/net/ethernet/realtek/r8169_main.c 	dev->max_mtu = jumbo_max;
max_mtu          2090 drivers/net/ethernet/renesas/ravb_main.c 	ndev->max_mtu = 2048 - (ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN);
max_mtu          3312 drivers/net/ethernet/renesas/sh_eth.c 	ndev->max_mtu = 2000 - (ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN);
max_mtu          2622 drivers/net/ethernet/rocker/rocker_main.c 	dev->max_mtu = ROCKER_PORT_MAX_MTU;
max_mtu          2111 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	ndev->max_mtu = MAX_MTU;
max_mtu          2562 drivers/net/ethernet/sfc/efx.c 	net_dev->max_mtu = EFX_MAX_MTU;
max_mtu          2276 drivers/net/ethernet/sfc/falcon/efx.c 	net_dev->max_mtu = EF4_MAX_MTU;
max_mtu          2060 drivers/net/ethernet/socionext/netsec.c 				       &ndev->max_mtu);
max_mtu          2062 drivers/net/ethernet/socionext/netsec.c 		ndev->max_mtu = ETH_DATA_LEN;
max_mtu          1601 drivers/net/ethernet/socionext/sni_ave.c 	ndev->max_mtu = AVE_MAX_ETHFRAME - (ETH_HLEN + ETH_FCS_LEN);
max_mtu          4606 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		ndev->max_mtu = XGMAC_JUMBO_LEN;
max_mtu          4608 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		ndev->max_mtu = JUMBO_LEN;
max_mtu          4610 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		ndev->max_mtu = SKB_MAX_HEAD(NET_SKB_PAD + NET_IP_ALIGN);
max_mtu          4614 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	if ((priv->plat->maxmtu < ndev->max_mtu) &&
max_mtu          4616 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		ndev->max_mtu = priv->plat->maxmtu;
max_mtu          5109 drivers/net/ethernet/sun/cassini.c 	dev->max_mtu = CAS_MAX_MTU;
max_mtu           257 drivers/net/ethernet/sun/ldmvsw.c 	dev->max_mtu = VNET_MAX_MTU;
max_mtu          9809 drivers/net/ethernet/sun/niu.c 	dev->max_mtu = NIU_MAX_MTU;
max_mtu          2997 drivers/net/ethernet/sun/sungem.c 	dev->max_mtu = GEM_MAX_MTU;
max_mtu           321 drivers/net/ethernet/sun/sunvnet.c 	dev->max_mtu = VNET_MAX_MTU;
max_mtu          2048 drivers/net/ethernet/tehuti/tehuti.c 		ndev->max_mtu = BDX_MAX_MTU;
max_mtu          1987 drivers/net/ethernet/ti/netcp_core.c 	ndev->max_mtu = NETCP_MAX_FRAME_SIZE - (ETH_HLEN + ETH_FCS_LEN);
max_mtu          1493 drivers/net/ethernet/toshiba/ps3_gelic_net.c 	netdev->max_mtu = GELIC_NET_MAX_MTU;
max_mtu          2268 drivers/net/ethernet/toshiba/spider_net.c 	netdev->max_mtu = SPIDER_NET_MAX_MTU;
max_mtu          2852 drivers/net/ethernet/via/via-velocity.c 	netdev->max_mtu = VELOCITY_MAX_MTU;
max_mtu          1672 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	ndev->max_mtu = XAE_JUMBO_MTU;
max_mtu          1350 drivers/net/fjes/fjes_main.c 	netdev->max_mtu = fjes_support_mtu[3];
max_mtu          1023 drivers/net/geneve.c 	if (new_mtu > dev->max_mtu)
max_mtu          1024 drivers/net/geneve.c 		new_mtu = dev->max_mtu;
max_mtu          1149 drivers/net/geneve.c 	dev->max_mtu = IP_MAX_MTU - GENEVE_BASE_HLEN - dev->hard_header_len;
max_mtu          1285 drivers/net/geneve.c 		dev->max_mtu -= sizeof(struct iphdr);
max_mtu          1288 drivers/net/geneve.c 		dev->max_mtu -= sizeof(struct ipv6hdr);
max_mtu          2350 drivers/net/hyperv/netvsc_drv.c 		net->max_mtu = NETVSC_MTU - ETH_HLEN;
max_mtu          2352 drivers/net/hyperv/netvsc_drv.c 		net->max_mtu = ETH_DATA_LEN;
max_mtu           233 drivers/net/ifb.c 	dev->max_mtu = 0;
max_mtu           651 drivers/net/ipvlan/ipvlan_main.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          3015 drivers/net/macsec.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          1166 drivers/net/macvlan.c 	dev->max_mtu		= ETH_MAX_MTU;
max_mtu          1408 drivers/net/macvlan.c 	dev->max_mtu = lowerdev->max_mtu;
max_mtu           553 drivers/net/net_failover.c 		failover_dev->max_mtu = slave_dev->max_mtu;
max_mtu           622 drivers/net/net_failover.c 			failover_dev->max_mtu = standby_dev->max_mtu;
max_mtu           755 drivers/net/net_failover.c 	failover_dev->max_mtu = standby_dev->max_mtu;
max_mtu           279 drivers/net/netdevsim/netdev.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu           437 drivers/net/ntb_netdev.c 	ndev->max_mtu = ETH_MAX_MTU;
max_mtu           514 drivers/net/rionet.c 	ndev->max_mtu = RIONET_MAX_MTU;
max_mtu           670 drivers/net/slip/slip.c 	dev->max_mtu = 65534;
max_mtu          2149 drivers/net/team/team.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          1241 drivers/net/thunderbolt.c 	dev->max_mtu = TBNET_MAX_MTU - ETH_HLEN;
max_mtu          1413 drivers/net/tun.c 	dev->max_mtu = MAX_MTU - dev->hard_header_len;
max_mtu           726 drivers/net/usb/aqc111.c 	dev->net->max_mtu = 16334;
max_mtu          1088 drivers/net/usb/asix_devices.c 	dev->net->max_mtu = 16384 - (dev->net->hard_header_len + 4);
max_mtu          1263 drivers/net/usb/ax88179_178a.c 	dev->net->max_mtu = 4088;
max_mtu           284 drivers/net/usb/cdc-phonet.c 	dev->max_mtu		= PHONET_MAX_MTU;
max_mtu           946 drivers/net/usb/cdc_ncm.c 	dev->net->max_mtu = cdc_ncm_max_dgram_size(dev) - cdc_ncm_eth_hlen(dev);
max_mtu          3767 drivers/net/usb/lan78xx.c 	netdev->max_mtu = MAX_SINGLE_PACKET_SIZE;
max_mtu           342 drivers/net/usb/qmi_wwan.c 		net->max_mtu = ETH_MAX_MTU;
max_mtu          5737 drivers/net/usb/r8152.c 		netdev->max_mtu = ETH_DATA_LEN;
max_mtu          5740 drivers/net/usb/r8152.c 		netdev->max_mtu = RTL8153_MAX_MTU;
max_mtu           724 drivers/net/usb/sierra_net.c 	dev->net->max_mtu = SIERRA_NET_MAX_SUPPORTED_MTU;
max_mtu          1502 drivers/net/usb/smsc75xx.c 	dev->net->max_mtu = MAX_SINGLE_PACKET_SIZE;
max_mtu          1312 drivers/net/usb/smsc95xx.c 	dev->net->max_mtu = ETH_DATA_LEN;
max_mtu          1721 drivers/net/usb/usbnet.c 	net->max_mtu = ETH_MAX_MTU;
max_mtu          1071 drivers/net/veth.c 	unsigned int max_mtu;
max_mtu          1085 drivers/net/veth.c 		max_mtu = PAGE_SIZE - VETH_XDP_HEADROOM -
max_mtu          1088 drivers/net/veth.c 		if (peer->mtu > max_mtu) {
max_mtu          1110 drivers/net/veth.c 			peer->max_mtu = max_mtu;
max_mtu          1121 drivers/net/veth.c 				peer->max_mtu = ETH_MAX_MTU;
max_mtu          1207 drivers/net/veth.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          2743 drivers/net/virtio_net.c 	unsigned int packet_len = vi->big_packets ? IP_MAX_MTU : vi->dev->max_mtu;
max_mtu          3059 drivers/net/virtio_net.c 	dev->max_mtu = MAX_MTU;
max_mtu          3115 drivers/net/virtio_net.c 		dev->max_mtu = mtu;
max_mtu          3470 drivers/net/vmxnet3/vmxnet3_drv.c 	netdev->max_mtu = VMXNET3_MAX_MTU;
max_mtu          1294 drivers/net/vrf.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          2909 drivers/net/vxlan.c 		int max_mtu = lowerdev->mtu -
max_mtu          2911 drivers/net/vxlan.c 		if (new_mtu > max_mtu)
max_mtu          3051 drivers/net/vxlan.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          3510 drivers/net/vxlan.c 	int max_mtu = ETH_MAX_MTU;
max_mtu          3536 drivers/net/vxlan.c 		max_mtu = lowerdev->mtu - (use_ipv6 ? VXLAN6_HEADROOM :
max_mtu          3538 drivers/net/vxlan.c 		if (max_mtu < ETH_MIN_MTU)
max_mtu          3539 drivers/net/vxlan.c 			max_mtu = ETH_MIN_MTU;
max_mtu          3542 drivers/net/vxlan.c 			dev->mtu = max_mtu;
max_mtu          3545 drivers/net/vxlan.c 	if (dev->mtu > max_mtu)
max_mtu          3546 drivers/net/vxlan.c 		dev->mtu = max_mtu;
max_mtu           230 drivers/net/wan/hdlc.c 	dev->max_mtu		 = HDLC_MAX_MTU;
max_mtu          1095 drivers/net/wan/hdlc_fr.c 	dev->max_mtu = HDLC_MAX_MTU;
max_mtu           740 drivers/net/wan/x25_asy.c 	dev->max_mtu		= 65534;
max_mtu           588 drivers/net/wimax/i2400m/netdev.c 	net_dev->max_mtu = I2400M_MAX_MTU;
max_mtu           208 drivers/net/wireless/ath/wil6210/netdev.c 	dev->max_mtu = mtu_max;
max_mtu          1582 drivers/net/wireless/atmel/atmel.c 	dev->max_mtu = MAX_WIRELESS_BODY - ETH_FCS_LEN;
max_mtu          2672 drivers/net/wireless/cisco/airo.c 	dev->max_mtu            = MIC_MSGLEN_MAX;
max_mtu          2825 drivers/net/wireless/cisco/airo.c 	dev->max_mtu = MIC_MSGLEN_MAX;
max_mtu          6053 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	dev->max_mtu = LIBIPW_DATA_LEN;
max_mtu          11563 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	priv->prom_net_dev->max_mtu = LIBIPW_DATA_LEN;
max_mtu          11707 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	net_dev->max_mtu = LIBIPW_DATA_LEN;
max_mtu           838 drivers/net/wireless/intersil/hostap/hostap_main.c 	dev->max_mtu = PRISM2_MAX_MTU;
max_mtu          2275 drivers/net/wireless/intersil/orinoco/main.c 	dev->max_mtu = ORINOCO_MAX_MTU;
max_mtu           499 drivers/net/xen-netback/interface.c 	dev->max_mtu = ETH_MAX_MTU - VLAN_ETH_HLEN;
max_mtu          1330 drivers/net/xen-netfront.c 	netdev->max_mtu = XEN_NETIF_MAX_TX_SIZE;
max_mtu          1121 drivers/s390/net/ctcm_main.c 	dev->max_mtu = 65527;
max_mtu          1957 drivers/s390/net/netiucv.c 	dev->max_mtu		 = NETIUCV_MTU_MAX;
max_mtu          2112 drivers/s390/net/qeth_core_main.c static int qeth_update_max_mtu(struct qeth_card *card, unsigned int max_mtu)
max_mtu          2117 drivers/s390/net/qeth_core_main.c 	if (!max_mtu) {
max_mtu          2122 drivers/s390/net/qeth_core_main.c 		max_mtu = ETH_MAX_MTU;
max_mtu          2128 drivers/s390/net/qeth_core_main.c 		new_mtu = (dev->mtu == dev->max_mtu) ? max_mtu : dev->mtu;
max_mtu          2131 drivers/s390/net/qeth_core_main.c 		card->qdio.in_buf_size = max_mtu + 2 * PAGE_SIZE;
max_mtu          2132 drivers/s390/net/qeth_core_main.c 		if (dev->max_mtu && dev->max_mtu != max_mtu)
max_mtu          2144 drivers/s390/net/qeth_core_main.c 	dev->max_mtu = max_mtu;
max_mtu          2145 drivers/s390/net/qeth_core_main.c 	dev->mtu = min(new_mtu, max_mtu);
max_mtu          2210 drivers/s390/net/qeth_core_main.c 	u16 max_mtu;
max_mtu          2225 drivers/s390/net/qeth_core_main.c 	rc = qeth_send_control_data(card, iob, qeth_ulp_enable_cb, &max_mtu);
max_mtu          2228 drivers/s390/net/qeth_core_main.c 	return qeth_update_max_mtu(card, max_mtu);
max_mtu          5603 drivers/s390/net/qeth_core_main.c 	dev->max_mtu = 0;
max_mtu          1589 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_netdev->max_mtu = ETHSW_MAX_FRAME_LENGTH;
max_mtu           791 drivers/staging/octeon/ethernet.c 			dev->max_mtu = OCTEON_MAX_MTU - mtu_overhead;
max_mtu           848 drivers/staging/octeon/ethernet.c 			dev->max_mtu = OCTEON_MAX_MTU - mtu_overhead;
max_mtu          4793 drivers/staging/qlge/qlge_main.c 	ndev->max_mtu = 9000;
max_mtu           760 drivers/staging/wlan-ng/p80211netdev.c 		netdev->max_mtu = (2312 - 20 - 8);
max_mtu          2814 drivers/tty/n_gsm.c 	net->max_mtu = dlci->gsm->mtu;
max_mtu           275 drivers/usb/gadget/function/f_phonet.c 	dev->max_mtu		= PHONET_MAX_MTU;
max_mtu           789 drivers/usb/gadget/function/u_ether.c 	net->max_mtu = GETHER_MAX_ETH_FRAME_LEN;
max_mtu           851 drivers/usb/gadget/function/u_ether.c 	net->max_mtu = GETHER_MAX_ETH_FRAME_LEN;
max_mtu           261 include/linux/avf/virtchnl.h 	u16 max_mtu;
max_mtu          8504 include/linux/mlx5/mlx5_ifc.h 	u8         max_mtu[0x10];
max_mtu           145 include/linux/mlx5/port.h void mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, u16 *max_mtu, u8 port);
max_mtu          1879 include/linux/netdevice.h 	unsigned int		max_mtu;
max_mtu           221 include/linux/qed/qed_rdma_if.h 	u16 max_mtu;
max_mtu           228 include/net/bluetooth/l2cap.h 	__le16     max_mtu;
max_mtu          2505 include/net/mac80211.h 	u32 max_mtu;
max_mtu           645 include/rdma/ib_verbs.h 	enum ib_mtu		max_mtu;
max_mtu           294 include/uapi/rdma/ib_user_verbs.h 	__u8  max_mtu;
max_mtu           152 net/802/fddi.c 	dev->max_mtu		= FDDI_K_SNAP_DLEN;
max_mtu           162 net/802/hippi.c 	dev->max_mtu		= 65280;
max_mtu           145 net/8021q/vlan_dev.c 	unsigned int max_mtu = real_dev->mtu;
max_mtu           148 net/8021q/vlan_dev.c 		max_mtu -= VLAN_HLEN;
max_mtu           149 net/8021q/vlan_dev.c 	if (max_mtu < new_mtu)
max_mtu           810 net/8021q/vlan_dev.c 	dev->max_mtu		= ETH_MAX_MTU;
max_mtu           142 net/8021q/vlan_netlink.c 	unsigned int max_mtu;
max_mtu           178 net/8021q/vlan_netlink.c 	max_mtu = netif_reduces_vlan_mtu(real_dev) ? real_dev->mtu - VLAN_HLEN :
max_mtu           181 net/8021q/vlan_netlink.c 		dev->mtu = max_mtu;
max_mtu           182 net/8021q/vlan_netlink.c 	else if (dev->mtu > max_mtu)
max_mtu           654 net/atm/br2684.c 	netdev->max_mtu = ETH_MAX_MTU;
max_mtu           742 net/atm/lec.c  		dev_lec[i]->max_mtu = 18190;
max_mtu           225 net/bluetooth/bnep/netdev.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu           451 net/bridge/br_device.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          7982 net/core/dev.c 	if (dev->max_mtu > 0 && new_mtu > dev->max_mtu) {
max_mtu          1620 net/core/rtnetlink.c 	    nla_put_u32(skb, IFLA_MAX_MTU, dev->max_mtu) ||
max_mtu           294 net/dsa/master.c 	if (mtu <= dev->max_mtu) {
max_mtu          1421 net/dsa/slave.c 	slave_dev->max_mtu = ETH_MAX_MTU;
max_mtu           385 net/ethernet/eth.c 	dev->max_mtu		= ETH_DATA_LEN;
max_mtu          1286 net/ipv4/ip_gre.c 	dev->max_mtu = 0;
max_mtu          1518 net/ipv4/ip_gre.c 	dev->max_mtu = 0;
max_mtu           348 net/ipv4/ip_tunnel.c 	dev->max_mtu = IP_MAX_MTU - dev->hard_header_len - t_hlen;
max_mtu           969 net/ipv4/ip_tunnel.c 	int max_mtu = IP_MAX_MTU - dev->hard_header_len - t_hlen;
max_mtu           974 net/ipv4/ip_tunnel.c 	if (new_mtu > max_mtu) {
max_mtu           978 net/ipv4/ip_tunnel.c 		new_mtu = max_mtu;
max_mtu          1891 net/ipv6/ip6_gre.c 	dev->max_mtu = 0;
max_mtu          2193 net/ipv6/ip6_gre.c 	dev->max_mtu = 0;
max_mtu          1854 net/ipv6/ip6_tunnel.c 	dev->max_mtu = IP6_MAX_MTU - dev->hard_header_len;
max_mtu           665 net/ipv6/ip6_vti.c 		dev->mtu = clamp(dev->mtu, dev->min_mtu, dev->max_mtu);
max_mtu           902 net/ipv6/ip6_vti.c 	dev->max_mtu = IP_MAX_MTU - sizeof(struct ipv6hdr);
max_mtu          1384 net/ipv6/sit.c 	dev->max_mtu		= IP6_MAX_MTU - t_hlen;
max_mtu           249 net/l2tp/l2tp_eth.c 	if (mtu < dev->min_mtu || mtu > dev->max_mtu)
max_mtu           293 net/l2tp/l2tp_eth.c 	dev->max_mtu = ETH_MAX_MTU;
max_mtu          1879 net/mac80211/iface.c 		ndev->max_mtu = local->hw.max_mtu;
max_mtu           642 net/mac80211/main.c 	local->hw.max_mtu = IEEE80211_MAX_DATA_LEN;
max_mtu           132 net/openvswitch/vport-internal_dev.c 	netdev->max_mtu = ETH_MAX_MTU;
max_mtu           220 net/phonet/pep-gprs.c 	dev->max_mtu		= (PHONET_MAX_MTU - 11);
max_mtu           457 net/sched/sch_teql.c 	dev->max_mtu		= 65535;
max_mtu           589 net/xfrm/xfrm_interface.c 	dev->max_mtu		= IP_MAX_MTU;