| /linux/drivers/net/dsa/ |
| H A 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/drivers/net/ethernet/aquantia/atlantic/ |
| H A 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/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 938 rule->flow_type |= FLOW_EXT; in ef4_ethtool_get_class_rule() 1059 if ((rule->flow_type & FLOW_EXT) && in ef4_ethtool_set_class_rule() 1069 switch (rule->flow_type & ~FLOW_EXT) { in ef4_ethtool_set_class_rule() 1075 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in ef4_ethtool_set_class_rule() 1110 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V6_FLOW ? in ef4_ethtool_set_class_rule() 1220 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in ef4_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_ethtool.c | 161 fsp->flow_type |= FLOW_EXT; in txgbe_get_ethtool_fdir_entry() 231 switch (fsp->flow_type & ~FLOW_EXT) { in txgbe_flowspec_to_flow_type() 425 if (fsp->flow_type & FLOW_EXT) { in txgbe_add_ethtool_fdir_entry()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 986 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 992 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 1010 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 1233 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule() 1260 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule() 1266 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_init_nfc_rule() 1363 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) { in igc_ethtool_add_nfc_rule() 1377 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_add_nfc_rule() 1386 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_add_nfc_rule()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool_fdir.c | 398 int flow = (int)flow_type & ~FLOW_EXT; in ice_fdir_rem_flow() 491 if (!(fsp->flow_type & FLOW_EXT)) in ice_parse_rx_flow_user_data() 1350 switch (fsp->flow_type & ~FLOW_EXT) { in ice_cfg_fdir_xtrct_seq() 1420 fltr_idx = ice_ethtool_flow_to_fltr(fsp->flow_type & ~FLOW_EXT); in ice_cfg_fdir_xtrct_seq() 1867 flow_type = fsp->flow_type & ~FLOW_EXT; in ice_set_fdir_input_set() 1880 if (fsp->flow_type & FLOW_EXT) { in ice_set_fdir_input_set()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ethtool_common.c | 791 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule() 916 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule() 933 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule() 1101 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ethtool_common.c | 790 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule() 925 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule() 942 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule() 1110 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp.c | 409 if ((fs->flow_type & FLOW_EXT) && in bcmasp_netfilt_wr_to_hw() 422 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_netfilt_wr_to_hw() 616 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_netfilt_check_dup() 639 if (cur->flow_type & FLOW_EXT) { in bcmasp_netfilt_check_dup()
|
| H A D | bcmasp_ethtool.c | 240 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_flow_insert()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_fs_ethtool.c | 58 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in flow_type_mask() 381 if ((fs->flow_type & FLOW_EXT) && in set_flow_attrs() 709 if ((fs->flow_type & FLOW_EXT)) { in validate_flow()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A D | ethtool.c | 238 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in mlx5i_flow_type_mask()
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 857 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data() 902 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data() 1120 if (fsp->flow_type & FLOW_EXT) { in iavf_add_fdir_fltr_info() 1127 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in iavf_add_fdir_fltr_info()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar_ethtool.c | 1096 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer() 1119 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer() 1221 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 1343 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow() 1382 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow() 1411 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule() 1565 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 831 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_prepare_flow_request() 876 if (fsp->flow_type & FLOW_EXT) { in otx2_prepare_flow_request() 959 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_is_flow_rule_dmacfilter()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ethtool.c | 3259 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data() 3302 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data() 3483 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry() 4144 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str() 4312 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4364 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set() 4531 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set() 4882 input->flow_type = fsp->flow_type & ~FLOW_EXT; in i40e_add_fdir_ethtool()
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_flow_rule.c | 131 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in gve_generate_flow_rule()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1505 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 1511 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused() 2003 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
|
| /linux/include/uapi/linux/ |
| H A D | ethtool.h | 2388 #define FLOW_EXT 0x80000000 macro
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-ethtool.c | 551 if (fs->flow_type & FLOW_EXT) { in dpaa2_eth_prep_cls_rule()
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet.c | 614 if (fs->flow_type & FLOW_EXT) { in bcmgenet_hfb_create_rxnfc_filter() 630 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmgenet_hfb_create_rxnfc_filter() 1437 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmgenet_validate_flow() 1467 if ((cmd->fs.flow_type & FLOW_EXT)) { in bcmgenet_validate_flow()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 576 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in fbnic_get_rss_hash_idx() 930 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_RSS); in fbnic_set_cls_rule_ins()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 2452 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2919 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igb_add_ethtool_nfc_entry() 2945 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
|
| /linux/net/ethtool/ |
| H A D | ioctl.c | 3647 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3778 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create() 3795 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
|