Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/
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()
/linux/drivers/net/ethernet/aquantia/atlantic/
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()
/linux/drivers/net/ethernet/sfc/falcon/
A Dethtool.c938 rule->flow_type |= FLOW_EXT; in ef4_ethtool_get_class_rule()
1048 if ((rule->flow_type & FLOW_EXT) && in ef4_ethtool_set_class_rule()
1058 switch (rule->flow_type & ~FLOW_EXT) { in ef4_ethtool_set_class_rule()
1064 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in ef4_ethtool_set_class_rule()
1099 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V6_FLOW ? in ef4_ethtool_set_class_rule()
1209 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in ef4_ethtool_set_class_rule()
/linux/drivers/net/ethernet/intel/ice/
A Dice_ethtool_fdir.c318 int flow = (int)flow_type & ~FLOW_EXT; in ice_fdir_rem_flow()
412 if (!(fsp->flow_type & FLOW_EXT)) in ice_parse_rx_flow_user_data()
1078 switch (fsp->flow_type & ~FLOW_EXT) { in ice_cfg_fdir_xtrct_seq()
1139 fltr_idx = ice_ethtool_flow_to_fltr(fsp->flow_type & ~FLOW_EXT); in ice_cfg_fdir_xtrct_seq()
1508 flow_type = fsp->flow_type & ~FLOW_EXT; in ice_set_fdir_input_set()
1516 if (fsp->flow_type & FLOW_EXT) { in ice_set_fdir_input_set()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
A Dethtool.c223 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in mlx5i_flow_type_mask()
/linux/drivers/net/ethernet/intel/igc/
A Digc_ethtool.c969 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
987 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
1204 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule()
1230 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule()
1236 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_init_nfc_rule()
1307 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) { in igc_ethtool_add_nfc_rule()
/linux/drivers/net/ethernet/sfc/
A Dethtool_common.c796 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/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs_ethtool.c42 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/drivers/net/ethernet/intel/iavf/
A Diavf_ethtool.c993 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data()
1039 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data()
1254 if (fsp->flow_type & FLOW_EXT) { in iavf_add_fdir_fltr_info()
1261 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in iavf_add_fdir_fltr_info()
/linux/drivers/net/ethernet/freescale/
A Dgianfar_ethtool.c1076 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer()
1099 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer()
1201 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_flows.c776 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_prepare_flow_request()
821 if (fsp->flow_type & FLOW_EXT) { in otx2_prepare_flow_request()
884 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_is_flow_rule_dmacfilter()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_ethtool.c1358 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow()
1397 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow()
1426 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule()
1580 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c3146 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3189 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3369 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry()
4009 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str()
4177 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4229 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4404 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set()
4755 input->flow_type = fsp->flow_type & ~FLOW_EXT; in i40e_add_fdir_ethtool()
A Di40e_txrx.c599 switch (input->flow_type & ~FLOW_EXT) { in i40e_add_del_fdir()
/linux/drivers/net/ethernet/qlogic/qede/
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()
1981 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
/linux/include/uapi/linux/
A Dethtool.h1902 #define FLOW_EXT 0x80000000 macro
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-ethtool.c524 if (fs->flow_type & FLOW_EXT) { in dpaa2_eth_prep_cls_rule()
/linux/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c613 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/net/ethtool/
A Dioctl.c3117 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3248 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3265 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
/linux/drivers/net/ethernet/intel/igb/
A Digb_ethtool.c2458 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/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ethtool.c2558 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry()
2726 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type()
2840 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c6324 if (fs->flow_type & FLOW_EXT) { in hclge_fd_check_ext_tuple()
6399 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_parse_user_def_field()
6406 if (!(fs->flow_type & FLOW_EXT) || hclge_fd_is_user_def_all_masked(fs)) in hclge_fd_parse_user_def_field()
6469 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_check_spec()
6669 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_get_tuple()
6703 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_tuple()
7145 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_ext_info()
7192 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_get_fd_rule_info()
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_cls.c550 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in mvpp2_cls_ethtool_flow_to_type()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ethtool.c1692 fs->flow_type |= FLOW_EXT; in cxgb4_fill_filter_rule()
/linux/drivers/net/dsa/mv88e6xxx/
A Dchip.c1907 switch (fs->flow_type & ~FLOW_EXT) { in mv88e6xxx_policy_insert()
1926 if ((fs->flow_type & FLOW_EXT) && fs->m_ext.vlan_tci) { in mv88e6xxx_policy_insert()

Completed in 125 milliseconds