Searched refs:vcfg (Results 1 – 3 of 3) sorted by relevance
195 struct dpsw_vlan_cfg vcfg = {0}; in dpaa2_switch_add_vlan() local198 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_add_vlan()200 ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_add_vlan()289 struct dpsw_vlan_if_cfg vcfg = {0}; in dpaa2_switch_port_add_vlan() local300 vcfg.num_ifs = 1; in dpaa2_switch_port_add_vlan()301 vcfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_add_vlan()302 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_port_add_vlan()303 vcfg.options |= DPSW_VLAN_ADD_IF_OPT_FDB_ID; in dpaa2_switch_port_add_vlan()304 err = dpsw_vlan_add_if(ethsw->mc_io, 0, ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_port_add_vlan()315 vid, &vcfg); in dpaa2_switch_port_add_vlan()[all …]
2024 struct vxge_hw_vp_config *vcfg; in vxge_open_vpaths() local2025 vcfg = &vdev->devh->config.vp_config[vpath->device_id]; in vxge_open_vpaths()2027 vcfg->rti.urange_a = RTI_T1A_RX_URANGE_A; in vxge_open_vpaths()2028 vcfg->rti.urange_b = RTI_T1A_RX_URANGE_B; in vxge_open_vpaths()2029 vcfg->rti.urange_c = RTI_T1A_RX_URANGE_C; in vxge_open_vpaths()2030 vcfg->tti.uec_a = TTI_T1A_TX_UFC_A; in vxge_open_vpaths()2031 vcfg->tti.uec_b = TTI_T1A_TX_UFC_B; in vxge_open_vpaths()2032 vcfg->tti.uec_c = TTI_T1A_TX_UFC_C(vdev->mtu); in vxge_open_vpaths()2033 vcfg->tti.uec_d = TTI_T1A_TX_UFC_D(vdev->mtu); in vxge_open_vpaths()2034 vcfg->tti.ltimer_val = VXGE_T1A_TTI_LTIMER_VAL; in vxge_open_vpaths()[all …]
9839 struct hclge_tx_vtag_cfg *vcfg = &vport->txvlan_cfg; in hclge_set_vlan_tx_offload_cfg() local9849 req->def_vlan_tag1 = cpu_to_le16(vcfg->default_tag1); in hclge_set_vlan_tx_offload_cfg()9850 req->def_vlan_tag2 = cpu_to_le16(vcfg->default_tag2); in hclge_set_vlan_tx_offload_cfg()9852 vcfg->accept_tag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()9854 vcfg->accept_untag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()9856 vcfg->accept_tag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()9858 vcfg->accept_untag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()9860 vcfg->insert_tag1_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()9862 vcfg->insert_tag2_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()9864 vcfg->tag_shift_mode_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()[all …]