Lines Matching refs:rx_ring_info
3289 static unsigned int niu_hash_rxaddr(struct rx_ring_info *rp, u64 a) in niu_hash_rxaddr()
3297 static struct page *niu_find_rxpage(struct rx_ring_info *rp, u64 addr, in niu_find_rxpage()
3317 static void niu_hash_page(struct rx_ring_info *rp, struct page *page, u64 base) in niu_hash_page()
3326 static int niu_rbr_add_page(struct niu *np, struct rx_ring_info *rp, in niu_rbr_add_page()
3358 static void niu_rbr_refill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) in niu_rbr_refill()
3383 static int niu_rx_pkt_ignore(struct niu *np, struct rx_ring_info *rp) in niu_rx_pkt_ignore()
3424 struct rx_ring_info *rp) in niu_process_rx_pkt()
3513 static int niu_rbr_fill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) in niu_rbr_fill()
3531 static void niu_rbr_free(struct niu *np, struct rx_ring_info *rp) in niu_rbr_free()
3646 struct rx_ring_info *rp, in niu_sync_rx_discard_stats()
3698 struct rx_ring_info *rp, int budget) in niu_rx_work()
3764 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_poll_core()
3796 static void niu_log_rxchan_errors(struct niu *np, struct rx_ring_info *rp, in niu_log_rxchan_errors()
3833 static int niu_rx_error(struct niu *np, struct rx_ring_info *rp) in niu_rx_error()
4091 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_slowpath_interrupt()
4142 static void niu_rxchan_intr(struct niu *np, struct rx_ring_info *rp, in niu_rxchan_intr()
4175 struct rx_ring_info *rp = &np->rx_rings[i]; in __niu_fastpath_interrupt()
4255 static void niu_free_rx_ring_info(struct niu *np, struct rx_ring_info *rp) in niu_free_rx_ring_info()
4318 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_free_channels()
4340 struct rx_ring_info *rp) in niu_alloc_rx_ring_info()
4442 static void niu_size_rbr(struct niu *np, struct rx_ring_info *rp) in niu_size_rbr()
4474 struct rx_ring_info *rx_rings; in niu_alloc_channels()
4488 rx_rings = kcalloc(num_rx_rings, sizeof(struct rx_ring_info), in niu_alloc_channels()
4501 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_alloc_channels()
4812 static void niu_rx_channel_wred_init(struct niu *np, struct rx_ring_info *rp) in niu_rx_channel_wred_init()
4823 static int niu_compute_rbr_cfig_b(struct rx_ring_info *rp, u64 *ret) in niu_compute_rbr_cfig_b()
4925 static int niu_init_one_rx_channel(struct niu *np, struct rx_ring_info *rp) in niu_init_one_rx_channel()
4999 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_init_rx_channels()
5870 static void niu_stop_one_rx_channel(struct niu *np, struct rx_ring_info *rp) in niu_stop_one_rx_channel()
5880 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_stop_rx_channels()
5886 static void niu_reset_one_rx_channel(struct niu *np, struct rx_ring_info *rp) in niu_reset_one_rx_channel()
5901 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_reset_rx_channels()
6240 struct rx_ring_info *rx_rings; in niu_get_rx_stats()
6250 struct rx_ring_info *rp = &rx_rings[i]; in niu_get_rx_stats()
6455 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_reset_buffers()
7808 struct rx_ring_info *rp = &np->rx_rings[i]; in niu_get_ethtool_stats()