Home
last modified time | relevance | path

Searched refs:rd_curr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.c2110 int rd_curr = vptr->rx.curr; in velocity_rx_srv() local
2114 struct rx_desc *rd = vptr->rx.ring + rd_curr; in velocity_rx_srv()
2116 if (!vptr->rx.info[rd_curr].skb) in velocity_rx_srv()
2128 if (velocity_receive_frame(vptr, rd_curr) < 0) in velocity_rx_srv()
2141 rd_curr++; in velocity_rx_srv()
2142 if (rd_curr >= vptr->options.numrx) in velocity_rx_srv()
2143 rd_curr = 0; in velocity_rx_srv()
2147 vptr->rx.curr = rd_curr; in velocity_rx_srv()