| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_vnic.c | 47 vnic = &bp->vnic_info[i]; in bnxt_init_vnics() 52 vnic->hash_mode = in bnxt_init_vnics() 54 vnic->rx_queue_cnt = 0; in bnxt_init_vnics() 68 if (!vnic) { in bnxt_alloc_vnic() 73 return vnic; in bnxt_alloc_vnic() 101 if (vnic->rss_table) { in bnxt_free_vnic_attributes() 161 vnic->rss_table = in bnxt_alloc_vnic_attributes() 166 vnic->rss_hash_key = (void *)((char *)vnic->rss_table + in bnxt_alloc_vnic_attributes() 169 vnic->rss_hash_key_dma_addr = vnic->rss_table_dma_addr + in bnxt_alloc_vnic_attributes() 171 vnic->mc_list = (void *)((char *)vnic->rss_hash_key + in bnxt_alloc_vnic_attributes() [all …]
|
| H A D | bnxt_rxq.c | 46 if (!vnic) { in bnxt_mq_rx_configure() 55 rxq->vnic = vnic; in bnxt_mq_rx_configure() 59 vnic->end_grp_id = vnic->start_grp_id; in bnxt_mq_rx_configure() 117 if (!vnic) { in bnxt_mq_rx_configure() 127 rxq->vnic = vnic; in bnxt_mq_rx_configure() 178 vnic->hash_type = in bnxt_mq_rx_configure() 482 vnic = rxq->vnic; in bnxt_rx_queue_start() 541 vnic = rxq->vnic; in bnxt_rx_queue_stop() 542 if (!vnic) { in bnxt_rx_queue_stop() 562 for (i = vnic->start_grp_id; i < vnic->end_grp_id; i++) in bnxt_rx_queue_stop() [all …]
|
| H A D | bnxt_flow.c | 889 l2_filter->vnic = vnic; in bnxt_get_l2_filter() 1101 rxq->vnic = vnic; in bnxt_validate_and_parse_flow() 1123 act_q->index, vnic, vnic->fw_grp_ids); in bnxt_validate_and_parse_flow() 1321 rxq->vnic = vnic; in bnxt_validate_and_parse_flow() 1343 vnic_id, vnic, vnic->fw_grp_ids); in bnxt_validate_and_parse_flow() 1455 if (vnic && STAILQ_EMPTY(&vnic->filter)) in bnxt_validate_and_parse_flow() 1515 if (vnic) { in bnxt_flow_validate() 1815 flow->vnic = vnic; in bnxt_flow_create() 1926 vnic = flow->vnic; in _bnxt_flow_destroy() 1971 if (vnic && !vnic->func_default && in _bnxt_flow_destroy() [all …]
|
| H A D | bnxt_hwrm.c | 491 vnic = l2_filter->vnic; in bnxt_hwrm_clear_l2_filter() 492 if (vnic) { in bnxt_hwrm_clear_l2_filter() 1821 vnic->start_grp_id, vnic->end_grp_id); in bnxt_hwrm_vnic_alloc() 1822 for (i = vnic->start_grp_id, j = 0; i < vnic->end_grp_id; i++, j++) in bnxt_hwrm_vnic_alloc() 1825 vnic->dflt_ring_grp = bp->grp_info[vnic->start_grp_id].fw_grp_id; in bnxt_hwrm_vnic_alloc() 1942 for (i = vnic->start_grp_id; i < vnic->end_grp_id; i++) { in bnxt_hwrm_vnic_cfg() 2124 vnic, in bnxt_hwrm_vnic_ctx_free() 2130 rc = _bnxt_hwrm_vnic_ctx_free(bp, vnic, vnic->rss_rule); in bnxt_hwrm_vnic_ctx_free() 4895 if (!(vnic->rss_table && vnic->hash_type)) in bnxt_vnic_rss_configure() 4904 if (vnic->rss_table && vnic->hash_type) { in bnxt_vnic_rss_configure() [all …]
|
| H A D | bnxt_hwrm.h | 123 struct bnxt_vnic_info *vnic); 178 int bnxt_hwrm_vnic_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic); 179 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, struct bnxt_vnic_info *vnic); 180 int bnxt_hwrm_vnic_qcfg(struct bnxt *bp, struct bnxt_vnic_info *vnic, 186 int bnxt_hwrm_vnic_free(struct bnxt *bp, struct bnxt_vnic_info *vnic); 188 struct bnxt_vnic_info *vnic); 190 struct bnxt_vnic_info *vnic); 192 struct bnxt_vnic_info *vnic, bool enable); 232 void vf_vnic_set_rxmask_cb(struct bnxt_vnic_info *vnic, void *flagp); 237 int (*hwrm_cb)(struct bnxt *bp, struct bnxt_vnic_info *vnic)); [all …]
|
| H A D | bnxt_ethdev.c | 417 vnic_id, vnic, vnic->fw_grp_ids); in bnxt_setup_one_vnic() 465 j, rxq->vnic, rxq->vnic->fw_grp_ids); in bnxt_setup_one_vnic() 470 vnic->rx_queue_cnt++; in bnxt_setup_one_vnic() 732 if (!vnic) { in bnxt_init_chip() 1568 if (!vnic) { in bnxt_mac_addr_add_op() 1796 if (!vnic->rss_table) in bnxt_reta_update_op() 1854 if (!vnic) in bnxt_reta_query_op() 1856 if (!vnic->rss_table) in bnxt_reta_query_op() 1922 vnic->hash_mode = in bnxt_rss_hash_update_op() 1958 if (vnic && vnic->rss_hash_key) { in bnxt_rss_hash_conf_get_op() [all …]
|
| H A D | rte_pmd_bnxt.c | 80 vnic->bd_stall = !(*on); in rte_pmd_bnxt_set_all_queues_drop_en_cb() 347 vnic->vlan_strip = *on; in rte_pmd_bnxt_set_vf_vlan_stripq_cb() 457 struct bnxt_vnic_info vnic; in bnxt_set_vf_table() local 475 memset(&vnic, 0, sizeof(vnic)); in bnxt_set_vf_table() 476 vnic.fw_vnic_id = dflt_vnic; in bnxt_set_vf_table() 477 if (bnxt_hwrm_vnic_qcfg(bp, &vnic, in bnxt_set_vf_table() 479 if (bnxt_hwrm_cfa_l2_set_rx_mask(bp, &vnic, in bnxt_set_vf_table() 735 struct bnxt_vnic_info vnic; in rte_pmd_bnxt_mac_addr_add() local 774 memset(&vnic, 0, sizeof(struct bnxt_vnic_info)); in rte_pmd_bnxt_mac_addr_add() 775 vnic.fw_vnic_id = rte_le_to_cpu_16(rc); in rte_pmd_bnxt_mac_addr_add() [all …]
|
| H A D | bnxt_filter.c | 80 struct bnxt_vnic_info *vnic; in bnxt_free_all_filters() local 94 vnic = &bp->vnic_info[i]; in bnxt_free_all_filters() 95 filter = STAILQ_FIRST(&vnic->filter); in bnxt_free_all_filters() 98 STAILQ_REMOVE(&vnic->filter, filter, in bnxt_free_all_filters() 104 STAILQ_INIT(&vnic->filter); in bnxt_free_all_filters()
|
| H A D | bnxt_stats.c | 679 struct bnxt_vnic_info *vnic; in bnxt_dev_xstats_get_op() local 682 vnic = &bp->vnic_info[j]; in bnxt_dev_xstats_get_op() 683 if (vnic && vnic->fw_vnic_id == INVALID_VNIC_ID) in bnxt_dev_xstats_get_op() 686 if (STAILQ_EMPTY(&vnic->flow_list)) in bnxt_dev_xstats_get_op() 689 STAILQ_FOREACH(flow, &vnic->flow_list, next) { in bnxt_dev_xstats_get_op() 913 struct bnxt_vnic_info *vnic = NULL; in bnxt_flow_stats_req() local 919 vnic = &bp->vnic_info[i]; in bnxt_flow_stats_req() 920 if (vnic && vnic->fw_vnic_id == INVALID_VNIC_ID) in bnxt_flow_stats_req() 923 if (STAILQ_EMPTY(&vnic->flow_list)) in bnxt_flow_stats_req() 926 STAILQ_FOREACH(flow, &vnic->flow_list, next) { in bnxt_flow_stats_req()
|
| H A D | bnxt_vnic.h | 64 int bnxt_free_vnic(struct bnxt *bp, struct bnxt_vnic_info *vnic, 72 int bnxt_vnic_grp_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic);
|
| H A D | bnxt_filter.h | 90 struct bnxt_vnic_info *vnic; member 103 struct bnxt_filter_info *nf, struct bnxt_vnic_info *vnic);
|
| H A D | bnxt_rxq.h | 36 struct bnxt_vnic_info *vnic; member
|
| H A D | bnxt.h | 240 uint16_t vnic; member 316 struct bnxt_vnic_info *vnic; member
|
| /f-stack/dpdk/drivers/net/bnx2x/ |
| H A D | ecore_init.h | 202 #define ECORE_PF_Q_NUM(q_num, port, vnic)\ argument 203 ((((port) << 1) | (vnic)) * 16 + (q_num)) 215 uint32_t reg_addr, reg_bit_map, vnic; in ecore_map_q_cos() local 227 for (vnic = 0; vnic < num_vnics; vnic++) { in ecore_map_q_cos() 340 uint32_t vnic; in ecore_init_max() local 360 for (vnic = 0; vnic < ECORE_PORT2_MODE_NUM_VNICS; vnic++) { in ecore_init_max() 363 input_data->vnic_max_rate[vnic]; in ecore_init_max() 427 for (vnic = 0; vnic < ECORE_PORT2_MODE_NUM_VNICS; vnic++) in ecore_init_min() 433 for (vnic = 0; vnic < ECORE_PORT2_MODE_NUM_VNICS; vnic++) { in ecore_init_min() 457 uint32_t vnic, cos; in ecore_init_fw_wrr() local [all …]
|
| H A D | bnx2x.c | 5467 vnic.vnic_max_rate[vn]); in storm_memset_cmng() 5474 vnic.vnic_min_rate[vn]); in storm_memset_cmng() 7904 uint8_t i, vnic; in bnx2x_get_mf_cfg_info() local 8050 vnic = 0; in bnx2x_get_mf_cfg_info() 8054 mf_info->min_bw[vnic] = in bnx2x_get_mf_cfg_info() 8057 mf_info->max_bw[vnic] = in bnx2x_get_mf_cfg_info() 8060 vnic++; in bnx2x_get_mf_cfg_info()
|
| H A D | ecore_hsi.h | 5632 struct cmng_vnic vnic; member
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_port_db.c | 394 uint16_t *vnic) in ulp_port_db_default_vnic_get() argument 407 *vnic = port_db->ulp_func_id_tbl[func_id].func_vnic; in ulp_port_db_default_vnic_get() 410 *vnic = port_db->ulp_func_id_tbl[func_id].func_vnic; in ulp_port_db_default_vnic_get()
|
| H A D | ulp_def_rules.c | 117 uint16_t vnic; in ulp_set_vnic_in_comp_fld() local 121 rc = ulp_port_db_default_vnic_get(ulp_ctx, ifindex, vnic_type, &vnic); in ulp_set_vnic_in_comp_fld() 130 ULP_COMP_FLD_IDX_WR(mapper_params, idx, vnic); in ulp_set_vnic_in_comp_fld()
|
| H A D | ulp_port_db.h | 194 uint16_t *vnic);
|
| /f-stack/dpdk/drivers/net/thunderx/base/ |
| H A D | nicvf_hw_defs.h | 1128 uint64_t vnic:7; member 1130 uint64_t vnic:7;
|
| H A D | nicvf_hw.c | 227 pf_qs_cfg.vnic = nic->vf_id; in nicvf_qset_config_internal()
|
| /f-stack/freebsd/arm64/conf/ |
| H A D | NOTES | 84 device vnic # Cavium ThunderX NIC
|
| H A D | GENERIC | 282 device vnic # Cavium ThunderX NIC
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | enic.rst | 40 scatter, a pair of RQs on the vnic is needed for each receive
|