Lines Matching refs:vcfg
8562 struct hclge_tx_vtag_cfg *vcfg = &vport->txvlan_cfg; in hclge_set_vlan_tx_offload_cfg() local
8572 req->def_vlan_tag1 = cpu_to_le16(vcfg->default_tag1); in hclge_set_vlan_tx_offload_cfg()
8573 req->def_vlan_tag2 = cpu_to_le16(vcfg->default_tag2); in hclge_set_vlan_tx_offload_cfg()
8575 vcfg->accept_tag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()
8577 vcfg->accept_untag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()
8579 vcfg->accept_tag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()
8581 vcfg->accept_untag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()
8583 vcfg->insert_tag1_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()
8585 vcfg->insert_tag2_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg()
8605 struct hclge_rx_vtag_cfg *vcfg = &vport->rxvlan_cfg; in hclge_set_vlan_rx_offload_cfg() local
8616 vcfg->strip_tag1_en ? 1 : 0); in hclge_set_vlan_rx_offload_cfg()
8618 vcfg->strip_tag2_en ? 1 : 0); in hclge_set_vlan_rx_offload_cfg()
8620 vcfg->vlan1_vlan_prionly ? 1 : 0); in hclge_set_vlan_rx_offload_cfg()
8622 vcfg->vlan2_vlan_prionly ? 1 : 0); in hclge_set_vlan_rx_offload_cfg()