Lines Matching refs:rx_ring

527 			GET_PBDQC_FROM_RB(&po->rx_ring);  in prb_shutdown_retire_blk_timer()
554 GET_PBDQC_FROM_RB(&po->rx_ring); in prb_setup_retire_blk_timer()
677 struct tpacket_kbdq_core *pkc = GET_PBDQC_FROM_RB(&po->rx_ring); in prb_retire_rx_blk_timer_expired()
1054 pkc = GET_PBDQC_FROM_RB(&po->rx_ring); in __packet_lookup_frame_in_block()
1114 curr = packet_lookup_frame(po, &po->rx_ring, in packet_current_rx_frame()
1115 po->rx_ring.head, status); in packet_current_rx_frame()
1223 po->rx_ring.pending_refcnt = NULL; in packet_alloc_pending()
1248 has_room = prb_lookup_block(po, &po->rx_ring, in packet_rcv_has_room()
1249 po->rx_ring.prb_bdqc.kactive_blk_num, in packet_rcv_has_room()
1252 has_room = packet_lookup_frame(po, &po->rx_ring, in packet_rcv_has_room()
1253 po->rx_ring.head, in packet_rcv_has_room()
1938 if (macoff + snaplen > po->rx_ring.frame_size) { in tpacket_rcv()
1950 snaplen = po->rx_ring.frame_size - macoff; in tpacket_rcv()
1955 GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len)) { in tpacket_rcv()
1958 nval = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len - macoff; in tpacket_rcv()
1964 macoff = GET_PBDQC_FROM_RB(&po->rx_ring)->max_frame_len; in tpacket_rcv()
1973 packet_increment_rx_head(po, &po->rx_ring); in tpacket_rcv()
2073 prb_clear_blk_fill_status(&po->rx_ring); in tpacket_rcv()
2658 if (po->rx_ring.pg_vec) { in packet_release()
3351 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3371 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3384 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3421 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3460 if (po->rx_ring.pg_vec || po->tx_ring.pg_vec) in packet_setsockopt()
3700 if (po->rx_ring.pg_vec) { in packet_poll()
3701 if (!packet_previous_rx_frame(po, &po->rx_ring, in packet_poll()
3832 rb = tx_ring ? &po->tx_ring : &po->rx_ring; in packet_set_ring()
3936 po->prot_hook.func = (po->rx_ring.pg_vec) ? in packet_set_ring()
3981 for (rb = &po->rx_ring; rb <= &po->tx_ring; rb++) { in packet_mmap()
3997 for (rb = &po->rx_ring; rb <= &po->tx_ring; rb++) { in packet_mmap()