Lines Matching defs:cur_rx
4325 struct bge_rx_bd *cur_rx;
4339 cur_rx = &sc->bge_ldata.bge_rx_return_ring[rx_cons];
4341 rxidx = cur_rx->bge_idx;
4345 cur_rx->bge_flags & BGE_RXBDFLAG_VLAN_TAG) {
4347 vlan_tag = cur_rx->bge_vlan_tag;
4350 if (cur_rx->bge_flags & BGE_RXBDFLAG_JUMBO_RING) {
4353 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
4366 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
4386 cur_rx->bge_len);
4390 m->m_pkthdr.len = m->m_len = cur_rx->bge_len - ETHER_CRC_LEN;
4394 bge_rxcsum(sc, cur_rx, m);
4447 bge_rxcsum(struct bge_softc *sc, struct bge_rx_bd *cur_rx, struct mbuf *m)
4451 if ((cur_rx->bge_flags & BGE_RXBDFLAG_IPV6) == 0) {
4452 if (cur_rx->bge_flags & BGE_RXBDFLAG_IP_CSUM) {
4454 if ((cur_rx->bge_error_flag &
4458 if (cur_rx->bge_flags & BGE_RXBDFLAG_TCP_UDP_CSUM) {
4460 cur_rx->bge_tcp_udp_csum;
4466 if (cur_rx->bge_flags & BGE_RXBDFLAG_IP_CSUM) {
4468 if ((cur_rx->bge_ip_csum ^ 0xFFFF) == 0)
4471 if (cur_rx->bge_flags & BGE_RXBDFLAG_TCP_UDP_CSUM &&
4474 cur_rx->bge_tcp_udp_csum;