Home
last modified time | relevance | path

Searched refs:vport_id (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.15/drivers/net/ethernet/sfc/
H A Def10_sriov.c138 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports()
139 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports()
140 vf->vport_id = 0; in efx_ef10_sriov_free_vf_vports()
168 vf->vlan, &vf->vport_id); in efx_ef10_sriov_assign_vf_vport()
280 EFX_EF10_NO_VLAN, &efx->vport_id); in efx_ef10_vswitching_probe_pf()
298 efx_ef10_vport_free(efx, efx->vport_id); in efx_ef10_vswitching_probe_pf()
299 efx->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_vswitching_probe_pf()
365 efx->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_vswitching_remove_pf()
604 if (vf->vport_id) { in efx_ef10_sriov_set_vf_vlan()
608 vf->vport_id = 0; in efx_ef10_sriov_set_vf_vlan()
[all …]
H A Dfilter.h159 u32 vport_id; member
322 u32 vport_id) in efx_filter_set_vport_id() argument
325 spec->vport_id = vport_id; in efx_filter_set_vport_id()
H A Drx_common.c626 return memcmp(&left->vport_id, &right->vport_id, in efx_filter_spec_equal()
628 offsetof(struct efx_filter_spec, vport_id)) == 0; in efx_filter_spec_equal()
633 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3); in efx_filter_spec_hash()
634 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash()
636 offsetof(struct efx_filter_spec, vport_id)) / 4, in efx_filter_spec_hash()
H A Def10_sriov.h24 unsigned int vport_id; member
H A Dmcdi_functions.c183 MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_PORT_ID, efx->vport_id); in efx_mcdi_tx_init()
306 MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_PORT_ID, efx->vport_id); in efx_mcdi_rx_init()
/linux-6.15/drivers/net/ethernet/intel/idpf/
H A Dvirtchnl2.h611 __le32 vport_id; member
639 __le32 vport_id; member
703 __le32 vport_id; member
782 __le32 vport_id; member
808 __le32 vport_id; member
911 __le32 vport_id; member
936 __le32 vport_id; member
1046 __le32 vport_id; member
1084 __le32 vport_id; member
1104 __le32 vport_id; member
[all …]
H A Didpf_virtchnl.c1372 v_id.vport_id = cpu_to_le32(vport->vport_id); in idpf_send_destroy_vport_msg()
1396 v_id.vport_id = cpu_to_le32(vport->vport_id); in idpf_send_enable_vport_msg()
1420 v_id.vport_id = cpu_to_le32(vport->vport_id); in idpf_send_disable_vport_msg()
1530 ctq->vport_id = cpu_to_le32(vport->vport_id); in idpf_send_config_tx_queues_msg()
1682 crq->vport_id = cpu_to_le32(vport->vport_id); in idpf_send_config_rx_queues_msg()
1827 eq->vport_id = cpu_to_le32(vport->vport_id); in idpf_send_ena_dis_queues_msg()
2071 eq->vport_id = cpu_to_le32(vport->vport_id); in idpf_send_delete_queues_msg()
2134 aq.vport_id = cpu_to_le32(vport->vport_id); in idpf_send_add_queues_msg()
2366 rl->vport_id = cpu_to_le32(vport->vport_id); in idpf_send_get_set_rss_lut_msg()
2441 rk->vport_id = cpu_to_le32(vport->vport_id); in idpf_send_get_set_rss_key_msg()
[all …]
H A Didpf_lib.c725 np->vport_id = vport->vport_id; in idpf_cfg_netdev()
743 np->vport_id = vport->vport_id; in idpf_cfg_netdev()
1333 vport->vport_id, err); in idpf_vport_open()
1344 vport->vport_id, err); in idpf_vport_open()
1351 vport->vport_id, err); in idpf_vport_open()
1358 vport->vport_id, err); in idpf_vport_open()
1365 vport->vport_id, err); in idpf_vport_open()
1375 vport->vport_id, err); in idpf_vport_open()
1382 vport->vport_id, err); in idpf_vport_open()
1389 vport->vport_id, err); in idpf_vport_open()
[all …]
H A Didpf_virtchnl.h61 u32 vport_id);
H A Didpf.h154 u32 vport_id; member
322 u32 vport_id; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dqos_tracepoint.h18 __field(unsigned short, vport_id)
22 __entry->vport_id = vport->vport;
26 __get_str(devname), __entry->vport_id, __entry->sched_elem_ix
35 __field(unsigned short, vport_id)
42 __entry->vport_id = vport->vport;
49 __get_str(devname), __entry->vport_id, __entry->sched_elem_ix,
/linux-6.15/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c209 p_cid->rel.vport_id = p_params->vport_id; in _qed_eth_queue_to_cid()
235 rc = qed_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id); in _qed_eth_queue_to_cid()
271 p_cid->rel.vport_id, in _qed_eth_queue_to_cid()
272 p_cid->abs.vport_id, in _qed_eth_queue_to_cid()
696 p_cmn->vport_id = abs_vport_id; in qed_sp_vport_update()
871 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_rxq_start_ramrod()
996 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_sp_eth_rx_queues_update()
1032 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_pf_rx_queue_stop()
1089 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_txq_start_ramrod()
2328 start.vport_id = params->vport_id; in qed_start_vport()
[all …]
H A Dqed_l2.h140 u8 vport_id; member
173 u8 vport_id; member
217 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id);
320 u8 vport_id; member
H A Dqed_sriov.c453 vf->vport_id = idx + 1; in qed_iov_setup_vfdb()
1700 params.vport_id = p_vf->vport_id; in __qed_iov_spoofchk_set()
1831 vport_update.vport_id = p_vf->vport_id; in qed_iov_configure_vport_forced()
1952 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_vport()
2121 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_rxq()
2456 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_txq()
3053 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_vport_update()
3287 params.vport_to_add_to = vf->vport_id; in qed_iov_vf_mbx_ucast_filter()
4393 u8 vport_id; in qed_iov_configure_min_tx_rate() local
4410 vport_id = vf->vport_id; in qed_iov_configure_min_tx_rate()
[all …]
H A Dqed_vf.h334 u8 vport_id; member
988 u8 vport_id,
1193 u8 vport_id, in qed_vf_pf_vport_start() argument
H A Dqed_sriov.h184 u8 vport_id; member
/linux-6.15/include/linux/qed/
H A Dqed_eth_if.h22 u8 vport_id; member
67 u8 vport_id; member
101 u8 vport_id; member
117 u8 vport_id; member
281 u8 vport_id);
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c132 dest_vfid = (u8)vport->vport_id; in hclge_inform_vf_reset()
277 req->vfid = vport->vport_id; in hclge_query_ring_vector_map()
596 HCLGE_MBX_LINK_STAT_CHANGE, vport->vport_id); in hclge_push_vf_link_status()
645 vport->vport_id - HCLGE_VF_VPORT_START_NUM, ret); in hclge_mbx_reset_vf_queue()
655 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_reset_vf()
657 return hclge_func_reset_cmd(hdev, vport->vport_id); in hclge_reset_vf()
673 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_notify_vf_config()
684 vport->vport_id, in hclge_notify_vf_config()
690 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_notify_vf_config()
707 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_vf_keep_alive()
H A Dhclge_main.c1855 vport->vport_id = i; in hclge_alloc_vport()
6527 *vport_id = vf ? hdev->vport[vf].vport_id : vport->vport_id; in hclge_fd_parse_ring_cookie()
8120 if (vport->vport_id) { in hclge_vport_start()
9166 vport->vport_id); in hclge_uninit_vport_mac_list()
9529 vport->vport_id); in hclge_set_vport_vlan_filter()
9554 if (vport->vport_id) { in hclge_need_enable_vport_vlan_filter()
9768 vport_id, vlan_id); in hclge_need_update_port_vlan()
9776 vport_id, vlan_id); in hclge_need_update_port_vlan()
9800 vport_id, ret); in hclge_set_vlan_filter_hw()
10172 vport->vport_id, in hclge_rm_vport_all_vlan_table()
[all …]
H A Dhclge_tm.c626 vport->vport_id, shap_cfg_cmd->qs_id, in hclge_tm_qs_shaper_cfg()
685 if (vport->vport_id) { in hclge_tm_update_kinfo_rss_size()
689 vport->vport_id - HCLGE_VF_VPORT_START_NUM; in hclge_tm_update_kinfo_rss_size()
726 if (vport->vport_id == PF_VPORT_ID) in hclge_tm_vport_tc_info_update()
1106 vport->vport_id, shaper_para, in hclge_tm_pri_vnet_base_shaper_pri_cfg()
1116 vport->vport_id, shaper_para, in hclge_tm_pri_vnet_base_shaper_pri_cfg()
1249 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr); in hclge_tm_pri_vnet_base_dwrr_pri_cfg()
1413 if (vport->vport_id >= HNAE3_MAX_TC) in hclge_tm_schd_mode_vnet_base_cfg()
1416 ret = hclge_tm_pri_schd_mode_cfg(hdev, vport->vport_id); in hclge_tm_schd_mode_vnet_base_cfg()
/linux-6.15/include/linux/net/intel/
H A Diidc.h46 u16 vport_id; /* VSI index */ member
/linux-6.15/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c1658 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local
1671 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb()
1672 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb()
1673 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb()
1674 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb()
1675 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb()
1676 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb()
1678 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
/linux-6.15/drivers/scsi/elx/efct/
H A Defct_lio.c771 struct fc_vport_identifiers vport_id; in efct_lio_npiv_make_nport() local
819 memset(&vport_id, 0, sizeof(vport_id)); in efct_lio_npiv_make_nport()
820 vport_id.port_name = npiv_wwpn; in efct_lio_npiv_make_nport()
821 vport_id.node_name = npiv_wwnn; in efct_lio_npiv_make_nport()
822 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in efct_lio_npiv_make_nport()
823 vport_id.vport_type = FC_PORTTYPE_NPIV; in efct_lio_npiv_make_nport()
824 vport_id.disable = false; in efct_lio_npiv_make_nport()
826 new_fc_vport = fc_vport_create(efct->shost, 0, &vport_id); in efct_lio_npiv_make_nport()
/linux-6.15/drivers/infiniband/hw/irdma/
H A Dmain.c175 qset.vport_id = vsi->vsi_idx; in irdma_lan_register_qset()
202 qset.vport_id = vsi->vsi_idx; in irdma_lan_unregister_qset()
/linux-6.15/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.h176 u8 vport_id; member
181 u8 vport_id;

123