Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c1936 bna_rx_res_check(struct bna_rx_mod *rx_mod, struct bna_rx_config *rx_cfg) in bna_rx_res_check() argument
1938 if ((rx_mod->rx_free_count == 0) || in bna_rx_res_check()
1939 (rx_mod->rxp_free_count == 0) || in bna_rx_res_check()
1940 (rx_mod->rxq_free_count == 0)) in bna_rx_res_check()
1944 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1945 (rx_mod->rxq_free_count < rx_cfg->num_paths)) in bna_rx_res_check()
1948 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1949 (rx_mod->rxq_free_count < (2 * rx_cfg->num_paths))) in bna_rx_res_check()
1957 bna_rxq_get(struct bna_rx_mod *rx_mod) in bna_rxq_get() argument
1962 bfa_q_deq(&rx_mod->rxq_free_q, &qe); in bna_rxq_get()
[all …]
Dbna.h326 #define bna_rx_rid_mask(_bna) ((_bna)->rx_mod.rid_mask)
345 struct bna_rx_mod *__rx_mod = &(_bna)->rx_mod; \
467 void bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna,
469 void bna_rx_mod_uninit(struct bna_rx_mod *rx_mod);
472 void bna_rx_mod_start(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
473 void bna_rx_mod_stop(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
474 void bna_rx_mod_fail(struct bna_rx_mod *rx_mod);
Dbna_enet.c827 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); \
1911 stats_req->rx_enet_mask = htonl(bna->rx_mod.rid_mask); in bna_bfi_stats_get()
2052 bna_rx_mod_init(&bna->rx_mod, bna, res_info); in bna_mod_init()
2070 bna_rx_mod_uninit(&bna->rx_mod); in bna_uninit()
Dbna_types.h946 struct bna_rx_mod rx_mod; member