Home
last modified time | relevance | path

Searched refs:vport_id (Results 1 - 25 of 84) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Def10_sriov.c134 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports()
138 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()
172 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport()
178 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport()
235 rc = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vadaptor_alloc_set_features()
239 rc = efx_ef10_vadaptor_query(efx, efx->vport_id, in efx_ef10_vadaptor_alloc_set_features()
280 EFX_EF10_NO_VLAN, &efx->vport_id); in efx_ef10_vswitching_probe_pf()
[all...]
H A Dfilter.h126 * @vport_id: Virtual port ID associated with RX queue, for adapter switching,
127 * if %EFX_FILTER_FLAG_VPORT_ID is set. This is an MCFW vport_id, or on
159 u32 vport_id; member
319 * @vport_id: firmware ID of the virtual port
322 u32 vport_id) in efx_filter_set_vport_id()
325 spec->vport_id = vport_id; in efx_filter_set_vport_id()
321 efx_filter_set_vport_id(struct efx_filter_spec *spec, u32 vport_id) efx_filter_set_vport_id() argument
H A Def10_sriov.h16 * @vport_id: vport ID for the VF
24 unsigned int vport_id; member
H A Drx_common.c666 return memcmp(&left->vport_id, &right->vport_id, in efx_filter_spec_equal()
668 offsetof(struct efx_filter_spec, vport_id)) == 0; in efx_filter_spec_equal()
673 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3); in efx_filter_spec_hash()
674 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash()
676 offsetof(struct efx_filter_spec, vport_id)) / 4, in efx_filter_spec_hash()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Def10_sriov.c135 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports()
139 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports()
140 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports()
141 vf->vport_id = 0; in efx_ef10_sriov_free_vf_vports()
169 vf->vlan, &vf->vport_id); in efx_ef10_sriov_assign_vf_vport()
173 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport()
179 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport()
238 rc = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vadaptor_alloc_set_features()
242 rc = efx_ef10_vadaptor_query(efx, efx->vport_id, in efx_ef10_vadaptor_alloc_set_features()
283 EFX_EF10_NO_VLAN, &efx->vport_id); in efx_ef10_vswitching_probe_pf()
[all...]
H A Def10_sriov.h16 * @vport_id: vport ID for the VF
24 unsigned int vport_id; member
H A Drx_common.c679 return memcmp(&left->vport_id, &right->vport_id, in efx_filter_spec_equal()
681 offsetof(struct efx_filter_spec, vport_id)) == 0; in efx_filter_spec_equal()
686 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3); in efx_filter_spec_hash()
687 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash()
689 offsetof(struct efx_filter_spec, vport_id)) / 4, in efx_filter_spec_hash()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dqos_tracepoint.h17 __field(unsigned short, vport_id)
21 __entry->vport_id = vport->vport;
25 __get_str(devname), __entry->vport_id, __entry->tsar_ix
33 __field(unsigned short, vport_id)
40 __entry->vport_id = vport->vport;
47 __get_str(devname), __entry->vport_id, __entry->tsar_ix,
/kernel/linux/linux-5.10/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()
352 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_eth_vport_start()
368 p_ramrod->vport_id = abs_vport_id; in qed_sp_eth_vport_start()
419 return qed_vf_pf_vport_start(p_hwfn, p_params->vport_id, in qed_sp_vport_start()
675 rc = qed_fw_vport(p_hwfn, p_params->vport_id, in qed_sp_vport_update()
743 qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id) qed_sp_vport_stop() argument
2345 qed_stop_vport(struct qed_dev *cdev, u8 vport_id) qed_stop_vport() argument
[all...]
H A Dqed_l2.h140 u8 vport_id; member
174 u8 vport_id; member
215 * @param vport_id VPort ID
219 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id);
297 u8 vport_id; member
H A Dqed_sriov.c451 vf->vport_id = idx + 1; in qed_iov_setup_vfdb()
1698 params.vport_id = p_vf->vport_id; in __qed_iov_spoofchk_set()
1727 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_reconfigure_unicast_vlan()
1785 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
1812 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
1829 vport_update.vport_id = p_vf->vport_id; in qed_iov_configure_vport_forced()
1950 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_vport()
4367 u8 vport_id; qed_iov_configure_min_tx_rate() local
[all...]
/kernel/linux/linux-6.6/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()
352 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_eth_vport_start()
368 p_ramrod->vport_id = abs_vport_id; in qed_sp_eth_vport_start()
420 return qed_vf_pf_vport_start(p_hwfn, p_params->vport_id, in qed_sp_vport_start()
676 rc = qed_fw_vport(p_hwfn, p_params->vport_id, in qed_sp_vport_update()
744 qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id) qed_sp_vport_stop() argument
2355 qed_stop_vport(struct qed_dev *cdev, u8 vport_id) qed_stop_vport() argument
[all...]
H A Dqed_l2.h140 u8 vport_id; member
173 u8 vport_id; member
213 * @vport_id: VPort ID.
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()
1729 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_reconfigure_unicast_vlan()
1787 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
1814 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
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()
4393 u8 vport_id; qed_iov_configure_min_tx_rate() local
[all...]
/kernel/linux/linux-5.10/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
292 u8 vport_id);
/kernel/linux/linux-6.6/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);
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c550 vport->vport_id, shap_cfg_cmd->qs_id, in hclge_tm_qs_shaper_cfg()
567 * one tc for VF for simplicity. VF's vport_id is non zero. in hclge_tm_vport_tc_info_update()
569 kinfo->num_tc = vport->vport_id ? 1 : in hclge_tm_vport_tc_info_update()
571 vport->qs_offset = (vport->vport_id ? HNAE3_MAX_TC : 0) + in hclge_tm_vport_tc_info_update()
572 (vport->vport_id ? (vport->vport_id - 1) : 0); in hclge_tm_vport_tc_info_update()
937 vport->vport_id, shaper_para); in hclge_tm_pri_vnet_base_shaper_pri_cfg()
946 vport->vport_id, shaper_para); in hclge_tm_pri_vnet_base_shaper_pri_cfg()
1072 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr); in hclge_tm_pri_vnet_base_dwrr_pri_cfg()
1201 if (vport->vport_id > in hclge_tm_schd_mode_vnet_base_cfg()
[all...]
H A Dhclge_main.c1701 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport()
1702 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, in hclge_map_tqp_to_vport()
1783 vport->vport_id = i; in hclge_alloc_vport()
3424 ret = hclge_set_vf_rst(hdev, vport->vport_id, reset); in hclge_set_all_vf_rst()
3428 vport->vport_id, ret); in hclge_set_all_vf_rst()
3443 vport->vport_id, ret); in hclge_set_all_vf_rst()
4154 vport->vport_id * in hclge_get_vector()
4156 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector()
4742 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
4762 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
4846 hclge_promisc_param_init(struct hclge_promisc_param *param, bool en_uc, bool en_mc, bool en_bc, int vport_id) hclge_promisc_param_init() argument
8549 hclge_set_vlan_filter_hw(struct hclge_dev *hdev, __be16 proto, u16 vport_id, u16 vlan_id, bool is_kill) hclge_set_vlan_filter_hw() argument
[all...]
/kernel/linux/linux-6.6/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 in hclge_vf_keep_alive()
[all...]
H A Dhclge_main.c1721 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport()
1722 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, in hclge_map_tqp_to_vport()
1804 vport->vport_id = i; in hclge_alloc_vport()
3820 ret = hclge_set_vf_rst(hdev, vport->vport_id, reset); in hclge_set_all_vf_rst()
3824 vport->vport_id - HCLGE_VF_VPORT_START_NUM, in hclge_set_all_vf_rst()
3848 vport->vport_id - HCLGE_VF_VPORT_START_NUM, in hclge_set_all_vf_rst()
4677 hdev->vector_status[idx] = hdev->vport[0].vport_id; in hclge_get_vector_info()
4930 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
4957 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
5060 return hclge_cmd_set_promisc_mode(vport->back, vport->vport_id, in hclge_set_vport_promisc_mode()
6410 hclge_fd_parse_ring_cookie(struct hclge_dev *hdev, u64 ring_cookie, u16 *vport_id, u8 *action, u16 *queue_id) hclge_fd_parse_ring_cookie() argument
9653 hclge_need_update_port_vlan(struct hclge_dev *hdev, u16 vport_id, u16 vlan_id, bool is_kill) hclge_need_update_port_vlan() argument
9679 hclge_set_vlan_filter_hw(struct hclge_dev *hdev, __be16 proto, u16 vport_id, u16 vlan_id, bool is_kill) hclge_set_vlan_filter_hw() argument
[all...]
H A Dhclge_tm.c626 vport->vport_id, shap_cfg_cmd->qs_id, in hclge_tm_qs_shaper_cfg()
683 * one tc for VF for simplicity. VF's vport_id is non zero. in hclge_tm_update_kinfo_rss_size()
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()
[all...]
/kernel/linux/linux-6.6/include/linux/net/intel/
H A Diidc.h46 u16 vport_id; /* VSI index */ member
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c1706 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local
1719 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb()
1720 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb()
1721 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb()
1722 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb()
1723 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb()
1724 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb()
1726 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()

Completed in 59 milliseconds

1234