Home
last modified time | relevance | path

Searched refs:vport_config (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_lib.c440 static int __idpf_del_mac_filter(struct idpf_vport_config *vport_config, in __idpf_del_mac_filter() argument
445 spin_lock_bh(&vport_config->mac_filter_list_lock); in __idpf_del_mac_filter()
446 f = idpf_find_mac_filter(vport_config, macaddr); in __idpf_del_mac_filter()
451 spin_unlock_bh(&vport_config->mac_filter_list_lock); in __idpf_del_mac_filter()
470 struct idpf_vport_config *vport_config; in idpf_del_mac_filter() local
473 vport_config = np->adapter->vport_config[np->vport_idx]; in idpf_del_mac_filter()
475 spin_lock_bh(&vport_config->mac_filter_list_lock); in idpf_del_mac_filter()
476 f = idpf_find_mac_filter(vport_config, macaddr); in idpf_del_mac_filter()
480 spin_unlock_bh(&vport_config->mac_filter_list_lock); in idpf_del_mac_filter()
484 spin_unlock_bh(&vport_config->mac_filter_list_lock); in idpf_del_mac_filter()
[all …]
Didpf_ethtool.c51 user_config = &np->adapter->vport_config[np->vport_idx]->user_config; in idpf_get_rxfh_key_size()
70 user_config = &np->adapter->vport_config[np->vport_idx]->user_config; in idpf_get_rxfh_indir_size()
100 rss_data = &adapter->vport_config[np->vport_idx]->user_config.rss_data; in idpf_get_rxfh()
150 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_set_rxfh()
188 struct idpf_vport_config *vport_config; in idpf_get_channels() local
192 vport_config = np->adapter->vport_config[np->vport_idx]; in idpf_get_channels()
194 num_txq = vport_config->user_config.num_req_tx_qs; in idpf_get_channels()
195 num_rxq = vport_config->user_config.num_req_rx_qs; in idpf_get_channels()
200 ch->max_combined = min_t(u16, vport_config->max_q.max_txq, in idpf_get_channels()
201 vport_config->max_q.max_rxq); in idpf_get_channels()
[all …]
Didpf_virtchnl.c1154 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()
[all …]
Didpf_main.c65 kfree(adapter->vport_config[i]); in idpf_remove()
66 adapter->vport_config[i] = NULL; in idpf_remove()
68 kfree(adapter->vport_config); in idpf_remove()
69 adapter->vport_config = NULL; in idpf_remove()
Didpf_txrx.c1141 config_data = &vport->adapter->vport_config[idx]->user_config; in idpf_vport_init_num_qs()
1179 config_data = &vport->adapter->vport_config[idx]->user_config; in idpf_vport_calc_num_q_desc()
1228 struct idpf_vport_config *vport_config; in idpf_vport_calc_total_qs() local
1232 vport_config = adapter->vport_config[vport_idx]; in idpf_vport_calc_total_qs()
1233 if (vport_config) { in idpf_vport_calc_total_qs()
1234 num_req_tx_qs = vport_config->user_config.num_req_tx_qs; in idpf_vport_calc_total_qs()
1235 num_req_rx_qs = vport_config->user_config.num_req_rx_qs; in idpf_vport_calc_total_qs()
4339 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_fill_dflt_rss_lut()
4359 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_init_rss()
4389 rss_data = &adapter->vport_config[vport->idx]->user_config.rss_data; in idpf_deinit_rss()
Didpf.h562 struct idpf_vport_config **vport_config; member