Searched refs:rx_mod (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 1749 bna_rx_res_check(struct bna_rx_mod *rx_mod, struct bna_rx_config *rx_cfg) in bna_rx_res_check() argument 1751 if ((rx_mod->rx_free_count == 0) || in bna_rx_res_check() 1752 (rx_mod->rxp_free_count == 0) || in bna_rx_res_check() 1753 (rx_mod->rxq_free_count == 0)) in bna_rx_res_check() 1757 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check() 1758 (rx_mod->rxq_free_count < rx_cfg->num_paths)) in bna_rx_res_check() 1761 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check() 1762 (rx_mod->rxq_free_count < (2 * rx_cfg->num_paths))) in bna_rx_res_check() 1770 bna_rxq_get(struct bna_rx_mod *rx_mod) in bna_rxq_get() argument 1774 rxq = list_first_entry(&rx_mod->rxq_free_q, struct bna_rxq, qe); in bna_rxq_get() [all …]
|
D | bna.h | 208 #define bna_rx_rid_mask(_bna) ((_bna)->rx_mod.rid_mask) 225 struct bna_rx_mod *__rx_mod = &(_bna)->rx_mod; \ 341 void bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna, 343 void bna_rx_mod_uninit(struct bna_rx_mod *rx_mod); 346 void bna_rx_mod_start(struct bna_rx_mod *rx_mod, enum bna_rx_type type); 347 void bna_rx_mod_stop(struct bna_rx_mod *rx_mod, enum bna_rx_type type); 348 void bna_rx_mod_fail(struct bna_rx_mod *rx_mod);
|
D | bna_enet.c | 827 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \ 844 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \ 852 bna_rx_mod_fail(&(enet)->bna->rx_mod); \ 860 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \ 870 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \ 1860 stats_req->rx_enet_mask = htonl(bna->rx_mod.rid_mask); in bna_bfi_stats_get() 2001 bna_rx_mod_init(&bna->rx_mod, bna, res_info); in bna_mod_init() 2019 bna_rx_mod_uninit(&bna->rx_mod); in bna_uninit()
|
D | bna_types.h | 928 struct bna_rx_mod rx_mod; member
|