Home
last modified time | relevance | path

Searched refs:FLOW_RSS (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/drivers/net/ethernet/sfc/
H A Dethtool_common.c796 rule->flow_type |= FLOW_RSS; in efx_ethtool_get_class_rule()
820 if (info->flow_type & FLOW_RSS && info->rss_context) { in efx_ethtool_get_rxnfc()
832 switch (info->flow_type & ~FLOW_RSS) { in efx_ethtool_get_rxnfc()
879 if (info->fs.flow_type & FLOW_RSS) in efx_ethtool_get_rxnfc()
921 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule()
945 if (rule->flow_type & FLOW_RSS) in efx_ethtool_set_class_rule()
952 if (rule->flow_type & FLOW_RSS) in efx_ethtool_set_class_rule()
/linux-6.15/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c797 rule->flow_type |= FLOW_RSS; in efx_ethtool_get_class_rule()
868 if (info->fs.flow_type & FLOW_RSS) in efx_siena_ethtool_get_rxnfc()
910 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); in efx_ethtool_set_class_rule()
934 if (rule->flow_type & FLOW_RSS) in efx_ethtool_set_class_rule()
941 if (rule->flow_type & FLOW_RSS) in efx_ethtool_set_class_rule()
/linux-6.15/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()
427 if (fs->flow_type & FLOW_RSS) { in flow_get_tirn()
906 if (nfc->flow_type & FLOW_RSS) in mlx5e_set_rss_hash_opt()
952 if (nfc->flow_type & FLOW_RSS) in mlx5e_get_rss_hash_opt()
/linux-6.15/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()
/linux-6.15/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1334 switch (entry->flow_type & ~FLOW_RSS) { in nfp_net_fs_to_ethtool()
1391 if (fs->flow_type & FLOW_RSS) { in nfp_net_fs_to_ethtool()
1518 switch (fs->flow_type & ~FLOW_RSS) { in nfp_net_fs_from_ethtool()
1571 switch (fs->flow_type & ~FLOW_RSS) { in nfp_net_fs_from_ethtool()
1602 !((new->flow_type ^ entry->flow_type) & ~FLOW_RSS) && in nfp_net_fs_check_existing()
1623 if ((fs->flow_type & FLOW_RSS) && cmd->rss_context) in nfp_net_fs_add()
1634 switch (fs->flow_type & ~FLOW_RSS) { in nfp_net_fs_add()
H A Dnfp_net_common.c1848 else if (!(entry->flow_type & FLOW_RSS)) in nfp_net_fs_fill_act()
1863 switch (entry->flow_type & ~FLOW_RSS) { in nfp_net_fs_add_hw()
1904 switch (entry->flow_type & ~FLOW_RSS) { in nfp_net_fs_del_hw()
/linux-6.15/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c340 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in fbnic_get_rss_hash_idx()
598 fsp->flow_type |= FLOW_RSS; in fbnic_get_cls_rule()
720 } else if (fsp->flow_type & FLOW_RSS) { in fbnic_set_cls_rule_ins()
743 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_RSS); in fbnic_set_cls_rule_ins()
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c831 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_prepare_flow_request()
959 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in otx2_is_flow_rule_dmacfilter()
1008 if (flow->flow_spec.flow_type & FLOW_RSS) { in otx2_add_flow_msg()
1144 if (fsp->flow_type & FLOW_RSS) in otx2_add_flow()
/linux-6.15/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()
1379 if (info->fs.flow_type & FLOW_RSS) in mvpp2_ethtool_cls_rule_ins()
1567 if (!(rxnfc->fs.flow_type & FLOW_RSS) || in mvpp22_port_rss_ctx_delete()
/linux-6.15/drivers/net/ethernet/google/gve/
H A Dgve_flow_rule.c131 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in gve_generate_flow_rule()
/linux-6.15/net/ethtool/
H A Dcommon.c648 if (rule_info.flow_type & FLOW_RSS) { in ethtool_get_max_rxnfc_channel()
795 if (rule_info.fs.flow_type & FLOW_RSS && in ethtool_check_rss_ctx_busy()
H A Dioctl.c937 if ((cmd == ETHTOOL_GRXFH || cmd == ETHTOOL_SRXFH) && info->flow_type & FLOW_RSS) { in ethtool_rxnfc_copy_struct()
944 if (!(info->flow_type & FLOW_RSS)) in ethtool_rxnfc_copy_struct()
996 if (cmd == ETHTOOL_SRXCLSRLINS && info.fs.flow_type & FLOW_RSS) { in ethtool_set_rxnfc()
3486 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3617 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { in ethtool_rx_flow_rule_create()
3693 if (fs->flow_type & FLOW_RSS) in ethtool_rx_flow_rule_create()
/linux-6.15/include/uapi/linux/
H A Dethtool.h2368 #define FLOW_RSS 0x20000000 macro
/linux-6.15/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1129 flow_type = fsp->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS); in iavf_add_fdir_fltr_info()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1215 fs->flow_type |= FLOW_RSS; in bnxt_grxclsrule()
1462 if (fs->flow_type & FLOW_RSS) { in bnxt_add_ntuple_cls_rule()