/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rss.c | 98 rss->hash.hfunc = ETH_RSS_HASH_TOP; in mlx5e_rss_params_init() 398 err = mlx5e_rqt_redirect_indir(&rss->rqt, rqns, num_rqns, rss->hash.hfunc, &rss->indir); in mlx5e_rss_apply() 471 int mlx5e_rss_get_rxfh(struct mlx5e_rss *rss, u32 *indir, u8 *key, u8 *hfunc) in mlx5e_rss_get_rxfh() argument 483 if (hfunc) in mlx5e_rss_get_rxfh() 484 *hfunc = rss->hash.hfunc; in mlx5e_rss_get_rxfh() 490 const u8 *key, const u8 *hfunc, in mlx5e_rss_set_rxfh() argument 504 if (hfunc && *hfunc != rss->hash.hfunc) { in mlx5e_rss_set_rxfh() 505 switch (*hfunc) { in mlx5e_rss_set_rxfh() 515 rss->hash.hfunc = *hfunc; in mlx5e_rss_set_rxfh() 519 if (rss->hash.hfunc == ETH_RSS_HASH_TOP) in mlx5e_rss_set_rxfh()
|
D | rqt.c | 67 u8 hfunc, struct mlx5e_rss_params_indir *indir) in mlx5e_calc_indir_rqns() argument 74 if (hfunc == ETH_RSS_HASH_XOR) in mlx5e_calc_indir_rqns() 92 u8 hfunc, struct mlx5e_rss_params_indir *indir) in mlx5e_rqt_init_indir() argument 101 err = mlx5e_calc_indir_rqns(rss_rqns, rqns, num_rqns, hfunc, indir); in mlx5e_rqt_init_indir() 149 u8 hfunc, struct mlx5e_rss_params_indir *indir) in mlx5e_rqt_redirect_indir() argument 161 err = mlx5e_calc_indir_rqns(rss_rqns, rqns, num_rqns, hfunc, indir); in mlx5e_rqt_redirect_indir()
|
D | rqt.h | 30 u8 hfunc, struct mlx5e_rss_params_indir *indir); 40 u8 hfunc, struct mlx5e_rss_params_indir *indir);
|
D | tir.c | 96 static int mlx5e_hfunc_to_hw(u8 hfunc) in mlx5e_hfunc_to_hw() argument 98 switch (hfunc) { in mlx5e_hfunc_to_hw() 119 MLX5_SET(tirc, tirc, rx_hash_fn, mlx5e_hfunc_to_hw(rss_hash->hfunc)); in mlx5e_tir_builder_build_rss() 120 if (rss_hash->hfunc == ETH_RSS_HASH_TOP) { in mlx5e_tir_builder_build_rss()
|
D | rss.h | 41 int mlx5e_rss_get_rxfh(struct mlx5e_rss *rss, u32 *indir, u8 *key, u8 *hfunc); 43 const u8 *key, const u8 *hfunc,
|
D | rx_res.h | 47 u32 *indir, u8 *key, u8 *hfunc); 49 const u32 *indir, const u8 *key, const u8 *hfunc);
|
D | tir.h | 10 u8 hfunc; member
|
D | rx_res.c | 192 u32 *indir, u8 *key, u8 *hfunc) in mlx5e_rx_res_rss_get_rxfh() argument 203 return mlx5e_rss_get_rxfh(rss, indir, key, hfunc); in mlx5e_rx_res_rss_get_rxfh() 207 const u32 *indir, const u8 *key, const u8 *hfunc) in mlx5e_rx_res_rss_set_rxfh() argument 218 return mlx5e_rss_set_rxfh(rss, indir, key, hfunc, res->rss_rqns, res->rss_nch); in mlx5e_rx_res_rss_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.h | 45 u8 *hfunc); 47 const u32 *indir, const u8 *key, const u8 hfunc); 49 u8 *key, u8 *hfunc, u32 rss_context); 52 const u8 hfunc, u32 *rss_context,
|
D | ethtool_common.c | 1168 u8 *hfunc) in efx_siena_ethtool_get_rxfh() argument 1177 if (hfunc) in efx_siena_ethtool_get_rxfh() 1178 *hfunc = ETH_RSS_HASH_TOP; in efx_siena_ethtool_get_rxfh() 1189 const u8 *key, const u8 hfunc) in efx_siena_ethtool_set_rxfh() argument 1194 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in efx_siena_ethtool_set_rxfh() 1208 u8 *key, u8 *hfunc, u32 rss_context) in efx_siena_ethtool_get_rxfh_context() argument 1227 if (hfunc) in efx_siena_ethtool_get_rxfh_context() 1228 *hfunc = ETH_RSS_HASH_TOP; in efx_siena_ethtool_get_rxfh_context() 1240 const u8 hfunc, u32 *rss_context, in efx_siena_ethtool_set_rxfh_context() argument 1251 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in efx_siena_ethtool_set_rxfh_context()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | ethtool_common.h | 50 u8 *hfunc); 52 const u32 *indir, const u8 *key, const u8 hfunc); 54 u8 *key, u8 *hfunc, u32 rss_context); 57 const u8 hfunc, u32 *rss_context,
|
D | ethtool_common.c | 1204 u8 *hfunc) in efx_ethtool_get_rxfh() argument 1213 if (hfunc) in efx_ethtool_get_rxfh() 1214 *hfunc = ETH_RSS_HASH_TOP; in efx_ethtool_get_rxfh() 1225 const u8 *key, const u8 hfunc) in efx_ethtool_set_rxfh() argument 1230 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in efx_ethtool_set_rxfh() 1244 u8 *key, u8 *hfunc, u32 rss_context) in efx_ethtool_get_rxfh_context() argument 1263 if (hfunc) in efx_ethtool_get_rxfh_context() 1264 *hfunc = ETH_RSS_HASH_TOP; in efx_ethtool_get_rxfh_context() 1276 const u8 hfunc, u32 *rss_context, in efx_ethtool_set_rxfh_context() argument 1287 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in efx_ethtool_set_rxfh_context()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
D | hclge_comm_rss.c | 119 const u8 hfunc) in hclge_comm_set_rss_hash_key() argument 124 ret = hclge_comm_parse_rss_hfunc(rss_cfg, hfunc, &hash_algo); in hclge_comm_set_rss_hash_key() 195 const u8 hfunc, u8 *hash_algo) in hclge_comm_parse_rss_hfunc() argument 197 switch (hfunc) { in hclge_comm_parse_rss_hfunc() 338 u8 *hfunc) in hclge_comm_get_rss_hash_info() argument 341 if (hfunc) { in hclge_comm_get_rss_hash_info() 344 *hfunc = ETH_RSS_HASH_TOP; in hclge_comm_get_rss_hash_info() 347 *hfunc = ETH_RSS_HASH_XOR; in hclge_comm_get_rss_hash_info() 350 *hfunc = ETH_RSS_HASH_UNKNOWN; in hclge_comm_get_rss_hash_info() 372 int hclge_comm_set_rss_algo_key(struct hclge_comm_hw *hw, const u8 hfunc, in hclge_comm_set_rss_algo_key() argument [all …]
|
D | hclge_comm_rss.h | 103 const u8 hfunc, u8 *hash_algo); 105 u8 *hfunc); 108 int hclge_comm_set_rss_algo_key(struct hclge_comm_hw *hw, const u8 hfunc, 129 const u8 hfunc);
|
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ |
D | mana_ethtool.c | 149 u8 *hfunc) in mana_get_rxfh() argument 154 if (hfunc) in mana_get_rxfh() 155 *hfunc = ETH_RSS_HASH_TOP; /* Toeplitz */ in mana_get_rxfh() 169 const u8 *key, const u8 hfunc) in mana_set_rxfh() argument 180 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in mana_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 572 u8 *hfunc) in enic_get_rxfh() argument 579 if (hfunc) in enic_get_rxfh() 580 *hfunc = ETH_RSS_HASH_TOP; in enic_get_rxfh() 586 const u8 *hkey, const u8 hfunc) in enic_set_rxfh() argument 590 if ((hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) || in enic_set_rxfh()
|
/linux-6.1.9/include/linux/ |
D | ethtool.h | 700 u8 *hfunc); 702 const u8 *key, const u8 hfunc); 704 u8 *hfunc, u32 rss_context); 706 const u8 *key, const u8 hfunc,
|
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 526 u8 *hfunc) in xgbe_get_rxfh() argument 540 if (hfunc) in xgbe_get_rxfh() 541 *hfunc = ETH_RSS_HASH_TOP; in xgbe_get_rxfh() 547 const u8 *key, const u8 hfunc) in xgbe_set_rxfh() argument 553 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) { in xgbe_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 824 const u8 *hkey, const u8 hfunc, in otx2_set_rxfh_context() argument 832 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in otx2_set_rxfh_context() 869 u8 *hkey, u8 *hfunc, u32 rss_context) in otx2_get_rxfh_context() argument 878 if (hfunc) in otx2_get_rxfh_context() 879 *hfunc = ETH_RSS_HASH_TOP; in otx2_get_rxfh_context() 909 u8 *hkey, u8 *hfunc) in otx2_get_rxfh() argument 911 return otx2_get_rxfh_context(dev, indir, hkey, hfunc, in otx2_get_rxfh() 917 const u8 *hkey, const u8 hfunc) in otx2_set_rxfh() argument 922 return otx2_set_rxfh_context(dev, indir, hkey, hfunc, &rss_context, 0); in otx2_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 451 u8 *hfunc) in aq_ethtool_get_rss() argument 459 if (hfunc) in aq_ethtool_get_rss() 460 *hfunc = ETH_RSS_HASH_TOP; /* Toeplitz */ in aq_ethtool_get_rss() 473 const u8 *key, const u8 hfunc) in aq_ethtool_set_rss() argument 485 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in aq_ethtool_set_rss()
|
/linux-6.1.9/drivers/net/ethernet/amazon/ena/ |
D | ena_ethtool.c | 750 u8 *hfunc) in ena_get_rxfh() argument 789 if (hfunc) in ena_get_rxfh() 790 *hfunc = func; in ena_get_rxfh() 796 const u8 *key, const u8 hfunc) in ena_set_rxfh() argument 809 switch (hfunc) { in ena_set_rxfh() 821 hfunc); in ena_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 657 u8 *hfunc) in nicvf_get_rxfh() argument 671 if (hfunc) in nicvf_get_rxfh() 672 *hfunc = ETH_RSS_HASH_TOP; in nicvf_get_rxfh() 678 const u8 *hkey, const u8 hfunc) in nicvf_set_rxfh() argument 684 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in nicvf_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/ |
D | funeth_ethtool.c | 981 u8 *hfunc) in fun_get_rxfh() argument 995 if (hfunc) in fun_get_rxfh() 996 *hfunc = fp->hash_algo == FUN_ETH_RSS_ALG_TOEPLITZ ? in fun_get_rxfh() 1003 const u8 *key, const u8 hfunc) in fun_set_rxfh() argument 1013 if (hfunc == ETH_RSS_HASH_NO_CHANGE) in fun_set_rxfh() 1015 else if (hfunc == ETH_RSS_HASH_CRC32) in fun_set_rxfh() 1017 else if (hfunc == ETH_RSS_HASH_TOP) in fun_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 937 u32 *indir, u8 *key, u8 *hfunc) in lan743x_ethtool_get_rxfh() argument 980 if (hfunc) in lan743x_ethtool_get_rxfh() 981 (*hfunc) = ETH_RSS_HASH_TOP; in lan743x_ethtool_get_rxfh() 987 const u8 hfunc) in lan743x_ethtool_set_rxfh() argument 991 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in lan743x_ethtool_set_rxfh()
|
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 715 u8 *hfunc) in ionic_get_rxfh() argument 729 if (hfunc) in ionic_get_rxfh() 730 *hfunc = ETH_RSS_HASH_TOP; in ionic_get_rxfh() 736 const u8 *key, const u8 hfunc) in ionic_set_rxfh() argument 740 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in ionic_set_rxfh()
|