Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/dsa/
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()
910 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_insert()
944 if ((fs->flow_type & FLOW_EXT) && in bcm_sf2_cfp_rule_set()
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c69 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in get_flow_table()
332 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in set_flow_attrs()
360 if ((fs->flow_type & FLOW_EXT) && in set_flow_attrs()
621 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in validate_flow()
654 if ((fs->flow_type & FLOW_EXT)) { in validate_flow()
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dethtool.c934 rule->flow_type |= FLOW_EXT; in ef4_ethtool_get_class_rule()
1044 if ((rule->flow_type & FLOW_EXT) && in ef4_ethtool_set_class_rule()
1054 switch (rule->flow_type & ~FLOW_EXT) { in ef4_ethtool_set_class_rule()
1060 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in ef4_ethtool_set_class_rule()
1095 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V6_FLOW ? in ef4_ethtool_set_class_rule()
1205 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in ef4_ethtool_set_class_rule()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
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-v5.10/drivers/net/ethernet/sfc/
Dethtool_common.c802 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule()
933 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule()
950 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule()
1118 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1072 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer()
1095 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer()
1197 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c960 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
1189 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule()
1273 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) { in igc_ethtool_add_nfc_rule()
1278 if ((fsp->flow_type & FLOW_EXT) && in igc_ethtool_add_nfc_rule()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1351 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow()
1390 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow()
1419 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule()
1573 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1517 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused()
1523 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused()
1990 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3103 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3146 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3915 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str()
4070 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4105 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4530 input->flow_type = fsp->flow_type & ~FLOW_EXT; in i40e_add_fdir_ethtool()
Di40e_txrx.c475 switch (input->flow_type & ~FLOW_EXT) { in i40e_add_del_fdir()
/Linux-v5.10/include/uapi/linux/
Dethtool.h1831 #define FLOW_EXT 0x80000000 macro
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c524 if (fs->flow_type & FLOW_EXT) { in dpaa2_eth_prep_cls_rule()
/Linux-v5.10/drivers/net/ethernet/broadcom/genet/
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()
1350 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in bcmgenet_validate_flow()
1380 if ((cmd->fs.flow_type & FLOW_EXT)) { in bcmgenet_validate_flow()
/Linux-v5.10/net/ethtool/
Dioctl.c2899 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3030 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3047 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2467 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry()
2931 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igb_add_ethtool_nfc_entry()
2957 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2567 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry()
2735 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type()
2849 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5481 if (fs->flow_type & FLOW_EXT) { in hclge_fd_check_ext_tuple()
5533 if ((fs->flow_type & FLOW_EXT) && in hclge_fd_check_spec()
5539 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_check_spec()
5661 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_get_tuple()
5797 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_tuple()
6179 if (fs->flow_type & FLOW_EXT) { in hclge_fd_get_ext_info()
6225 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_get_fd_rule_info()
/Linux-v5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c550 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in mvpp2_cls_ethtool_flow_to_type()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1676 fs->flow_type |= FLOW_EXT; in cxgb4_fill_filter_rule()
/Linux-v5.10/drivers/net/dsa/mv88e6xxx/
Dchip.c1748 switch (fs->flow_type & ~FLOW_EXT) { in mv88e6xxx_policy_insert()
1767 if ((fs->flow_type & FLOW_EXT) && fs->m_ext.vlan_tci) { in mv88e6xxx_policy_insert()