/linux-5.19.10/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 364 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 378 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 600 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_cmp() 616 if (rule->fs.flow_type & FLOW_EXT) { in bcm_sf2_cfp_rule_cmp() 644 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv6_rule_set() 658 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_ipv6_rule_set() 881 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_rule_insert() 907 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_insert() 941 if ((fs->flow_type & FLOW_EXT) && in bcm_sf2_cfp_rule_set()
|
/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 14 switch (fsp->flow_type & ~FLOW_EXT) { in aq_rule_is_approve() 191 if (fsp->flow_type & FLOW_EXT) { in aq_check_filter() 203 switch (fsp->flow_type & ~FLOW_EXT) { in aq_check_filter() 248 } else if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW && in aq_rule_is_not_support() 593 if (aq_rx_fltr->aq_fsp.flow_type & FLOW_EXT) { in aq_add_del_rule() 604 switch (aq_rx_fltr->aq_fsp.flow_type & ~FLOW_EXT) { in aq_add_del_rule()
|
/linux-5.19.10/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 944 rule->flow_type |= FLOW_EXT; in ef4_ethtool_get_class_rule() 1054 if ((rule->flow_type & FLOW_EXT) && in ef4_ethtool_set_class_rule() 1064 switch (rule->flow_type & ~FLOW_EXT) { in ef4_ethtool_set_class_rule() 1070 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in ef4_ethtool_set_class_rule() 1105 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V6_FLOW ? in ef4_ethtool_set_class_rule() 1215 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in ef4_ethtool_set_class_rule()
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 393 int flow = (int)flow_type & ~FLOW_EXT; in ice_fdir_rem_flow() 487 if (!(fsp->flow_type & FLOW_EXT)) in ice_parse_rx_flow_user_data() 1224 switch (fsp->flow_type & ~FLOW_EXT) { in ice_cfg_fdir_xtrct_seq() 1285 fltr_idx = ice_ethtool_flow_to_fltr(fsp->flow_type & ~FLOW_EXT); in ice_cfg_fdir_xtrct_seq() 1733 flow_type = fsp->flow_type & ~FLOW_EXT; in ice_set_fdir_input_set() 1746 if (fsp->flow_type & FLOW_EXT) { in ice_set_fdir_input_set()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ethtool.c | 226 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in mlx5i_flow_type_mask()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 42 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in flow_type_mask() 368 if ((fs->flow_type & FLOW_EXT) && in set_flow_attrs() 702 if ((fs->flow_type & FLOW_EXT)) { in validate_flow()
|
/linux-5.19.10/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 796 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule() 927 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule() 944 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule() 1112 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
|
/linux-5.19.10/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.c | 797 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule() 929 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule() 946 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule() 1114 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
|
/linux-5.19.10/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 975 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 993 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 1210 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule() 1236 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule() 1242 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_init_nfc_rule() 1313 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) { in igc_ethtool_add_nfc_rule()
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 1001 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data() 1047 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data() 1262 if (fsp->flow_type & FLOW_EXT) { in iavf_add_fdir_fltr_info() 1269 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in iavf_add_fdir_fltr_info()
|
/linux-5.19.10/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1080 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer() 1103 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer() 1205 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
|
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_flows.c | 778 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_prepare_flow_request() 823 if (fsp->flow_type & FLOW_EXT) { in otx2_prepare_flow_request() 886 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_is_flow_rule_dmacfilter()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1362 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow() 1401 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow() 1430 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule() 1584 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 3165 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data() 3208 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data() 3388 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry() 4028 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str() 4196 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4248 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4423 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set() 4774 input->flow_type = fsp->flow_type & ~FLOW_EXT; in i40e_add_fdir_ethtool()
|
D | i40e_txrx.c | 600 switch (input->flow_type & ~FLOW_EXT) { in i40e_add_del_fdir()
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1508 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 1514 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 1981 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
|
/linux-5.19.10/include/uapi/linux/ |
D | ethtool.h | 1904 #define FLOW_EXT 0x80000000 macro
|
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 526 if (fs->flow_type & FLOW_EXT) { in dpaa2_eth_prep_cls_rule()
|
/linux-5.19.10/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 613 if (fs->flow_type & FLOW_EXT) { in bcmgenet_hfb_create_rxnfc_filter() 629 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmgenet_hfb_create_rxnfc_filter() 1396 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmgenet_validate_flow() 1426 if ((cmd->fs.flow_type & FLOW_EXT)) { in bcmgenet_validate_flow()
|
/linux-5.19.10/net/ethtool/ |
D | ioctl.c | 3127 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3258 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3275 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
|
/linux-5.19.10/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2458 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2922 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igb_add_ethtool_nfc_entry() 2948 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2564 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry() 2732 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type() 2846 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
|
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 5839 if (fs->flow_type & FLOW_EXT) { in hclge_fd_check_ext_tuple() 5914 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_parse_user_def_field() 5921 if (!(fs->flow_type & FLOW_EXT) || hclge_fd_is_user_def_all_masked(fs)) in hclge_fd_parse_user_def_field() 5984 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_check_spec() 6184 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_get_tuple() 6218 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_tuple() 6660 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_ext_info() 6732 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_get_fd_rule_info()
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 1696 fs->flow_type |= FLOW_EXT; in cxgb4_fill_filter_rule()
|