Searched refs:h_ext (Results 1 – 7 of 7) sorted by relevance
23 struct ethtool_flow_ext h_ext; member
1131 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid()1141 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi()1151 return (be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_prio()
2383 fsp->h_ext.vlan_tci = rule->filter.formatted.vlan_id; in ixgbe_get_ethtool_fdir_entry()2385 fsp->h_ext.vlan_etype = rule->filter.formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry()2387 fsp->h_ext.data[1] = htonl(rule->filter.formatted.vm_pool); in ixgbe_get_ethtool_fdir_entry()2672 (unsigned char)ntohl(fsp->h_ext.data[1]); in ixgbe_add_ethtool_fdir_entry()2675 input->filter.formatted.vlan_id = fsp->h_ext.vlan_tci; in ixgbe_add_ethtool_fdir_entry()2678 fsp->h_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry()
798 struct ethtool_flow_ext h_ext; member
866 rule->h_ext.vlan_tci = spec.outer_vid; in efx_ethtool_get_class_rule()1048 spec.outer_vid = rule->h_ext.vlan_tci; in efx_ethtool_set_class_rule()
1288 if (be16_to_cpu(cmd->fs.h_ext.vlan_tci) >= VLAN_N_VID) in mlx4_en_validate_flow()1311 spec_l2->eth.vlan_id = cmd->fs.h_ext.vlan_tci; in mlx4_en_ethtool_add_mac_rule()1331 memcpy(&mac, cmd->fs.h_ext.h_dest, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule_by_ipv4()
2088 fsp->h_ext.data[1] = htonl(vsi->vf_id); in i40e_get_ethtool_fdir_entry()2448 if (ntohl(fsp->h_ext.data[1]) >= pf->num_alloc_vfs) { in i40e_add_fdir_ethtool()2452 vf_id = ntohl(fsp->h_ext.data[1]); in i40e_add_fdir_ethtool()