Lines Matching refs:vport_config
1154 struct idpf_vport_config *vport_config; in idpf_queue_reg_init() local
1164 vport_config = vport->adapter->vport_config[vport_idx]; in idpf_queue_reg_init()
1165 if (vport_config->req_qs_chunks) { in idpf_queue_reg_init()
1167 (struct virtchnl2_add_queues *)vport_config->req_qs_chunks; in idpf_queue_reg_init()
2046 struct idpf_vport_config *vport_config; in idpf_send_delete_queues_msg() local
2052 vport_config = vport->adapter->vport_config[vport_idx]; in idpf_send_delete_queues_msg()
2053 if (vport_config->req_qs_chunks) { in idpf_send_delete_queues_msg()
2054 chunks = &vport_config->req_qs_chunks->chunks; in idpf_send_delete_queues_msg()
2116 struct idpf_vport_config *vport_config; in idpf_send_add_queues_msg() local
2126 vport_config = vport->adapter->vport_config[vport_idx]; in idpf_send_add_queues_msg()
2127 kfree(vport_config->req_qs_chunks); in idpf_send_add_queues_msg()
2128 vport_config->req_qs_chunks = NULL; in idpf_send_add_queues_msg()
2158 vport_config->req_qs_chunks = kmemdup(vc_msg, size, GFP_KERNEL); in idpf_send_add_queues_msg()
2159 if (!vport_config->req_qs_chunks) in idpf_send_add_queues_msg()
2356 &vport->adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_send_get_set_rss_lut_msg()
2431 &vport->adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_send_get_set_rss_key_msg()
2906 if (adapter->vport_config) in idpf_vport_params_buf_alloc()
2909 adapter->vport_config = kcalloc(num_max_vports, in idpf_vport_params_buf_alloc()
2910 sizeof(*adapter->vport_config), in idpf_vport_params_buf_alloc()
2912 if (!adapter->vport_config) in idpf_vport_params_buf_alloc()
3143 struct idpf_vport_config *vport_config; in idpf_vport_init() local
3149 vport_config = adapter->vport_config[idx]; in idpf_vport_init()
3150 rss_data = &vport_config->user_config.rss_data; in idpf_vport_init()
3153 vport_config->max_q.max_txq = max_q->max_txq; in idpf_vport_init()
3154 vport_config->max_q.max_rxq = max_q->max_rxq; in idpf_vport_init()
3155 vport_config->max_q.max_complq = max_q->max_complq; in idpf_vport_init()
3156 vport_config->max_q.max_bufq = max_q->max_bufq; in idpf_vport_init()
3355 struct idpf_vport_config *vport_config; in idpf_vport_queue_ids_init() local
3361 vport_config = vport->adapter->vport_config[vport_idx]; in idpf_vport_queue_ids_init()
3362 if (vport_config->req_qs_chunks) { in idpf_vport_queue_ids_init()
3364 (struct virtchnl2_add_queues *)vport_config->req_qs_chunks; in idpf_vport_queue_ids_init()
3523 struct idpf_vport_config *vport_config; in idpf_mac_filter_async_handler() local
3550 vport_config = adapter->vport_config[le32_to_cpu(ma_list->vport_id)]; in idpf_mac_filter_async_handler()
3551 ma_list_head = &vport_config->user_config.mac_filter_list; in idpf_mac_filter_async_handler()
3557 spin_lock_bh(&vport_config->mac_filter_list_lock); in idpf_mac_filter_async_handler()
3562 spin_unlock_bh(&vport_config->mac_filter_list_lock); in idpf_mac_filter_async_handler()
3592 struct idpf_vport_config *vport_config; in idpf_add_del_mac_filters() local
3604 vport_config = adapter->vport_config[np->vport_idx]; in idpf_add_del_mac_filters()
3605 spin_lock_bh(&vport_config->mac_filter_list_lock); in idpf_add_del_mac_filters()
3608 list_for_each_entry(f, &vport_config->user_config.mac_filter_list, in idpf_add_del_mac_filters()
3617 spin_unlock_bh(&vport_config->mac_filter_list_lock); in idpf_add_del_mac_filters()
3626 spin_unlock_bh(&vport_config->mac_filter_list_lock); in idpf_add_del_mac_filters()
3631 list_for_each_entry(f, &vport_config->user_config.mac_filter_list, in idpf_add_del_mac_filters()
3649 spin_unlock_bh(&vport_config->mac_filter_list_lock); in idpf_add_del_mac_filters()