Lines Matching defs:bd
15 static u16 bnge_num_tx_to_cp(struct bnge_dev *bd, u16 tx) in bnge_num_tx_to_cp()
25 static u16 bnge_get_max_func_irqs(struct bnge_dev *bd) in bnge_get_max_func_irqs()
32 static unsigned int bnge_get_max_func_stat_ctxs(struct bnge_dev *bd) in bnge_get_max_func_stat_ctxs()
37 static unsigned int bnge_get_max_func_cp_rings(struct bnge_dev *bd) in bnge_get_max_func_cp_rings()
42 static int bnge_aux_get_dflt_msix(struct bnge_dev *bd) in bnge_aux_get_dflt_msix()
49 static u16 bnge_aux_get_msix(struct bnge_dev *bd) in bnge_aux_get_msix()
57 static void bnge_aux_set_msix_num(struct bnge_dev *bd, u16 num) in bnge_aux_set_msix_num()
63 static u16 bnge_aux_get_stat_ctxs(struct bnge_dev *bd) in bnge_aux_get_stat_ctxs()
71 static void bnge_aux_set_stat_ctxs(struct bnge_dev *bd, u16 num_aux_ctx) in bnge_aux_set_stat_ctxs()
77 static u16 bnge_func_stat_ctxs_demand(struct bnge_dev *bd) in bnge_func_stat_ctxs_demand()
82 static int bnge_get_dflt_aux_stat_ctxs(struct bnge_dev *bd) in bnge_get_dflt_aux_stat_ctxs()
96 static u16 bnge_nqs_demand(struct bnge_dev *bd) in bnge_nqs_demand()
101 static u16 bnge_cprs_demand(struct bnge_dev *bd) in bnge_cprs_demand()
106 static u16 bnge_get_avail_msix(struct bnge_dev *bd, int num) in bnge_get_avail_msix()
120 static u16 bnge_num_cp_to_tx(struct bnge_dev *bd, u16 tx_chunks) in bnge_num_cp_to_tx()
148 static int bnge_adjust_rings(struct bnge_dev *bd, u16 *rx, in bnge_adjust_rings()
176 static u16 bnge_rss_ctxs_in_use(struct bnge_dev *bd, in bnge_rss_ctxs_in_use()
182 static u16 bnge_get_total_vnics(struct bnge_dev *bd, u16 rx_rings) in bnge_get_total_vnics()
187 static u32 bnge_get_rxfh_indir_size(struct bnge_dev *bd) in bnge_get_rxfh_indir_size()
193 static void bnge_set_dflt_rss_indir_tbl(struct bnge_dev *bd) in bnge_set_dflt_rss_indir_tbl()
211 static void bnge_copy_reserved_rings(struct bnge_dev *bd, in bnge_copy_reserved_rings()
232 static bool bnge_need_reserve_rings(struct bnge_dev *bd) in bnge_need_reserve_rings()
257 int bnge_reserve_rings(struct bnge_dev *bd) in bnge_reserve_rings()
355 int bnge_alloc_irqs(struct bnge_dev *bd) in bnge_alloc_irqs()
417 void bnge_free_irqs(struct bnge_dev *bd) in bnge_free_irqs()
424 static void _bnge_get_max_rings(struct bnge_dev *bd, u16 *max_rx, in _bnge_get_max_rings()
451 static int bnge_get_max_rings(struct bnge_dev *bd, u16 *max_rx, in bnge_get_max_rings()
465 static int bnge_get_dflt_rings(struct bnge_dev *bd, u16 *max_rx, u16 *max_tx, in bnge_get_dflt_rings()
504 static void bnge_trim_dflt_sh_rings(struct bnge_dev *bd) in bnge_trim_dflt_sh_rings()
512 static int bnge_net_init_dflt_rings(struct bnge_dev *bd, bool sh) in bnge_net_init_dflt_rings()
555 static int bnge_alloc_rss_indir_tbl(struct bnge_dev *bd) in bnge_alloc_rss_indir_tbl()
570 int bnge_net_init_dflt_config(struct bnge_dev *bd) in bnge_net_init_dflt_config()
595 void bnge_net_uninit_dflt_config(struct bnge_dev *bd) in bnge_net_uninit_dflt_config()
601 void bnge_aux_init_dflt_config(struct bnge_dev *bd) in bnge_aux_init_dflt_config()