| /Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_filters.c | 14 switch (fsp->flow_type & ~FLOW_EXT) { in aq_rule_is_approve() 184 if (fsp->flow_type & FLOW_EXT) { in aq_check_filter() 196 switch (fsp->flow_type & ~FLOW_EXT) { in aq_check_filter() 241 } else if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW && in aq_rule_is_not_support() 585 if (aq_rx_fltr->aq_fsp.flow_type & FLOW_EXT) { in aq_add_del_rule() 596 switch (aq_rx_fltr->aq_fsp.flow_type & ~FLOW_EXT) { in aq_add_del_rule()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_fs_ethtool.c | 68 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in get_flow_table() 329 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in set_flow_attrs() 357 if ((fs->flow_type & FLOW_EXT) && in set_flow_attrs() 618 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in validate_flow() 651 if ((fs->flow_type & FLOW_EXT)) { in validate_flow()
|
| /Linux-v5.4/drivers/net/dsa/ |
| D | bcm_sf2_cfp.c | 350 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 575 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_cmp() 613 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv6_rule_set() 854 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_insert() 881 if ((fs->flow_type & FLOW_EXT) && (fs->m_ext.vlan_etype || in bcm_sf2_cfp_rule_set()
|
| /Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
| D | ethtool.c | 937 rule->flow_type |= FLOW_EXT; in ef4_ethtool_get_class_rule() 1047 if ((rule->flow_type & FLOW_EXT) && in ef4_ethtool_set_class_rule() 1057 switch (rule->flow_type & ~FLOW_EXT) { in ef4_ethtool_set_class_rule() 1063 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in ef4_ethtool_set_class_rule() 1098 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V6_FLOW ? in ef4_ethtool_set_class_rule() 1208 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in ef4_ethtool_set_class_rule()
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | ethtool.c | 960 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule() 1088 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule() 1105 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule() 1273 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/ |
| D | gianfar_ethtool.c | 1105 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer() 1128 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer() 1230 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_ethtool.c | 1334 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow() 1373 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow() 1403 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule() 1557 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
|
| /Linux-v5.4/drivers/net/ethernet/intel/igc/ |
| D | igc_ethtool.c | 903 fsp->flow_type |= FLOW_EXT; in igc_get_ethtool_nfc_entry() 1375 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igc_add_ethtool_nfc_entry() 1401 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_add_ethtool_nfc_entry()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
| D | qede_filter.c | 1590 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 1596 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 2059 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | ethtool.h | 1705 #define FLOW_EXT 0x80000000 macro
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 3099 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data() 3142 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data() 3911 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str() 4066 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4101 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4526 input->flow_type = fsp->flow_type & ~FLOW_EXT; in i40e_add_fdir_ethtool()
|
| D | i40e_txrx.c | 475 switch (input->flow_type & ~FLOW_EXT) { in i40e_add_del_fdir()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-ethtool.c | 478 if (fs->flow_type & FLOW_EXT) { in prep_cls_rule()
|
| /Linux-v5.4/net/core/ |
| D | ethtool.c | 2893 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3024 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3040 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
|
| /Linux-v5.4/drivers/net/ethernet/intel/igb/ |
| D | igb_ethtool.c | 2476 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2940 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igb_add_ethtool_nfc_entry() 2966 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_ethtool.c | 2468 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry() 2636 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type() 2750 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
|
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_main.c | 5147 if ((fs->flow_type & FLOW_EXT) && in hclge_fd_check_spec() 5153 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_fd_check_spec() 5271 if ((fs->flow_type & FLOW_EXT)) { in hclge_fd_check_spec() 5370 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_get_tuple() 5506 if ((fs->flow_type & FLOW_EXT)) { in hclge_fd_get_tuple() 5793 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_get_fd_rule_info() 5937 if (fs->flow_type & FLOW_EXT) { in hclge_get_fd_rule_info()
|
| /Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/ |
| D | mvpp2_cls.c | 550 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in mvpp2_cls_ethtool_flow_to_type()
|
| /Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
| D | chip.c | 1596 switch (fs->flow_type & ~FLOW_EXT) { in mv88e6xxx_policy_insert() 1615 if ((fs->flow_type & FLOW_EXT) && fs->m_ext.vlan_tci) { in mv88e6xxx_policy_insert()
|