max_frame 1173 drivers/net/ethernet/atheros/alx/main.c int max_frame = ALX_MAX_FRAME_LEN(mtu); max_frame 1177 drivers/net/ethernet/atheros/alx/main.c alx->rxbuf_size = max(max_frame, ALX_DEF_RXBUF_SIZE); max_frame 430 drivers/net/ethernet/atheros/atl1e/atl1e_main.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; max_frame 438 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->hw.rx_jumbo_th = (max_frame + 7) >> 3; max_frame 2683 drivers/net/ethernet/atheros/atlx/atl1.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; max_frame 2685 drivers/net/ethernet/atheros/atlx/atl1.c adapter->hw.max_frame_size = max_frame; max_frame 2686 drivers/net/ethernet/atheros/atlx/atl1.c adapter->hw.tx_jumbo_task_th = (max_frame + 7) >> 3; max_frame 2687 drivers/net/ethernet/atheros/atlx/atl1.c adapter->rx_buffer_len = (max_frame + 7) & ~7; max_frame 148 drivers/net/ethernet/huawei/hinic/hinic_port.c int err, max_frame; max_frame 156 drivers/net/ethernet/huawei/hinic/hinic_port.c max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 157 drivers/net/ethernet/huawei/hinic/hinic_port.c if (max_frame > HINIC_MAX_JUMBO_FRAME_SIZE) { max_frame 3520 drivers/net/ethernet/intel/e1000/e1000_main.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 3525 drivers/net/ethernet/intel/e1000/e1000_main.c if (max_frame > (ETH_FRAME_LEN + ETH_FCS_LEN)) { max_frame 3538 drivers/net/ethernet/intel/e1000/e1000_main.c hw->max_frame_size = max_frame; max_frame 3553 drivers/net/ethernet/intel/e1000/e1000_main.c if (max_frame <= E1000_RXBUFFER_2048) max_frame 3564 drivers/net/ethernet/intel/e1000/e1000_main.c ((max_frame == (ETH_FRAME_LEN + ETH_FCS_LEN)) || max_frame 3565 drivers/net/ethernet/intel/e1000/e1000_main.c (max_frame == MAXIMUM_ETHERNET_VLAN_SIZE))) max_frame 6021 drivers/net/ethernet/intel/e1000e/netdev.c int max_frame = new_mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; max_frame 6041 drivers/net/ethernet/intel/e1000e/netdev.c adapter->max_frame_size = max_frame; max_frame 6058 drivers/net/ethernet/intel/e1000e/netdev.c if (max_frame <= 2048) max_frame 6064 drivers/net/ethernet/intel/e1000e/netdev.c if (max_frame <= (VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)) max_frame 778 drivers/net/ethernet/intel/i40e/i40e.h u16 max_frame; max_frame 328 drivers/net/ethernet/intel/i40e/i40e_debugfs.c vsi->max_frame, vsi->rx_buf_len, 0); max_frame 3307 drivers/net/ethernet/intel/i40e/i40e_main.c rx_ctx.rxmax = min_t(u16, vsi->max_frame, chain_len * ring->rx_buf_len); max_frame 3398 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->max_frame = I40E_MAX_RXBUFFER; max_frame 3403 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->max_frame = I40E_RXBUFFER_1536 - NET_IP_ALIGN; max_frame 3407 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->max_frame = I40E_MAX_RXBUFFER; max_frame 245 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c int i, max_frame = IAVF_MAX_RXBUFFER; max_frame 263 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c max_frame = IAVF_RXBUFFER_1536 - NET_IP_ALIGN; max_frame 280 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c vqpi->rxq.max_pkt_size = max_frame; max_frame 247 drivers/net/ethernet/intel/ice/ice.h u16 max_frame; max_frame 63 drivers/net/ethernet/intel/ice/ice_lib.c rlan_ctx.rxmax = min_t(u16, vsi->max_frame, max_frame 1691 drivers/net/ethernet/intel/ice/ice_lib.c vsi->max_frame = vsi->netdev->mtu + max_frame 1694 drivers/net/ethernet/intel/ice/ice_lib.c vsi->max_frame = ICE_RXBUF_2048; max_frame 2305 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vsi->max_frame = qpi->rxq.max_pkt_size; max_frame 6229 drivers/net/ethernet/intel/igb/igb_main.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; max_frame 6232 drivers/net/ethernet/intel/igb/igb_main.c if (max_frame < (ETH_FRAME_LEN + ETH_FCS_LEN)) max_frame 6233 drivers/net/ethernet/intel/igb/igb_main.c max_frame = ETH_FRAME_LEN + ETH_FCS_LEN; max_frame 6239 drivers/net/ethernet/intel/igb/igb_main.c adapter->max_frame_size = max_frame; max_frame 2406 drivers/net/ethernet/intel/igbvf/netdev.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 2411 drivers/net/ethernet/intel/igbvf/netdev.c adapter->max_frame_size = max_frame; max_frame 2423 drivers/net/ethernet/intel/igbvf/netdev.c if (max_frame <= 1024) max_frame 2425 drivers/net/ethernet/intel/igbvf/netdev.c else if (max_frame <= 2048) max_frame 2435 drivers/net/ethernet/intel/igbvf/netdev.c if ((max_frame == ETH_FRAME_LEN + ETH_FCS_LEN) || max_frame 2436 drivers/net/ethernet/intel/igbvf/netdev.c (max_frame == ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN)) max_frame 2193 drivers/net/ethernet/intel/igc/igc_main.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; max_frame 2198 drivers/net/ethernet/intel/igc/igc_main.c if (max_frame < (ETH_FRAME_LEN + ETH_FCS_LEN)) max_frame 2199 drivers/net/ethernet/intel/igc/igc_main.c max_frame = ETH_FRAME_LEN + ETH_FCS_LEN; max_frame 2205 drivers/net/ethernet/intel/igc/igc_main.c adapter->max_frame_size = max_frame; max_frame 180 drivers/net/ethernet/intel/ixgb/ixgb_main.c int max_frame = netdev->mtu + ENET_HEADER_SIZE + ENET_FCS_LENGTH; max_frame 218 drivers/net/ethernet/intel/ixgb/ixgb_main.c if ((hw->max_frame_size != max_frame) || max_frame 222 drivers/net/ethernet/intel/ixgb/ixgb_main.c hw->max_frame_size = max_frame; max_frame 1572 drivers/net/ethernet/intel/ixgb/ixgb_main.c int max_frame = new_mtu + ENET_HEADER_SIZE + ENET_FCS_LENGTH; max_frame 1577 drivers/net/ethernet/intel/ixgb/ixgb_main.c adapter->rx_buffer_len = max_frame + 8; /* + 8 for errata */ max_frame 22 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c __u16 *max, int max_frame) max_frame 28 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c min_credit = ((max_frame / 2) + DCB_CREDIT_QUANTUM - 1) / max_frame 64 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c int max_frame, u8 direction) max_frame 80 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c min_credit = ((max_frame / 2) + DCB_CREDIT_QUANTUM - 1) / max_frame 303 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max_frame) max_frame 331 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c ixgbe_ieee_credits(ets->tc_tx_bw, refill, max, max_frame); max_frame 319 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c int max_frame = adapter->netdev->mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 323 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c max_frame = max(max_frame, IXGBE_FCOE_JUMBO_FRAME_SIZE); max_frame 326 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_calculate_tc_credits(hw, dcb_cfg, max_frame, max_frame 328 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_calculate_tc_credits(hw, dcb_cfg, max_frame, max_frame 511 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c int max_frame = dev->mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 557 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c return ixgbe_dcb_hw_ets(&adapter->hw, ets, max_frame); max_frame 4266 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c int max_frame = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 4274 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (max_frame < IXGBE_FCOE_JUMBO_FRAME_SIZE)) max_frame 4275 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c max_frame = IXGBE_FCOE_JUMBO_FRAME_SIZE; max_frame 4280 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (max_frame < (ETH_FRAME_LEN + ETH_FCS_LEN)) max_frame 4281 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c max_frame = (ETH_FRAME_LEN + ETH_FCS_LEN); max_frame 4284 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (max_frame != (mhadd >> IXGBE_MHADD_MFS_SHIFT)) { max_frame 4286 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mhadd |= max_frame << IXGBE_MHADD_MFS_SHIFT; max_frame 4323 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (max_frame > (ETH_FRAME_LEN + ETH_FCS_LEN))) max_frame 5043 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c int max_frame = adapter->netdev->mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 5056 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c max_frame = max(max_frame, IXGBE_FCOE_JUMBO_FRAME_SIZE); max_frame 5061 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, max_frame 5063 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, max_frame 5069 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c max_frame); max_frame 473 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c int max_frame = msgbuf[1]; max_frame 513 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c (max_frame > (ETH_FRAME_LEN + ETH_FCS_LEN))) max_frame 531 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c e_err(drv, "VF max_frame %d out of range\n", max_frame); max_frame 537 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (max_frame > IXGBE_MAX_JUMBO_FRAME_SIZE) { max_frame 538 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c e_err(drv, "VF max_frame %d out of range\n", max_frame); max_frame 547 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (max_frs < max_frame) { max_frame 548 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c max_frs = max_frame << IXGBE_MHADD_MFS_SHIFT; max_frame 552 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c e_info(hw, "VF requests change max MTU to %d\n", max_frame); max_frame 1970 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c unsigned int max_frame = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 1982 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (max_frame <= IXGBEVF_MAX_FRAME_BUILD_SKB) max_frame 4255 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 4266 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ret = hw->mac.ops.set_rlpml(hw, max_frame); max_frame 2188 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN; max_frame 2192 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (max_frame <= PCH_GBE_FRAME_SIZE_2048) max_frame 2194 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c else if (max_frame <= PCH_GBE_FRAME_SIZE_4096) max_frame 2196 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c else if (max_frame <= PCH_GBE_FRAME_SIZE_8192) max_frame 2210 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c adapter->hw.mac.max_frame_size = max_frame; max_frame 2215 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c adapter->hw.mac.max_frame_size = max_frame; max_frame 2220 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c max_frame, (u32) adapter->rx_buffer_len, netdev->mtu, max_frame 444 drivers/net/ethernet/qualcomm/emac/emac-mac.c unsigned int max_frame; max_frame 449 drivers/net/ethernet/qualcomm/emac/emac-mac.c max_frame = netdev->mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; max_frame 451 drivers/net/ethernet/qualcomm/emac/emac-mac.c ALIGN(max_frame, 8) : EMAC_DEF_RX_BUF_SIZE; max_frame 3139 drivers/net/ethernet/sun/cassini.c int max_frame = (cp->dev->mtu + ETH_HLEN + 4 + 4 + 64) & ~63; max_frame 3140 drivers/net/ethernet/sun/cassini.c if (max_frame * 3 > cp->rx_fifo_size) { max_frame 3144 drivers/net/ethernet/sun/cassini.c int off = (cp->rx_fifo_size - (max_frame * 2)); max_frame 3145 drivers/net/ethernet/sun/cassini.c int on = off - max_frame; max_frame 1914 drivers/net/ethernet/sun/sungem.c int max_frame = (gp->rx_buf_sz + 4 + 64) & ~63; max_frame 1915 drivers/net/ethernet/sun/sungem.c int off = (gp->rx_fifo_sz - (max_frame * 2)); max_frame 1916 drivers/net/ethernet/sun/sungem.c int on = off - max_frame; max_frame 31 drivers/target/tcm_fc/tcm_fc.h u16 max_frame; /* maximum frame size */ max_frame 112 drivers/target/tcm_fc/tfc_io.c cmd->sess->max_frame; max_frame 126 drivers/target/tcm_fc/tfc_io.c fr_max_payload(fp) = cmd->sess->max_frame; max_frame 391 drivers/target/tcm_fc/tfc_sess.c sess->max_frame = rdata->maxframe_size;