Searched refs:vcfg (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/ |
H A D | ethsw.c | 31 struct dpsw_vlan_cfg vcfg = { in dpaa2_switch_add_vlan() local 36 ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_add_vlan() 125 struct dpsw_vlan_if_cfg vcfg; in dpaa2_switch_port_add_vlan() local 133 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() local 1106 vcfg.num_ifs = 1; in dpaa2_switch_port_del_vlan() 1107 vcfg in dpaa2_switch_port_del_vlan() 1587 struct dpsw_vlan_if_cfg vcfg; dpaa2_switch_port_init() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 194 struct dpsw_vlan_cfg vcfg = {0}; in dpaa2_switch_add_vlan() local 197 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_add_vlan() 199 ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_add_vlan() 288 struct dpsw_vlan_if_cfg vcfg = {0}; in dpaa2_switch_port_add_vlan() local 299 vcfg.num_ifs = 1; in dpaa2_switch_port_add_vlan() 300 vcfg.if_id[0] = port_priv->idx; in dpaa2_switch_port_add_vlan() 301 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_port_add_vlan() 302 vcfg.options |= DPSW_VLAN_ADD_IF_OPT_FDB_ID; in dpaa2_switch_port_add_vlan() 303 err = dpsw_vlan_add_if(ethsw->mc_io, 0, ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_port_add_vlan() 314 vid, &vcfg); in dpaa2_switch_port_add_vlan() 1879 struct dpsw_vlan_if_cfg vcfg; dpaa2_switch_port_del_vlan() local 2960 struct dpsw_vlan_if_cfg vcfg = {0}; dpaa2_switch_init() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-main.c | 2035 struct vxge_hw_vp_config *vcfg; in vxge_open_vpaths() local 2036 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 in vxge_open_vpaths() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 8600 struct hclge_tx_vtag_cfg *vcfg = &vport->txvlan_cfg; in hclge_set_vlan_tx_offload_cfg() local 8610 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 in hclge_set_vlan_rx_offload_cfg() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 9715 struct hclge_tx_vtag_cfg *vcfg = &vport->txvlan_cfg; in hclge_set_vlan_tx_offload_cfg() local 9725 req->def_vlan_tag1 = cpu_to_le16(vcfg->default_tag1); in hclge_set_vlan_tx_offload_cfg() 9726 req->def_vlan_tag2 = cpu_to_le16(vcfg->default_tag2); in hclge_set_vlan_tx_offload_cfg() 9728 vcfg->accept_tag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg() 9730 vcfg->accept_untag1 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg() 9732 vcfg->accept_tag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg() 9734 vcfg->accept_untag2 ? 1 : 0); in hclge_set_vlan_tx_offload_cfg() 9736 vcfg->insert_tag1_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg() 9738 vcfg->insert_tag2_en ? 1 : 0); in hclge_set_vlan_tx_offload_cfg() 9740 vcfg in hclge_set_vlan_tx_offload_cfg() 9760 struct hclge_rx_vtag_cfg *vcfg = &vport->rxvlan_cfg; hclge_set_vlan_rx_offload_cfg() local [all...] |
Completed in 33 milliseconds