Lines Matching refs:max_frame_size
1031 scctx->isc_max_frame_size = hw->mac.max_frame_size = in em_if_attach_pre()
1236 int max_frame_size; in em_if_mtu_set() local
1258 max_frame_size = 9234; in em_if_mtu_set()
1261 max_frame_size = 4096; in em_if_mtu_set()
1266 max_frame_size = ETHER_MAX_LEN; in em_if_mtu_set()
1270 max_frame_size = 9234; in em_if_mtu_set()
1272 max_frame_size = MAX_JUMBO_FRAME_SIZE; in em_if_mtu_set()
1274 if (mtu > max_frame_size - ETHER_HDR_LEN - ETHER_CRC_LEN) { in em_if_mtu_set()
1278 scctx->isc_max_frame_size = sc->hw.mac.max_frame_size = in em_if_mtu_set()
2368 u16 max_frame_size; in igb_init_dmac() local
2373 max_frame_size = sc->shared->isc_max_frame_size; in igb_init_dmac()
2385 hwm = 64 * pba - max_frame_size / 16; in igb_init_dmac()
2395 dmac = pba - max_frame_size / 512; in igb_init_dmac()
2450 (2 * max_frame_size)) >> 6); in igb_init_dmac()
2505 if (hw->mac.max_frame_size > 8192) in em_reset()
2530 if (hw->mac.max_frame_size > 4096) in em_reset()
2566 if (hw->mac.max_frame_size > 8192) in em_reset()
2578 min_tx = (hw->mac.max_frame_size + in em_reset()
2582 min_rx = hw->mac.max_frame_size; in em_reset()
2619 roundup2(hw->mac.max_frame_size, 1024); in em_reset()