Searched refs:vcfg (Results 1 – 3 of 3) sorted by relevance
33 struct dpsw_vlan_cfg vcfg = { in ethsw_add_vlan() local38 ethsw->dpsw_handle, vid, &vcfg); in ethsw_add_vlan()108 struct dpsw_vlan_if_cfg vcfg; in ethsw_port_add_vlan() local116 vcfg.num_ifs = 1; in ethsw_port_add_vlan()117 vcfg.if_id[0] = port_priv->idx; in ethsw_port_add_vlan()118 err = dpsw_vlan_add_if(ethsw->mc_io, 0, ethsw->dpsw_handle, vid, &vcfg); in ethsw_port_add_vlan()129 vid, &vcfg); in ethsw_port_add_vlan()985 struct dpsw_vlan_if_cfg vcfg; in ethsw_port_del_vlan() local997 vcfg.num_ifs = 1; in ethsw_port_del_vlan()998 vcfg.if_id[0] = port_priv->idx; in ethsw_port_del_vlan()[all …]
2033 struct vxge_hw_vp_config *vcfg; in vxge_open_vpaths() local2034 vcfg = &vdev->devh->config.vp_config[vpath->device_id]; in vxge_open_vpaths()2036 vcfg->rti.urange_a = RTI_T1A_RX_URANGE_A; in vxge_open_vpaths()2037 vcfg->rti.urange_b = RTI_T1A_RX_URANGE_B; in vxge_open_vpaths()2038 vcfg->rti.urange_c = RTI_T1A_RX_URANGE_C; in vxge_open_vpaths()2039 vcfg->tti.uec_a = TTI_T1A_TX_UFC_A; in vxge_open_vpaths()2040 vcfg->tti.uec_b = TTI_T1A_TX_UFC_B; in vxge_open_vpaths()2041 vcfg->tti.uec_c = TTI_T1A_TX_UFC_C(vdev->mtu); in vxge_open_vpaths()2042 vcfg->tti.uec_d = TTI_T1A_TX_UFC_D(vdev->mtu); in vxge_open_vpaths()2043 vcfg->tti.ltimer_val = VXGE_T1A_TTI_LTIMER_VAL; in vxge_open_vpaths()[all …]
7771 struct hclge_tx_vtag_cfg *vcfg = &vport->txvlan_cfg; in hclge_set_vlan_tx_offload_cfg() local7781 req->def_vlan_tag1 = cpu_to_le16(vcfg->default_tag1); in hclge_set_vlan_tx_offload_cfg()7782 req->def_vlan_tag2 = cpu_to_le16(vcfg->default_tag2); in hclge_set_vlan_tx_offload_cfg()7784 vcfg->accept_tag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()7786 vcfg->accept_untag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()7788 vcfg->accept_tag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()7790 vcfg->accept_untag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()7792 vcfg->insert_tag1_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()7794 vcfg->insert_tag2_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()7814 struct hclge_rx_vtag_cfg *vcfg = &vport->rxvlan_cfg; in hclge_set_vlan_rx_offload_cfg() local[all …]