Lines Matching refs:max_frame
3348 int max_frame = new_mtu + ENET_HEADER_SIZE + ETHERNET_FCS_SIZE; local
3351 if ((max_frame < MINIMUM_ETHERNET_FRAME_SIZE) ||
3352 (max_frame > MAX_JUMBO_FRAME_SIZE)) {
3361 if (max_frame > MAXIMUM_ETHERNET_FRAME_SIZE) {
3374 if (max_frame > MAXIMUM_ETHERNET_FRAME_SIZE) {
3388 if (max_frame > MAX_STD_JUMBO_FRAME_SIZE) {
3403 if (max_frame <= E1000_RXBUFFER_256)
3405 else if (max_frame <= E1000_RXBUFFER_512)
3407 else if (max_frame <= E1000_RXBUFFER_1024)
3409 else if (max_frame <= E1000_RXBUFFER_2048)
3411 else if (max_frame <= E1000_RXBUFFER_4096)
3413 else if (max_frame <= E1000_RXBUFFER_8192)
3415 else if (max_frame <= E1000_RXBUFFER_16384)
3420 ((max_frame == MAXIMUM_ETHERNET_FRAME_SIZE) ||
3421 (max_frame == MAXIMUM_ETHERNET_VLAN_SIZE)))
3425 adapter->hw.max_frame_size = max_frame;