m_ext 881 drivers/net/dsa/bcm_sf2_cfp.c if ((fs->flow_type & FLOW_EXT) && (fs->m_ext.vlan_etype || m_ext 882 drivers/net/dsa/bcm_sf2_cfp.c fs->m_ext.data[1])) m_ext 1002 drivers/net/dsa/bcm_sf2_cfp.c flow->m_ext.vlan_etype ^= cpu_to_be16(~0); m_ext 1003 drivers/net/dsa/bcm_sf2_cfp.c flow->m_ext.vlan_tci ^= cpu_to_be16(~0); m_ext 1004 drivers/net/dsa/bcm_sf2_cfp.c flow->m_ext.data[0] ^= cpu_to_be32(~0); m_ext 1005 drivers/net/dsa/bcm_sf2_cfp.c flow->m_ext.data[1] ^= cpu_to_be32(~0); m_ext 1615 drivers/net/dsa/mv88e6xxx/chip.c if ((fs->flow_type & FLOW_EXT) && fs->m_ext.vlan_tci) { m_ext 1616 drivers/net/dsa/mv88e6xxx/chip.c if (fs->m_ext.vlan_tci != 0xffff) m_ext 60 drivers/net/ethernet/aquantia/atlantic/aq_filters.c memcmp(&fsp1->m_ext, &fsp2->m_ext, sizeof(fsp2->m_ext))) m_ext 136 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (be16_to_cpu(fsp->m_ext.vlan_tci) == VLAN_PRIO_MASK && m_ext 185 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (be16_to_cpu(fsp->m_ext.vlan_tci) == VLAN_VID_MASK) { m_ext 187 drivers/net/ethernet/aquantia/atlantic/aq_filters.c } else if (be16_to_cpu(fsp->m_ext.vlan_tci) == VLAN_PRIO_MASK) { m_ext 192 drivers/net/ethernet/aquantia/atlantic/aq_filters.c be16_to_cpu(fsp->m_ext.vlan_tci)); m_ext 316 drivers/net/ethernet/aquantia/atlantic/aq_filters.c data->user_priority_en = be16_to_cpu(fsp->m_ext.vlan_tci) m_ext 586 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (be16_to_cpu(aq_rx_fltr->aq_fsp.m_ext.vlan_tci) m_ext 590 drivers/net/ethernet/aquantia/atlantic/aq_filters.c } else if (be16_to_cpu(aq_rx_fltr->aq_fsp.m_ext.vlan_tci) m_ext 479 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = prep_ext_rule(&fs->h_ext, &fs->m_ext, key, mask, fields); m_ext 485 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = prep_mac_ext_rule(&fs->h_ext, &fs->m_ext, key, mask, m_ext 1069 drivers/net/ethernet/freescale/gianfar_ethtool.c return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; m_ext 1079 drivers/net/ethernet/freescale/gianfar_ethtool.c return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; m_ext 1090 drivers/net/ethernet/freescale/gianfar_ethtool.c return (be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_PRIO_MASK) >> m_ext 1106 drivers/net/ethernet/freescale/gianfar_ethtool.c (rule->m_ext.vlan_tci != cpu_to_be16(0xFFFF))) { m_ext 1107 drivers/net/ethernet/freescale/gianfar_ethtool.c if (!rule->m_ext.vlan_tci) m_ext 1108 drivers/net/ethernet/freescale/gianfar_ethtool.c rule->m_ext.vlan_tci = cpu_to_be16(0xFFFF); m_ext 1231 drivers/net/ethernet/freescale/gianfar_ethtool.c if (~flow->m_ext.data[0] || ~flow->m_ext.data[1]) m_ext 1234 drivers/net/ethernet/freescale/gianfar_ethtool.c if (~flow->m_ext.vlan_etype) m_ext 1293 drivers/net/ethernet/freescale/gianfar_ethtool.c flow->m_ext.vlan_etype ^= cpu_to_be16(0xFFFF); m_ext 1294 drivers/net/ethernet/freescale/gianfar_ethtool.c flow->m_ext.vlan_tci ^= cpu_to_be16(0xFFFF); m_ext 1295 drivers/net/ethernet/freescale/gianfar_ethtool.c flow->m_ext.data[0] ^= cpu_to_be32(~0); m_ext 1296 drivers/net/ethernet/freescale/gianfar_ethtool.c flow->m_ext.data[1] ^= cpu_to_be32(~0); m_ext 5279 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fs->m_ext.vlan_tci) { m_ext 5510 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->tuples_mask.vlan_tag1 = be16_to_cpu(fs->m_ext.vlan_tci); m_ext 5515 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ether_addr_copy(rule->tuples_mask.dst_mac, fs->m_ext.h_dest); m_ext 5941 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->m_ext.vlan_tci = m_ext 3103 drivers/net/ethernet/intel/i40e/i40e_ethtool.c mask = be64_to_cpu(*((__be64 *)fsp->m_ext.data)); m_ext 3145 drivers/net/ethernet/intel/i40e/i40e_ethtool.c *((__be64 *)fsp->m_ext.data) = cpu_to_be64(mask); m_ext 2478 drivers/net/ethernet/intel/igb/igb_ethtool.c fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); m_ext 2966 drivers/net/ethernet/intel/igb/igb_ethtool.c if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { m_ext 2967 drivers/net/ethernet/intel/igb/igb_ethtool.c if (fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) { m_ext 905 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); m_ext 1401 drivers/net/ethernet/intel/igc/igc_ethtool.c if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { m_ext 1402 drivers/net/ethernet/intel/igc/igc_ethtool.c if (fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) { m_ext 2463 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->m_ext.vlan_tci = mask->formatted.vlan_id; m_ext 2465 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->m_ext.vlan_etype = mask->formatted.flex_bytes; m_ext 2467 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->m_ext.data[1] = htonl(mask->formatted.vm_pool); m_ext 2754 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c (unsigned char)ntohl(fsp->m_ext.data[1]); m_ext 2756 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c mask.formatted.vlan_id = fsp->m_ext.vlan_tci; m_ext 2759 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c mask.formatted.flex_bytes = fsp->m_ext.vlan_etype; m_ext 1330 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (!is_broadcast_ether_addr(cmd->fs.m_ext.h_dest)) m_ext 1374 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (cmd->fs.m_ext.vlan_etype || m_ext 1375 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == m_ext 1377 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == m_ext 1381 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (cmd->fs.m_ext.vlan_tci) { m_ext 1404 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { m_ext 358 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c (fs->m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) m_ext 362 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c !is_zero_ether_addr(fs->m_ext.h_dest)) { m_ext 363 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c mask_spec(fs->m_ext.h_dest, fs->h_ext.h_dest, ETH_ALEN); m_ext 364 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_dmac(outer_headers_c, outer_headers_v, fs->m_ext.h_dest, m_ext 593 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (fs->m_ext.vlan_etype || m_ext 594 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c fs->m_ext.vlan_tci != cpu_to_be16(VLAN_VID_MASK)) m_ext 597 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (fs->m_ext.vlan_tci && m_ext 659 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c !is_zero_ether_addr(fs->m_ext.h_dest)) m_ext 962 drivers/net/ethernet/sfc/ethtool.c rule->m_ext.vlan_tci = htons(0xfff); m_ext 1106 drivers/net/ethernet/sfc/ethtool.c (rule->m_ext.vlan_etype || rule->m_ext.data[0] || m_ext 1107 drivers/net/ethernet/sfc/ethtool.c rule->m_ext.data[1])) m_ext 1273 drivers/net/ethernet/sfc/ethtool.c if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { m_ext 1274 drivers/net/ethernet/sfc/ethtool.c if (rule->m_ext.vlan_tci != htons(0xfff)) m_ext 939 drivers/net/ethernet/sfc/falcon/ethtool.c rule->m_ext.vlan_tci = htons(0xfff); m_ext 1048 drivers/net/ethernet/sfc/falcon/ethtool.c (rule->m_ext.vlan_etype || rule->m_ext.data[0] || m_ext 1049 drivers/net/ethernet/sfc/falcon/ethtool.c rule->m_ext.data[1])) m_ext 1208 drivers/net/ethernet/sfc/falcon/ethtool.c if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { m_ext 1209 drivers/net/ethernet/sfc/falcon/ethtool.c if (rule->m_ext.vlan_tci != htons(0xfff)) m_ext 27 include/linux/ethtool.h struct ethtool_flow_ext m_ext; m_ext 910 include/uapi/linux/ethtool.h struct ethtool_flow_ext m_ext; m_ext 3042 net/core/ethtool.c const struct ethtool_flow_ext *ext_m_spec = &fs->m_ext; m_ext 3076 net/core/ethtool.c const struct ethtool_flow_ext *ext_m_spec = &fs->m_ext; m_ext 3146 net/socket.c BUILD_BUG_ON(offsetof(struct compat_ethtool_rxnfc, fs.m_ext) + m_ext 3147 net/socket.c sizeof(compat_rxnfc->fs.m_ext) != m_ext 3148 net/socket.c offsetof(struct ethtool_rxnfc, fs.m_ext) + m_ext 3149 net/socket.c sizeof(rxnfc->fs.m_ext)); m_ext 3157 net/socket.c (void __user *)(&rxnfc->fs.m_ext + 1) - m_ext 3179 net/socket.c (const void __user *)(&rxnfc->fs.m_ext + 1) -