Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c1741 bna_rx_res_check(struct bna_rx_mod *rx_mod, struct bna_rx_config *rx_cfg) in bna_rx_res_check() argument
1743 if ((rx_mod->rx_free_count == 0) || in bna_rx_res_check()
1744 (rx_mod->rxp_free_count == 0) || in bna_rx_res_check()
1745 (rx_mod->rxq_free_count == 0)) in bna_rx_res_check()
1749 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1750 (rx_mod->rxq_free_count < rx_cfg->num_paths)) in bna_rx_res_check()
1753 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1754 (rx_mod->rxq_free_count < (2 * rx_cfg->num_paths))) in bna_rx_res_check()
1762 bna_rxq_get(struct bna_rx_mod *rx_mod) in bna_rxq_get() argument
1766 rxq = list_first_entry(&rx_mod->rxq_free_q, struct bna_rxq, qe); in bna_rxq_get()
[all …]
Dbna.h200 #define bna_rx_rid_mask(_bna) ((_bna)->rx_mod.rid_mask)
217 struct bna_rx_mod *__rx_mod = &(_bna)->rx_mod; \
333 void bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna,
335 void bna_rx_mod_uninit(struct bna_rx_mod *rx_mod);
338 void bna_rx_mod_start(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
339 void bna_rx_mod_stop(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
340 void bna_rx_mod_fail(struct bna_rx_mod *rx_mod);
Dbna_enet.c819 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \
836 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \
844 bna_rx_mod_fail(&(enet)->bna->rx_mod); \
852 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \
862 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \
1852 stats_req->rx_enet_mask = htonl(bna->rx_mod.rid_mask); in bna_bfi_stats_get()
1993 bna_rx_mod_init(&bna->rx_mod, bna, res_info); in bna_mod_init()
2011 bna_rx_mod_uninit(&bna->rx_mod); in bna_uninit()
Dbna_types.h935 struct bna_rx_mod rx_mod; member