Lines Matching refs:vnic_info
2078 kfree(bp->vnic_info); in bnxt_free_vnics()
2079 bp->vnic_info = NULL; in bnxt_free_vnics()
2092 bp->vnic_info = kcalloc(num_vnics, sizeof(struct bnxt_vnic_info), in bnxt_alloc_vnics()
2094 if (!bp->vnic_info) in bnxt_alloc_vnics()
2106 struct bnxt_vnic_info *vnic = &bp->vnic_info[i]; in bnxt_init_vnics()
2112 if (bp->vnic_info[i].rss_hash_key) { in bnxt_init_vnics()
2118 bp->vnic_info[0].rss_hash_key, in bnxt_init_vnics()
2231 if (!bp->vnic_info) in bnxt_free_vnic_attributes()
2235 vnic = &bp->vnic_info[i]; in bnxt_free_vnic_attributes()
2269 vnic = &bp->vnic_info[i]; in bnxt_alloc_vnic_attributes()
2557 bp->vnic_info[0].flags |= BNXT_VNIC_RSS_FLAG | BNXT_VNIC_MCAST_FLAG | in bnxt_alloc_mem()
2772 struct bnxt_vnic_info *vnic = &bp->vnic_info[vnic_id]; in bnxt_hwrm_cfa_l2_set_rx_mask()
2818 struct bnxt_vnic_info *vnic = &bp->vnic_info[fltr->rxq + 1]; in bnxt_hwrm_cfa_ntuple_filter_alloc()
2821 req.l2_filter_id = bp->vnic_info[0].fw_l2_filter_id[0]; in bnxt_hwrm_cfa_ntuple_filter_alloc()
2860 req.dst_vnic_id = cpu_to_le16(bp->vnic_info[vnic_id].fw_vnic_id); in bnxt_hwrm_set_vnic_filter()
2876 bp->vnic_info[vnic_id].fw_l2_filter_id[idx] = in bnxt_hwrm_set_vnic_filter()
2890 struct bnxt_vnic_info *vnic = &bp->vnic_info[i]; in bnxt_hwrm_clear_vnic_filter()
2912 struct bnxt_vnic_info *vnic = &bp->vnic_info[vnic_id]; in bnxt_hwrm_vnic_set_tpa()
2960 struct bnxt_vnic_info *vnic = &bp->vnic_info[vnic_id]; in bnxt_hwrm_vnic_set_rss()
2997 struct bnxt_vnic_info *vnic = &bp->vnic_info[vnic_id]; in bnxt_hwrm_vnic_set_hds()
3020 cpu_to_le16(bp->vnic_info[vnic_id].fw_rss_cos_lb_ctx); in bnxt_hwrm_vnic_ctx_free_one()
3023 bp->vnic_info[vnic_id].fw_rss_cos_lb_ctx = INVALID_HW_RING_ID; in bnxt_hwrm_vnic_ctx_free_one()
3031 struct bnxt_vnic_info *vnic = &bp->vnic_info[i]; in bnxt_hwrm_vnic_ctx_free()
3052 bp->vnic_info[vnic_id].fw_rss_cos_lb_ctx = in bnxt_hwrm_vnic_ctx_alloc()
3062 struct bnxt_vnic_info *vnic = &bp->vnic_info[vnic_id]; in bnxt_hwrm_vnic_cfg()
3093 if (bp->vnic_info[vnic_id].fw_vnic_id != INVALID_HW_RING_ID) { in bnxt_hwrm_vnic_free_one()
3098 cpu_to_le32(bp->vnic_info[vnic_id].fw_vnic_id); in bnxt_hwrm_vnic_free_one()
3103 bp->vnic_info[vnic_id].fw_vnic_id = INVALID_HW_RING_ID; in bnxt_hwrm_vnic_free_one()
3130 bp->vnic_info[vnic_id].fw_grp_ids[j] = in bnxt_hwrm_vnic_alloc()
3134 bp->vnic_info[vnic_id].fw_rss_cos_lb_ctx = INVALID_HW_RING_ID; in bnxt_hwrm_vnic_alloc()
3143 bp->vnic_info[vnic_id].fw_vnic_id = le32_to_cpu(resp->vnic_id); in bnxt_hwrm_vnic_alloc()
3798 if (bp->vnic_info) { in bnxt_hwrm_resource_free()
3869 bp->vnic_info[vnic_id].flags |= BNXT_VNIC_RFS_FLAG; in bnxt_alloc_rfs_vnics()
3945 bp->vnic_info[0].uc_filter_count = 1; in bnxt_init_chip()
3947 bp->vnic_info[0].rx_mask = CFA_L2_SET_RX_MASK_REQ_MASK_UNICAST | in bnxt_init_chip()
3951 bp->vnic_info[0].rx_mask |= in bnxt_init_chip()
4787 struct bnxt_vnic_info *vnic = &bp->vnic_info[0]; in bnxt_mc_list_updated()
4821 struct bnxt_vnic_info *vnic = &bp->vnic_info[0]; in bnxt_uc_list_updated()
4840 struct bnxt_vnic_info *vnic = &bp->vnic_info[0]; in bnxt_set_rx_mode()
4876 struct bnxt_vnic_info *vnic = &bp->vnic_info[0]; in bnxt_cfg_rx_mode()