Searched refs:m_ext (Results 1 – 12 of 12) sorted by relevance
1106 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm()1116 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim()1127 return (be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_priom()1143 (rule->m_ext.vlan_tci != cpu_to_be16(0xFFFF))) { in gfar_convert_to_filer()1144 if (!rule->m_ext.vlan_tci) in gfar_convert_to_filer()1145 rule->m_ext.vlan_tci = cpu_to_be16(0xFFFF); in gfar_convert_to_filer()1270 if (~flow->m_ext.data[0] || ~flow->m_ext.data[1]) in gfar_check_capability()1273 if (~flow->m_ext.vlan_etype) in gfar_check_capability()1332 flow->m_ext.vlan_etype ^= cpu_to_be16(0xFFFF); in gfar_invert_masks()1333 flow->m_ext.vlan_tci ^= cpu_to_be16(0xFFFF); in gfar_invert_masks()[all …]
356 (fs->m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) in set_flow_attrs()360 !is_zero_ether_addr(fs->m_ext.h_dest)) { in set_flow_attrs()361 mask_spec(fs->m_ext.h_dest, fs->h_ext.h_dest, ETH_ALEN); in set_flow_attrs()362 set_dmac(outer_headers_c, outer_headers_v, fs->m_ext.h_dest, in set_flow_attrs()607 if (fs->m_ext.vlan_etype || in validate_vlan()608 fs->m_ext.vlan_tci != cpu_to_be16(VLAN_VID_MASK)) in validate_vlan()611 if (fs->m_ext.vlan_tci && in validate_vlan()672 !is_zero_ether_addr(fs->m_ext.h_dest)) in validate_flow()
352 ip_frag = be32_to_cpu(fs->m_ext.data[0]); in bcm_sf2_cfp_ipv4_rule_set()546 ip_frag = be32_to_cpu(fs->m_ext.data[0]); in bcm_sf2_cfp_ipv6_rule_set()741 if ((fs->flow_type & FLOW_EXT) && (fs->m_ext.vlan_etype || in bcm_sf2_cfp_rule_set()742 fs->m_ext.data[1])) in bcm_sf2_cfp_rule_set()864 flow->m_ext.vlan_etype ^= cpu_to_be16(~0); in bcm_sf2_invert_masks()865 flow->m_ext.vlan_tci ^= cpu_to_be16(~0); in bcm_sf2_invert_masks()866 flow->m_ext.data[0] ^= cpu_to_be32(~0); in bcm_sf2_invert_masks()867 flow->m_ext.data[1] ^= cpu_to_be32(~0); in bcm_sf2_invert_masks()962 fs->m_ext.data[0] = cpu_to_be32((reg >> IP_FRAG_SHIFT) & 1); in bcm_sf2_cfp_ipv4_rule_get()
942 rule->m_ext.vlan_tci = htons(0xfff); in ef4_ethtool_get_class_rule()1051 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in ef4_ethtool_set_class_rule()1052 rule->m_ext.data[1])) in ef4_ethtool_set_class_rule()1211 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in ef4_ethtool_set_class_rule()1212 if (rule->m_ext.vlan_tci != htons(0xfff)) in ef4_ethtool_set_class_rule()
965 rule->m_ext.vlan_tci = htons(0xfff); in efx_ethtool_get_class_rule()1109 (rule->m_ext.vlan_etype || rule->m_ext.data[0] || in efx_ethtool_set_class_rule()1110 rule->m_ext.data[1])) in efx_ethtool_set_class_rule()1276 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()1277 if (rule->m_ext.vlan_tci != htons(0xfff)) in efx_ethtool_set_class_rule()
27 struct ethtool_flow_ext m_ext; member
1330 if (!is_broadcast_ether_addr(cmd->fs.m_ext.h_dest)) in mlx4_en_validate_flow()1374 if (cmd->fs.m_ext.vlan_etype || in mlx4_en_validate_flow()1375 !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()1377 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()1381 if (cmd->fs.m_ext.vlan_tci) { in mlx4_en_validate_flow()1404 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { in mlx4_en_ethtool_add_mac_rule()
2862 BUILD_BUG_ON(offsetof(struct compat_ethtool_rxnfc, fs.m_ext) + in ethtool_ioctl()2863 sizeof(compat_rxnfc->fs.m_ext) != in ethtool_ioctl()2864 offsetof(struct ethtool_rxnfc, fs.m_ext) + in ethtool_ioctl()2865 sizeof(rxnfc->fs.m_ext)); in ethtool_ioctl()2873 (void __user *)(&rxnfc->fs.m_ext + 1) - in ethtool_ioctl()2895 (const void __user *)(&rxnfc->fs.m_ext + 1) - in ethtool_ioctl()
2460 fsp->m_ext.vlan_tci = mask->formatted.vlan_id; in ixgbe_get_ethtool_fdir_entry()2462 fsp->m_ext.vlan_etype = mask->formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry()2464 fsp->m_ext.data[1] = htonl(mask->formatted.vm_pool); in ixgbe_get_ethtool_fdir_entry()2751 (unsigned char)ntohl(fsp->m_ext.data[1]); in ixgbe_add_ethtool_fdir_entry()2753 mask.formatted.vlan_id = fsp->m_ext.vlan_tci; in ixgbe_add_ethtool_fdir_entry()2756 mask.formatted.flex_bytes = fsp->m_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry()
884 struct ethtool_flow_ext m_ext; member
2475 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igb_get_ethtool_nfc_entry()2963 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()2964 if (fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) { in igb_add_ethtool_nfc_entry()
2761 mask = be64_to_cpu(*((__be64 *)fsp->m_ext.data)); in i40e_parse_rx_flow_user_data()2803 *((__be64 *)fsp->m_ext.data) = cpu_to_be64(mask); in i40e_fill_rx_flow_user_data()