Home
last modified time | relevance | path

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

/linux/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.c5813 ice_fill_adv_packet_vlan(struct ice_hw *hw, u16 vlan_type, u8 *pkt, in ice_fill_adv_packet_vlan() argument
5819 if (!vlan_type || !ice_is_dvm_ena(hw)) in ice_fill_adv_packet_vlan()
5831 hdr->type = cpu_to_be16(vlan_type); in ice_fill_adv_packet_vlan()
5845 first->vlan_type == second->vlan_type && in ice_rules_equal()
6225 status = ice_fill_adv_packet_vlan(hw, rinfo->vlan_type, in ice_add_adv_rule()
H A Dice_ethtool_fdir.c1886 input->ext_data.vlan_type = fsp->h_ext.vlan_etype; in ice_set_fdir_input_set()
1890 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/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c559 enum sparx5_vlan_port_type vlan_type = port->vlan_type; in sparx5_port_max_tags_set() local
566 etype = (vlan_type == SPX5_VLAN_PORT_TYPE_S_CUSTOM ? in sparx5_port_max_tags_set()
568 vlan_type == SPX5_VLAN_PORT_TYPE_C ? in sparx5_port_max_tags_set()
H A Dsparx5_main.h165 enum sparx5_vlan_port_type vlan_type; member
H A Dsparx5_main.c280 spx5_port->vlan_type = SPX5_VLAN_PORT_TYPE_UNAWARE; in sparx5_create_port()
/linux/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.c9467 static int hclge_set_vlan_filter_ctrl(struct hclge_dev *hdev, u8 vlan_type, in hclge_set_vlan_filter_ctrl() argument
9477 req->vlan_type = vlan_type; in hclge_set_vlan_filter_ctrl()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dmlx5_ifc_dr.h544 u8 vlan_type[0x10]; member
H A Ddr_ste_v0.c599 u16 vlan_type; in dr_ste_v0_set_action_decap_l3_list() local
663 vlan_type = hdr_fld_2b == SVLAN_ETHERTYPE ? DR_STE_SVLAN : DR_STE_CVLAN; in dr_ste_v0_set_action_decap_l3_list()
665 hdr_fld_4b = (vlan_type << 16) | hdr_fld_2b; in dr_ste_v0_set_action_decap_l3_list()
687 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, vlan_type); in dr_ste_v0_set_action_decap_l3_list()
/linux/net/8021q/
H A Dvlan_dev.c540 static const struct device_type vlan_type = { variable
609 SET_NETDEV_DEVTYPE(dev, &vlan_type); in vlan_dev_init()