Home | History | Annotate | Download | only in pci

Lines Matching refs:cur_rx

4529 		struct bge_rx_bd	*cur_rx;
4533 cur_rx = &sc->bge_rdata->bge_rx_return_ring[rx_cons];
4535 rxidx = cur_rx->bge_idx;
4538 if (cur_rx->bge_flags & BGE_RXBDFLAG_JUMBO_RING) {
4547 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
4570 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
4585 cur_rx->bge_len);
4590 m->m_pkthdr.len = m->m_len = cur_rx->bge_len - ETHER_CRC_LEN;
4593 bge_rxcsum(sc, cur_rx, m);
4599 if (cur_rx->bge_flags & BGE_RXBDFLAG_VLAN_TAG)
4600 vlan_set_tag(m, cur_rx->bge_vlan_tag);
4614 bge_rxcsum(struct bge_softc *sc, struct bge_rx_bd *cur_rx, struct mbuf *m)
4618 if ((cur_rx->bge_flags & BGE_RXBDFLAG_IPV6) == 0) {
4619 if ((cur_rx->bge_flags & BGE_RXBDFLAG_IP_CSUM) != 0)
4621 if ((cur_rx->bge_error_flag &
4624 if (cur_rx->bge_flags & BGE_RXBDFLAG_TCP_UDP_CSUM) {
4626 cur_rx->bge_tcp_udp_csum;
4632 if ((cur_rx->bge_flags & BGE_RXBDFLAG_IP_CSUM) != 0)
4634 if ((cur_rx->bge_ip_csum ^ 0xffff) != 0)
4641 if (cur_rx->bge_flags & BGE_RXBDFLAG_TCP_UDP_CSUM &&
4645 cur_rx->bge_tcp_udp_csum;