Lines Matching refs:rx

191 		if (priv->rx) {  in gve_get_ethtool_stats()
193 struct gve_rx_ring *rx = &priv->rx[ring]; in gve_get_ethtool_stats() local
196 u64_stats_fetch_begin(&priv->rx[ring].statss); in gve_get_ethtool_stats()
197 tmp_rx_pkts = rx->rpackets; in gve_get_ethtool_stats()
198 tmp_rx_bytes = rx->rbytes; in gve_get_ethtool_stats()
199 tmp_rx_skb_alloc_fail = rx->rx_skb_alloc_fail; in gve_get_ethtool_stats()
200 tmp_rx_buf_alloc_fail = rx->rx_buf_alloc_fail; in gve_get_ethtool_stats()
202 rx->rx_desc_err_dropped_pkt; in gve_get_ethtool_stats()
203 } while (u64_stats_fetch_retry(&priv->rx[ring].statss, in gve_get_ethtool_stats()
269 if (priv->rx) { in gve_get_ethtool_stats()
271 struct gve_rx_ring *rx = &priv->rx[ring]; in gve_get_ethtool_stats() local
273 data[i++] = rx->fill_cnt; in gve_get_ethtool_stats()
274 data[i++] = rx->cnt; in gve_get_ethtool_stats()
275 data[i++] = rx->fill_cnt - rx->cnt; in gve_get_ethtool_stats()
278 u64_stats_fetch_begin(&priv->rx[ring].statss); in gve_get_ethtool_stats()
279 tmp_rx_bytes = rx->rbytes; in gve_get_ethtool_stats()
280 tmp_rx_skb_alloc_fail = rx->rx_skb_alloc_fail; in gve_get_ethtool_stats()
281 tmp_rx_buf_alloc_fail = rx->rx_buf_alloc_fail; in gve_get_ethtool_stats()
283 rx->rx_desc_err_dropped_pkt; in gve_get_ethtool_stats()
284 } while (u64_stats_fetch_retry(&priv->rx[ring].statss, in gve_get_ethtool_stats()
287 data[i++] = rx->rx_cont_packet_cnt; in gve_get_ethtool_stats()
288 data[i++] = rx->rx_frag_flip_cnt; in gve_get_ethtool_stats()
289 data[i++] = rx->rx_frag_copy_cnt; in gve_get_ethtool_stats()
290 data[i++] = rx->rx_frag_alloc_cnt; in gve_get_ethtool_stats()
295 data[i++] = rx->rx_copybreak_pkt; in gve_get_ethtool_stats()
296 data[i++] = rx->rx_copied_pkt; in gve_get_ethtool_stats()
312 start = u64_stats_fetch_begin(&priv->rx[ring].statss); in gve_get_ethtool_stats()
314 data[i + j] = rx->xdp_actions[j]; in gve_get_ethtool_stats()
315 data[i + j++] = rx->xdp_tx_errors; in gve_get_ethtool_stats()
316 data[i + j++] = rx->xdp_redirect_errors; in gve_get_ethtool_stats()
317 data[i + j++] = rx->xdp_alloc_fails; in gve_get_ethtool_stats()
318 } while (u64_stats_fetch_retry(&priv->rx[ring].statss, in gve_get_ethtool_stats()