Searched refs:vcfg (Results 1 – 3 of 3) sorted by relevance
31 struct dpsw_vlan_cfg vcfg = { in dpaa2_switch_add_vlan() local36 ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_add_vlan()125 struct dpsw_vlan_if_cfg vcfg; in dpaa2_switch_port_add_vlan() local133 vcfg.num_ifs = 1; in dpaa2_switch_port_add_vlan()134 vcfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_add_vlan()135 err = dpsw_vlan_add_if(ethsw->mc_io, 0, ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_port_add_vlan()146 vid, &vcfg); in dpaa2_switch_port_add_vlan()1094 struct dpsw_vlan_if_cfg vcfg; in dpaa2_switch_port_del_vlan() local1106 vcfg.num_ifs = 1; in dpaa2_switch_port_del_vlan()1107 vcfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_del_vlan()[all …]
2035 struct vxge_hw_vp_config *vcfg; in vxge_open_vpaths() local2036 vcfg = &vdev->devh->config.vp_config[vpath->device_id]; in vxge_open_vpaths()2038 vcfg->rti.urange_a = RTI_T1A_RX_URANGE_A; in vxge_open_vpaths()2039 vcfg->rti.urange_b = RTI_T1A_RX_URANGE_B; in vxge_open_vpaths()2040 vcfg->rti.urange_c = RTI_T1A_RX_URANGE_C; in vxge_open_vpaths()2041 vcfg->tti.uec_a = TTI_T1A_TX_UFC_A; in vxge_open_vpaths()2042 vcfg->tti.uec_b = TTI_T1A_TX_UFC_B; in vxge_open_vpaths()2043 vcfg->tti.uec_c = TTI_T1A_TX_UFC_C(vdev->mtu); in vxge_open_vpaths()2044 vcfg->tti.uec_d = TTI_T1A_TX_UFC_D(vdev->mtu); in vxge_open_vpaths()2045 vcfg->tti.ltimer_val = VXGE_T1A_TTI_LTIMER_VAL; in vxge_open_vpaths()[all …]
8600 struct hclge_tx_vtag_cfg *vcfg = &vport->txvlan_cfg; in hclge_set_vlan_tx_offload_cfg() local8610 req->def_vlan_tag1 = cpu_to_le16(vcfg->default_tag1); in hclge_set_vlan_tx_offload_cfg()8611 req->def_vlan_tag2 = cpu_to_le16(vcfg->default_tag2); in hclge_set_vlan_tx_offload_cfg()8613 vcfg->accept_tag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()8615 vcfg->accept_untag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()8617 vcfg->accept_tag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()8619 vcfg->accept_untag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()8621 vcfg->insert_tag1_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()8623 vcfg->insert_tag2_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()8643 struct hclge_rx_vtag_cfg *vcfg = &vport->rxvlan_cfg; in hclge_set_vlan_rx_offload_cfg() local[all …]