Searched refs:max_l2_ctx (Results 1 – 7 of 7) sorted by relevance
67 max_filters = bp->max_l2_ctx; in bnxt_init_filters()121 max_filters = bp->max_l2_ctx; in bnxt_free_filter_mem()167 max_filters = bp->max_l2_ctx; in bnxt_alloc_filter_mem()
822 if (++i > bp->max_l2_ctx) in bnxt_dev_xstats_get_op()825 if (i > bp->max_l2_ctx) in bnxt_dev_xstats_get_op()838 struct bnxt_xstats_name_off flow_bytes[bp->max_l2_ctx]; in bnxt_flow_stats_cnt()839 struct bnxt_xstats_name_off flow_pkts[bp->max_l2_ctx]; in bnxt_flow_stats_cnt()908 for (i = 0; i < bp->max_l2_ctx; i++) { in bnxt_dev_xstats_get_names_op()
902 bp->max_l2_ctx = rte_le_to_cpu_16(resp->max_l2_ctxs); in __bnxt_hwrm_func_qcaps()904 bp->max_l2_ctx += bp->max_rx_em_flows; in __bnxt_hwrm_func_qcaps()907 bp->max_l2_ctx, bp->max_vnics); in __bnxt_hwrm_func_qcaps()1211 bp->max_l2_ctx = rte_le_to_cpu_16(resp->max_l2_ctxs); in bnxt_hwrm_func_resc_qcaps()1213 bp->max_l2_ctx += bp->max_rx_em_flows; in bnxt_hwrm_func_resc_qcaps()3543 req->max_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1)); in bnxt_fill_vf_func_cfg_req_new()3608 bp->max_l2_ctx -= rte_le_to_cpu_16(resp->alloc_l2_ctx); in bnxt_update_max_resources()3638 bp->max_l2_ctx = rte_le_to_cpu_16(resp->alloc_l2_ctx); in bnxt_update_max_resources_pf_only()3705 pf_resc->num_l2_ctxs = bp->max_l2_ctx; in bnxt_calculate_pf_resources()3723 pf_resc->num_l2_ctxs = bp->max_l2_ctx / (num_vfs + 1) + in bnxt_calculate_pf_resources()[all …]
94 RTE_MIN(bp->max_l2_ctx, in bnxt_mq_rx_configure()
811 uint16_t max_l2_ctx; member
548 dev_info->max_mac_addrs = parent_bp->max_l2_ctx; in bnxt_rep_dev_info_get_op()
966 dev_info->max_mac_addrs = RTE_MIN(bp->max_l2_ctx, RTE_ETH_NUM_RECEIVE_MAC_ADDR); in bnxt_dev_info_get_op()5029 size_t max_mac_addr = RTE_MIN(bp->max_l2_ctx, RTE_ETH_NUM_RECEIVE_MAC_ADDR); in bnxt_setup_mac_addr()5032 if (bp->max_l2_ctx > RTE_ETH_NUM_RECEIVE_MAC_ADDR) in bnxt_setup_mac_addr()5034 bp->max_l2_ctx, RTE_ETH_NUM_RECEIVE_MAC_ADDR); in bnxt_setup_mac_addr()