Searched refs:repr (Results 1 – 7 of 7) sorted by relevance
115 repr->dcf_eth_dev->data->dev_private; in ice_dcf_vf_repr_hw()245 if (!ice_dcf_vlan_offload_ena(repr)) in ice_dcf_vf_repr_vlan_offload_set()271 vlan_offload.vf_id = repr->vf_id; in ice_dcf_vf_repr_vlan_offload_set()296 if (!ice_dcf_vlan_offload_ena(repr)) in ice_dcf_vf_repr_vlan_pvid_set()319 vlan_offload.vf_id = repr->vf_id; in ice_dcf_vf_repr_vlan_pvid_set()329 repr->outer_vlan_info.vid = pvid; in ice_dcf_vf_repr_vlan_pvid_set()345 if (!ice_dcf_vlan_offload_ena(repr)) in ice_dcf_vf_repr_vlan_tpid_set()362 repr->outer_vlan_info.tpid = tpid; in ice_dcf_vf_repr_vlan_tpid_set()366 repr->outer_vlan_info.vid, in ice_dcf_vf_repr_vlan_tpid_set()416 repr->vf_id = param->vf_id; in ice_dcf_vf_repr_init()[all …]
49 struct sfc_mae_switch_port_repr_data repr; member
944 switch_port_request.port_data.repr.intf = repr_data->intf; in sfc_repr_eth_dev_init()945 switch_port_request.port_data.repr.pf = repr_data->pf; in sfc_repr_eth_dev_init()946 switch_port_request.port_data.repr.vf = repr_data->vf; in sfc_repr_eth_dev_init()
2023 req.port_data.repr.intf = mport->emd_vnic.ev_intf; in sfc_process_mport_journal_entry()2024 req.port_data.repr.pf = mport->emd_vnic.ev_pf; in sfc_process_mport_journal_entry()2025 req.port_data.repr.vf = mport->emd_vnic.ev_vf; in sfc_process_mport_journal_entry()2200 port_datap->repr.intf, in sfc_get_representors_cb()2204 port_datap->repr.intf); in sfc_get_representors_cb()2207 range->pf = port_datap->repr.pf; in sfc_get_representors_cb()2211 if (port_datap->repr.vf != EFX_PCI_VF_INVALID) { in sfc_get_representors_cb()2213 range->vf = port_datap->repr.vf; in sfc_get_representors_cb()
399 uint16_t repr = info->port_name; in mlx5_representor_id_encode() local407 repr = UINT16_MAX; in mlx5_representor_id_encode()409 return MLX5_REPRESENTOR_ID(info->pf_num, type, repr); in mlx5_representor_id_encode()
1637 #define MLX5_REPRESENTOR_ID(pf, type, repr) \ argument1638 (((pf) << 14) + ((type) << 12) + ((repr) & 0xfff))
386 uint16_t repr = MLX5_REPRESENTOR_REPR(priv->representor_id); in mlx5_is_hpf() local390 MLX5_REPRESENTOR_REPR(-1) == repr; in mlx5_is_hpf()