Home
last modified time | relevance | path

Searched refs:cur_rx (Results 1 – 17 of 17) sorted by path

/freebsd/sys/dev/bge/
H A Dif_bge.c4325 struct bge_rx_bd *cur_rx; in bge_rxeof() local
4341 rxidx = cur_rx->bge_idx; in bge_rxeof()
4347 vlan_tag = cur_rx->bge_vlan_tag; in bge_rxeof()
4353 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) { in bge_rxeof()
4366 if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) { in bge_rxeof()
4386 cur_rx->bge_len); in bge_rxeof()
4394 bge_rxcsum(sc, cur_rx, m); in bge_rxeof()
4454 if ((cur_rx->bge_error_flag & in bge_rxcsum()
4460 cur_rx->bge_tcp_udp_csum; in bge_rxcsum()
4468 if ((cur_rx->bge_ip_csum ^ 0xFFFF) == 0) in bge_rxcsum()
[all …]
/freebsd/sys/dev/dc/
H A Dif_dc.c2747 struct dc_desc *cur_rx; in dc_pnic_rx_bug_war() local
2755 cur_rx = &sc->dc_ldata.dc_rx_list[idx]; in dc_pnic_rx_bug_war()
2795 cur_rx->dc_status = htole32(rxstat | DC_RXSTAT_FIRSTFRAG); in dc_pnic_rx_bug_war()
2812 struct dc_desc *cur_rx; in dc_rx_resync() local
2818 cur_rx = &sc->dc_ldata.dc_rx_list[pos]; in dc_rx_resync()
2819 if (!(le32toh(cur_rx->dc_status) & DC_RXSTAT_OWN)) in dc_rx_resync()
2859 struct dc_desc *cur_rx; in dc_rxeof() local
2880 cur_rx = &sc->dc_ldata.dc_rx_list[i]; in dc_rxeof()
2881 rxstat = le32toh(cur_rx->dc_status); in dc_rxeof()
2897 rxstat = le32toh(cur_rx->dc_status); in dc_rxeof()
/freebsd/sys/dev/lge/
H A Dif_lge.c859 struct lge_rx_desc *cur_rx; in lge_rxeof() local
873 cur_rx = &sc->lge_ldata->lge_rx_list[i]; in lge_rxeof()
874 rxctl = cur_rx->lge_ctl; in lge_rxeof()
875 rxsts = cur_rx->lge_sts; in lge_rxeof()
876 m = cur_rx->lge_mbuf; in lge_rxeof()
877 cur_rx->lge_mbuf = NULL; in lge_rxeof()
878 total_len = LGE_RXBYTES(cur_rx); in lge_rxeof()
/freebsd/sys/dev/my/
H A Dif_my.c1100 struct my_chain_onefrag *cur_rx; in my_rxeof() local
1108 cur_rx = sc->my_cdata.my_rx_head; in my_rxeof()
1109 sc->my_cdata.my_rx_head = cur_rx->my_nextdesc; in my_rxeof()
1113 cur_rx->my_ptr->my_status = MY_OWNByNIC; in my_rxeof()
1121 m = m_devget(mtod(cur_rx->my_mbuf, char *), in my_rxeof()
1123 cur_rx->my_ptr->my_status = MY_OWNByNIC; in my_rxeof()
1129 m = cur_rx->my_mbuf; in my_rxeof()
1137 if (my_newbuf(sc, cur_rx) == ENOBUFS) { in my_rxeof()
1139 cur_rx->my_ptr->my_status = MY_OWNByNIC; in my_rxeof()
/freebsd/sys/dev/netmap/
H A Dif_re_netmap.h208 struct rl_desc *cur_rx = &sc->rl_ldata.rl_rx_list[nic_i]; in re_netmap_rxsync() local
209 uint32_t rxstat = le32toh(cur_rx->rl_cmdstat); in re_netmap_rxsync()
/freebsd/sys/dev/nge/
H A Dif_nge.c1440 struct nge_desc *cur_rx; in nge_rxeof() local
1465 cur_rx = &sc->nge_rdata.nge_rx_ring[cons]; in nge_rxeof()
1466 cmdsts = le32toh(cur_rx->nge_cmdsts); in nge_rxeof()
1467 extsts = le32toh(cur_rx->nge_extsts); in nge_rxeof()
/freebsd/sys/dev/re/
H A Dif_re.c781 struct rl_desc *cur_rx; in re_diag() local
884 cur_rx = &sc->rl_ldata.rl_rx_list[0]; in re_diag()
885 total_len = RL_RXBYTES(cur_rx); in re_diag()
886 rxstat = le32toh(cur_rx->rl_cmdstat); in re_diag()
2174 struct rl_desc *cur_rx; in re_rxeof() local
2200 cur_rx = &sc->rl_ldata.rl_rx_list[i]; in re_rxeof()
2201 rxstat = le32toh(cur_rx->rl_cmdstat); in re_rxeof()
2205 rxvlan = le32toh(cur_rx->rl_vlanctl); in re_rxeof()
/freebsd/sys/dev/rl/
H A Dif_rl.c1122 uint16_t cur_rx; in rl_rxeof() local
1131 cur_rx = (CSR_READ_2(sc, RL_CURRXADDR) + 16) % RL_RXBUFLEN; in rl_rxeof()
1136 if (limit < cur_rx) in rl_rxeof()
1137 max_bytes = (RL_RXBUFLEN - cur_rx) + limit; in rl_rxeof()
1139 max_bytes = limit - cur_rx; in rl_rxeof()
1149 rxbufpos = sc->rl_cdata.rl_rx_buf + cur_rx; in rl_rxeof()
1193 ((cur_rx + sizeof(uint32_t)) % RL_RXBUFLEN); in rl_rxeof()
1204 cur_rx = (total_len - wrap + ETHER_CRC_LEN); in rl_rxeof()
1208 cur_rx += total_len + 4 + ETHER_CRC_LEN; in rl_rxeof()
1212 cur_rx = (cur_rx + 3) & ~3; in rl_rxeof()
[all …]
H A Dif_rlreg.h587 uint16_t cur_rx; member
/freebsd/sys/dev/sge/
H A Dif_sge.c1143 struct sge_desc *cur_rx; in sge_rxeof() local
1159 cur_rx = &sc->sge_ldata.sge_rx_ring[cons]; in sge_rxeof()
1160 rxinfo = le32toh(cur_rx->sge_cmdsts); in sge_rxeof()
1163 rxstat = le32toh(cur_rx->sge_sts_size); in sge_rxeof()
/freebsd/sys/dev/sis/
H A Dif_sis.c1487 struct sis_desc *cur_rx; in sis_rxeof() local
1508 cur_rx = &sc->sis_rx_list[rx_cons]; in sis_rxeof()
1509 rxstat = le32toh(cur_rx->sis_cmdsts); in sis_rxeof()
/freebsd/sys/dev/sk/
H A Dif_sk.c2653 struct sk_rx_desc *cur_rx; in sk_rxeof() local
2669 cur_rx = &sc_if->sk_rdata.sk_rx_ring[cons]; in sk_rxeof()
2670 sk_ctl = le32toh(cur_rx->sk_ctl); in sk_rxeof()
2674 rxstat = le32toh(cur_rx->sk_xmac_rxstat); in sk_rxeof()
2688 csum = le32toh(cur_rx->sk_csum); in sk_rxeof()
2719 struct sk_rx_desc *cur_rx; in sk_jumbo_rxeof() local
2736 cur_rx = &sc_if->sk_rdata.sk_jumbo_rx_ring[cons]; in sk_jumbo_rxeof()
2737 sk_ctl = le32toh(cur_rx->sk_ctl); in sk_jumbo_rxeof()
2741 rxstat = le32toh(cur_rx->sk_xmac_rxstat); in sk_jumbo_rxeof()
2755 csum = le32toh(cur_rx->sk_csum); in sk_jumbo_rxeof()
/freebsd/sys/dev/ste/
H A Dif_ste.c593 struct ste_chain_onefrag *cur_rx; in ste_rxeof() local
603 cur_rx = sc->ste_cdata.ste_rx_head; in ste_rxeof()
605 cur_rx = cur_rx->ste_next) { in ste_rxeof()
626 cur_rx->ste_ptr->ste_status = 0; in ste_rxeof()
631 m = cur_rx->ste_mbuf; in ste_rxeof()
643 cur_rx->ste_ptr->ste_status = 0; in ste_rxeof()
1620 struct ste_chain_onefrag *cur_rx; in ste_stop() local
1664 if (cur_rx->ste_mbuf != NULL) { in ste_stop()
1668 cur_rx->ste_map); in ste_stop()
1669 m_freem(cur_rx->ste_mbuf); in ste_stop()
[all …]
/freebsd/sys/dev/ti/
H A Dif_ti.c2766 struct ti_rx_desc *cur_rx; in ti_rxeof() local
2772 cur_rx = in ti_rxeof()
2774 rxidx = cur_rx->ti_idx; in ti_rxeof()
2775 ti_len = cur_rx->ti_len; in ti_rxeof()
2780 vlan_tag = cur_rx->ti_vlan_tag; in ti_rxeof()
2788 if (cur_rx->ti_flags & TI_BDFLAG_ERROR) { in ti_rxeof()
2805 if (cur_rx->ti_flags & TI_BDFLAG_ERROR) { in ti_rxeof()
2827 if (cur_rx->ti_flags & TI_BDFLAG_ERROR) { in ti_rxeof()
2842 if (cur_rx->ti_flags & TI_BDFLAG_ERROR) { in ti_rxeof()
2862 if ((cur_rx->ti_ip_cksum ^ 0xffff) == 0) in ti_rxeof()
[all …]
/freebsd/sys/dev/vge/
H A Dif_vge.c1440 struct vge_rx_desc *cur_rx; in vge_rxeof() local
1455 cur_rx = &sc->vge_rdata.vge_rx_ring[prod]; in vge_rxeof()
1456 rxstat = le32toh(cur_rx->vge_sts); in vge_rxeof()
1461 rxctl = le32toh(cur_rx->vge_ctl); in vge_rxeof()
/freebsd/sys/dev/vr/
H A Dif_vr.c1296 struct vr_desc *cur_rx; in vr_rxeof() local
1317 cur_rx = &sc->vr_rdata.vr_rx_ring[cons]; in vr_rxeof()
1318 rxstat = le32toh(cur_rx->vr_status); in vr_rxeof()
1319 rxctl = le32toh(cur_rx->vr_ctl); in vr_rxeof()
/freebsd/sys/dev/xl/
H A Dif_xl.c1825 struct xl_chain_onefrag *cur_rx; in xl_rxeof() local
1842 cur_rx = sc->xl_cdata.xl_rx_head; in xl_rxeof()
1843 sc->xl_cdata.xl_rx_head = cur_rx->xl_next; in xl_rxeof()
1864 cur_rx->xl_ptr->xl_status = 0; in xl_rxeof()
1879 cur_rx->xl_ptr->xl_status = 0; in xl_rxeof()
1886 bus_dmamap_sync(sc->xl_mtag, cur_rx->xl_map, in xl_rxeof()
1888 m = cur_rx->xl_mbuf; in xl_rxeof()
1897 if (xl_newbuf(sc, cur_rx)) { in xl_rxeof()
1899 cur_rx->xl_ptr->xl_status = 0; in xl_rxeof()