Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c14 switch (fsp->flow_type & ~FLOW_EXT) { in aq_rule_is_approve()
184 if (fsp->flow_type & FLOW_EXT) { in aq_check_filter()
196 switch (fsp->flow_type & ~FLOW_EXT) { in aq_check_filter()
241 } else if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW && in aq_rule_is_not_support()
585 if (aq_rx_fltr->aq_fsp.flow_type & FLOW_EXT) { in aq_add_del_rule()
596 switch (aq_rx_fltr->aq_fsp.flow_type & ~FLOW_EXT) { in aq_add_del_rule()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c68 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in get_flow_table()
329 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in set_flow_attrs()
357 if ((fs->flow_type & FLOW_EXT) && in set_flow_attrs()
618 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in validate_flow()
651 if ((fs->flow_type & FLOW_EXT)) { in validate_flow()
/Linux-v5.4/drivers/net/dsa/
Dbcm_sf2_cfp.c350 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set()
575 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_cmp()
613 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv6_rule_set()
854 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_rule_insert()
881 if ((fs->flow_type & FLOW_EXT) && (fs->m_ext.vlan_etype || in bcm_sf2_cfp_rule_set()
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dethtool.c937 rule->flow_type |= FLOW_EXT; in ef4_ethtool_get_class_rule()
1047 if ((rule->flow_type & FLOW_EXT) && in ef4_ethtool_set_class_rule()
1057 switch (rule->flow_type & ~FLOW_EXT) { in ef4_ethtool_set_class_rule()
1063 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in ef4_ethtool_set_class_rule()
1098 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V6_FLOW ? in ef4_ethtool_set_class_rule()
1208 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in ef4_ethtool_set_class_rule()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dethtool.c960 rule->flow_type |= FLOW_EXT; in efx_ethtool_get_class_rule()
1088 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule()
1105 if ((rule->flow_type & FLOW_EXT) && in efx_ethtool_set_class_rule()
1273 if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { in efx_ethtool_set_class_rule()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1105 if ((rule->flow_type & FLOW_EXT) && in gfar_convert_to_filer()
1128 switch (rule->flow_type & ~FLOW_EXT) { in gfar_convert_to_filer()
1230 if (flow->flow_type & FLOW_EXT) { in gfar_check_capability()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1334 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_validate_flow()
1373 if ((cmd->fs.flow_type & FLOW_EXT)) { in mlx4_en_validate_flow()
1403 if ((cmd->fs.flow_type & FLOW_EXT) && in mlx4_en_ethtool_add_mac_rule()
1557 switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in mlx4_en_ethtool_to_net_trans_rule()
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_ethtool.c903 fsp->flow_type |= FLOW_EXT; in igc_get_ethtool_nfc_entry()
1375 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igc_add_ethtool_nfc_entry()
1401 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_add_ethtool_nfc_entry()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1590 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused()
1596 if ((fs->flow_type & FLOW_EXT) && in qede_flow_spec_validate_unused()
2059 switch ((fs->flow_type & ~FLOW_EXT)) { in qede_flow_spec_to_rule()
/Linux-v5.4/include/uapi/linux/
Dethtool.h1705 #define FLOW_EXT 0x80000000 macro
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3099 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3142 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3911 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_flow_str()
4066 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4101 switch (fsp->flow_type & ~FLOW_EXT) { in i40e_check_fdir_input_set()
4526 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.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c478 if (fs->flow_type & FLOW_EXT) { in prep_cls_rule()
/Linux-v5.4/net/core/
Dethtool.c2893 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3024 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3040 if (fs->flow_type & FLOW_EXT) { in ethtool_rx_flow_rule_create()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2476 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry()
2940 if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) in igb_add_ethtool_nfc_entry()
2966 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2468 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry()
2636 switch (fsp->flow_type & ~FLOW_EXT) { in ixgbe_flowspec_to_flow_type()
2750 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5147 if ((fs->flow_type & FLOW_EXT) && in hclge_fd_check_spec()
5153 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_fd_check_spec()
5271 if ((fs->flow_type & FLOW_EXT)) { in hclge_fd_check_spec()
5370 u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); in hclge_fd_get_tuple()
5506 if ((fs->flow_type & FLOW_EXT)) { in hclge_fd_get_tuple()
5793 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in hclge_get_fd_rule_info()
5937 if (fs->flow_type & FLOW_EXT) { in hclge_get_fd_rule_info()
/Linux-v5.4/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.4/drivers/net/dsa/mv88e6xxx/
Dchip.c1596 switch (fs->flow_type & ~FLOW_EXT) { in mv88e6xxx_policy_insert()
1615 if ((fs->flow_type & FLOW_EXT) && fs->m_ext.vlan_tci) { in mv88e6xxx_policy_insert()