Home
last modified time | relevance | path

Searched refs:rx_size (Results 1 – 1 of 1) sorted by relevance

/external/grub/netboot/
Drtl8139.c393 unsigned int rx_size, rx_status; in rtl_poll() local
409 rx_size = rx_status >> 16; in rtl_poll()
413 (rx_size < ETH_ZLEN) || (rx_size > ETH_FRAME_LEN + 4)) { in rtl_poll()
420 nic->packetlen = rx_size - 4; /* no one cares about the FCS */ in rtl_poll()
421 if (ring_offs+4+rx_size-4 > RX_BUF_LEN) { in rtl_poll()
425 memcpy(nic->packet+semi_count, rx_ring, rx_size-4-semi_count); in rtl_poll()
427 printf("rx packet %d+%d bytes", semi_count,rx_size-4-semi_count); in rtl_poll()
432 printf("rx packet %d bytes", rx_size-4); in rtl_poll()
440 cur_rx = (cur_rx + rx_size + 4 + 3) & ~3; in rtl_poll()