Home | History | Annotate | Download | only in pci

Lines Matching defs:cur_rx

4531 		struct bge_rx_bd	*cur_rx;
4535 cur_rx = &sc->bge_rdata->bge_rx_return_ring[rx_cons];
4537 rxidx = cur_rx->bge_idx;
4540 if (cur_rx->bge_flags & BGE_RXBDFLAG_JUMBO_RING) {
4549 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
4572 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
4587 cur_rx->bge_len);
4592 m->m_pkthdr.len = m->m_len = cur_rx->bge_len - ETHER_CRC_LEN;
4595 bge_rxcsum(sc, cur_rx, m);
4601 if (cur_rx->bge_flags & BGE_RXBDFLAG_VLAN_TAG)
4602 vlan_set_tag(m, cur_rx->bge_vlan_tag);
4616 bge_rxcsum(struct bge_softc *sc, struct bge_rx_bd *cur_rx, struct mbuf *m)
4620 if ((cur_rx->bge_flags & BGE_RXBDFLAG_IPV6) == 0) {
4621 if ((cur_rx->bge_flags & BGE_RXBDFLAG_IP_CSUM) != 0)
4623 if ((cur_rx->bge_error_flag &
4626 if (cur_rx->bge_flags & BGE_RXBDFLAG_TCP_UDP_CSUM) {
4628 cur_rx->bge_tcp_udp_csum;
4634 if ((cur_rx->bge_flags & BGE_RXBDFLAG_IP_CSUM) != 0)
4636 if ((cur_rx->bge_ip_csum ^ 0xffff) != 0)
4643 if (cur_rx->bge_flags & BGE_RXBDFLAG_TCP_UDP_CSUM &&
4647 cur_rx->bge_tcp_udp_csum;