Lines Matching full:rx

76 	 * size plus room for a small, 16 byte inline rx buffer descriptor  in bnx_rxbuffer_alloc()
80 pktsize = lmpacket->u1.rx.buf_size; in bnx_rxbuffer_alloc()
84 (void *)0, (caddr_t *)&lmpacket->u1.rx.mem_virt, &reallen, in bnx_rxbuffer_alloc()
92 (caddr_t)lmpacket->u1.rx.mem_virt, pktsize, in bnx_rxbuffer_alloc()
99 lmpacket->u1.rx.mem_phy.as_u64 = cookie.dmac_laddress; in bnx_rxbuffer_alloc()
119 lmpacket->u1.rx.mem_phy.as_u64 = 0; in bnx_rxbuffer_free()
120 lmpacket->u1.rx.buf_size = 0; in bnx_rxbuffer_free()
124 lmpacket->u1.rx.mem_virt = NULL; in bnx_rxbuffer_free()
240 /* Send the rx packets up. */ in bnx_recv_ring_recv()
269 * // The LM will need access to the complete rx buffer. in bnx_recv_ring_recv()
271 * // The LM only needs access to the 16 byte inline rx BD. in bnx_recv_ring_recv()
273 * // fragments as necessary to get the full rx BD in in bnx_recv_ring_recv()
287 (lmpacket->u1.rx.flags & in bnx_recv_ring_recv()
303 htons(lmpacket->u1.rx.vlan_tag); in bnx_recv_ring_recv()
311 dataptr = lmpacket->u1.rx.mem_virt + in bnx_recv_ring_recv()
350 dataptr = lmpacket->u1.rx.mem_virt + in bnx_recv_ring_recv()
380 * requesting rx buffers the driver cannot allocate. in bnx_recv_ring_recv()
388 * FIXME -- Make sure to add one more to the rx packet in bnx_recv_ring_recv()
408 (lmpacket->u1.rx.flags & LM_RX_FLAG_IP_CKSUM_IS_GOOD)) { in bnx_recv_ring_recv()
414 (lmpacket->u1.rx.flags & LM_RX_FLAG_TCP_CKSUM_IS_GOOD)) || in bnx_recv_ring_recv()
417 (lmpacket->u1.rx.flags & LM_RX_FLAG_UDP_CKSUM_IS_GOOD))) { in bnx_recv_ring_recv()
557 "!%s: %d rx buffers requested. %d allocated.\n", in bnx_rxpkts_init()
569 "%s: Failed to allocate minimum number of RX buffers.\n", in bnx_rxpkts_init()
574 #warning Need to implement code to free previously allocated rx buffers in bnx_rxpkts_init error pa… in bnx_rxpkts_init()
610 /* Allocate new rx buffers. */ in bnx_rxpkts_post()
613 /* Submit the rx buffers to the hardware. */ in bnx_rxpkts_post()