Home
last modified time | relevance | path

Searched refs:FLOW_EXT (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/drivers/net/dsa/
H A Dbcm_sf2_cfp.c364 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()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c14 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()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c944 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()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c984 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
990 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
1008 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
1225 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule()
1252 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule()
1258 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_init_nfc_rule()
1337 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) { in igc_ethtool_add_nfc_rule()
1351 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_add_nfc_rule()
1360 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_add_nfc_rule()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c393 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()
1284 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dethtool.c238 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in mlx5i_flow_type_mask()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c58 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()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c797 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule()
928 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule()
945 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule()
1113 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c797 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()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c392 if ((fs->flow_type & FLOW_EXT) && in bcmasp_netfilt_wr_to_hw()
405 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_netfilt_wr_to_hw()
599 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_netfilt_check_dup()
622 if (cur->flow_type & FLOW_EXT) { in bcmasp_netfilt_check_dup()
H A Dbcmasp_ethtool.c238 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmasp_flow_insert()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1000 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data()
1046 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data()
1261 if (fsp->flow_type & FLOW_EXT) { in iavf_add_fdir_fltr_info()
1268 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in iavf_add_fdir_fltr_info()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1082 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer()
1105 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer()
1207 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c823 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_prepare_flow_request()
868 if (fsp->flow_type & FLOW_EXT) { in otx2_prepare_flow_request()
951 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_is_flow_rule_dmacfilter()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1362 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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3262 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3305 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3485 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry()
4138 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str()
4306 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4358 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4525 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set()
4876 input->flow_type = fsp->flow_type & ~FLOW_EXT; in i40e_add_fdir_ethtool()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1508 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()
1984 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
/openbmc/linux/include/uapi/linux/
H A Dethtool.h2015 #define FLOW_EXT 0x80000000 macro
/openbmc/qemu/include/standard-headers/linux/
H A Dethtool.h2129 #define FLOW_EXT 0x80000000 macro
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c556 if (fs->flow_type & FLOW_EXT) { in dpaa2_eth_prep_cls_rule()
/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c595 if (fs->flow_type & FLOW_EXT) { in bcmgenet_hfb_create_rxnfc_filter()
611 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmgenet_hfb_create_rxnfc_filter()
1376 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmgenet_validate_flow()
1406 if ((cmd->fs.flow_type & FLOW_EXT)) { in bcmgenet_validate_flow()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2463 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry()
2927 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igb_add_ethtool_nfc_entry()
2953 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
/openbmc/linux/net/ethtool/
H A Dioctl.c3169 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3300 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3317 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2591 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry()
2768 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type()
2882 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c556 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in mvpp2_cls_ethtool_flow_to_type()

12