Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_fdir.h154 __be16 vlan_type; /* VLAN ethertype */ member
H A Dice_switch.h201 u16 vlan_type; member
H A Dice_switch.c5827 ice_fill_adv_packet_vlan(struct ice_hw *hw, u16 vlan_type, u8 *pkt, in ice_fill_adv_packet_vlan() argument
5833 if (!vlan_type || !ice_is_dvm_ena(hw)) in ice_fill_adv_packet_vlan()
5845 hdr->type = cpu_to_be16(vlan_type); in ice_fill_adv_packet_vlan()
5859 first->vlan_type == second->vlan_type && in ice_rules_equal()
6229 status = ice_fill_adv_packet_vlan(hw, rinfo->vlan_type, in ice_add_adv_rule()
H A Dice_ethtool_fdir.c1749 input->ext_data.vlan_type = fsp->h_ext.vlan_etype; in ice_set_fdir_input_set()
1753 input->ext_mask.vlan_type = fsp->m_ext.vlan_etype; in ice_set_fdir_input_set()
H A Dice_tc_lib.c363 rule_info->vlan_type = vlan_tpid; in ice_tc_fill_rules()
439 rule_info->vlan_type = in ice_tc_fill_rules()
/openbmc/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.h186 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c2146 u8 vlan_type, u8 vf_id, in hclge_get_vlan_filter_config_cmd() argument
2154 req->vlan_type = vlan_type; in hclge_get_vlan_filter_config_cmd()
2166 static int hclge_get_vlan_filter_state(struct hclge_dev *hdev, u8 vlan_type, in hclge_get_vlan_filter_state() argument
2173 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.c9388 static int hclge_set_vlan_filter_ctrl(struct hclge_dev *hdev, u8 vlan_type, in hclge_set_vlan_filter_ctrl() argument
9398 req->vlan_type = vlan_type; in hclge_set_vlan_filter_ctrl()
/openbmc/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()
/openbmc/linux/net/8021q/
H A Dvlan_dev.c562 static struct device_type vlan_type = { variable
628 SET_NETDEV_DEVTYPE(dev, &vlan_type); in vlan_dev_init()