Home
last modified time | relevance | path

Searched refs:vlan_type (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x_rgmii.c112 etype = (port->vlan_type == SPX5_VLAN_PORT_TYPE_S_CUSTOM ? in lan969x_rgmii_port_device_config()
114 port->vlan_type == SPX5_VLAN_PORT_TYPE_C ? in lan969x_rgmii_port_device_config()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_fdir.h159 __be16 vlan_type; /* VLAN ethertype */ member
H A Dice_switch.h204 u16 vlan_type; member
H A Dice_fdir.c927 if (input->ext_data.vlan_tag || input->ext_data.vlan_type) { in ice_fdir_get_gen_prgm_pkt()
929 input->ext_data.vlan_type); in ice_fdir_get_gen_prgm_pkt()
H A Dice_switch.c5814 ice_fill_adv_packet_vlan(struct ice_hw *hw, u16 vlan_type, u8 *pkt, in ice_fill_adv_packet_vlan() argument
5820 if (!vlan_type || !ice_is_dvm_ena(hw)) in ice_fill_adv_packet_vlan()
5832 hdr->type = cpu_to_be16(vlan_type); in ice_fill_adv_packet_vlan()
5846 first->vlan_type == second->vlan_type && in ice_rules_equal()
6226 status = ice_fill_adv_packet_vlan(hw, rinfo->vlan_type, in ice_add_adv_rule()
H A Dice_ethtool_fdir.c1883 input->ext_data.vlan_type = fsp->h_ext.vlan_etype; in ice_set_fdir_input_set()
1887 input->ext_mask.vlan_type = fsp->m_ext.vlan_etype; in ice_set_fdir_input_set()
H A Dice_tc_lib.c385 rule_info->vlan_type = vlan_tpid; in ice_tc_fill_rules()
464 rule_info->vlan_type = in ice_tc_fill_rules()
/linux-6.15/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c573 enum sparx5_vlan_port_type vlan_type = port->vlan_type; in sparx5_port_max_tags_set() local
581 etype = (vlan_type == SPX5_VLAN_PORT_TYPE_S_CUSTOM ? in sparx5_port_max_tags_set()
583 vlan_type == SPX5_VLAN_PORT_TYPE_C ? in sparx5_port_max_tags_set()
H A Dsparx5_main.h229 enum sparx5_vlan_port_type vlan_type; member
H A Dsparx5_main.c337 spx5_port->vlan_type = SPX5_VLAN_PORT_TYPE_UNAWARE; in sparx5_create_port()
/linux-6.15/net/8021q/
H A Dvlan_dev.c516 static const struct device_type vlan_type = { variable
585 SET_NETDEV_DEVTYPE(dev, &vlan_type); in vlan_dev_init()
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c2791 u8 vlan_type, u8 vf_id, in hclge_get_vlan_filter_config_cmd() argument
2799 req->vlan_type = vlan_type; in hclge_get_vlan_filter_config_cmd()
2811 static int hclge_get_vlan_filter_state(struct hclge_dev *hdev, u8 vlan_type, in hclge_get_vlan_filter_state() argument
2818 ret = hclge_get_vlan_filter_config_cmd(hdev, vlan_type, vf_id, &desc); in hclge_get_vlan_filter_state()
H A Dhclge_cmd.h458 u8 vlan_type; member
H A Dhclge_main.c9483 static int hclge_set_vlan_filter_ctrl(struct hclge_dev *hdev, u8 vlan_type, in hclge_set_vlan_filter_ctrl() argument
9493 req->vlan_type = vlan_type; in hclge_set_vlan_filter_ctrl()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v0.c601 u16 vlan_type; in dr_ste_v0_set_action_decap_l3_list() local
665 vlan_type = hdr_fld_2b == SVLAN_ETHERTYPE ? DR_STE_SVLAN : DR_STE_CVLAN; in dr_ste_v0_set_action_decap_l3_list()
667 hdr_fld_4b = (vlan_type << 16) | hdr_fld_2b; in dr_ste_v0_set_action_decap_l3_list()
689 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, vlan_type); in dr_ste_v0_set_action_decap_l3_list()
H A Dmlx5_ifc_dr.h544 u8 vlan_type[0x10]; member