/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hns3_ethtool.c | 422 u8 *hfunc) in hns3_get_rss() argument 430 return h->ae_algo->ops->get_rss(h, indir, key, hfunc); in hns3_get_rss() 434 const u8 *key, const u8 hfunc) in hns3_set_rss() argument 443 if ((hfunc != ETH_RSS_HASH_NO_CHANGE) && (hfunc != ETH_RSS_HASH_TOP)) { in hns3_set_rss() 454 return h->ae_algo->ops->set_rss(h, indir, key, hfunc); in hns3_set_rss()
|
D | hclge_main.c | 2416 const u8 hfunc, const u8 *key) in hclge_set_rss_algo_key() argument 2430 req->hash_config |= (hfunc & HCLGE_RSS_HASH_ALGO_MASK); in hclge_set_rss_algo_key() 2544 u8 *key, u8 *hfunc) in hclge_get_rss() argument 2551 if (hfunc) in hclge_get_rss() 2552 *hfunc = hclge_get_rss_algo(hdev); in hclge_get_rss() 2567 const u8 *key, const u8 hfunc) in hclge_set_rss() argument 2579 if (hfunc == ETH_RSS_HASH_TOP || in hclge_set_rss() 2580 hfunc == ETH_RSS_HASH_NO_CHANGE) in hclge_set_rss() 2608 const u8 hfunc = HCLGE_RSS_HASH_ALGO_TOEPLITZ; in hclge_rss_init_hw() local 2645 ret = hclge_set_rss_algo_key(hdev, hfunc, key); in hclge_rss_init_hw()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 549 u8 *hfunc) in xgbe_get_rxfh() argument 563 if (hfunc) in xgbe_get_rxfh() 564 *hfunc = ETH_RSS_HASH_TOP; in xgbe_get_rxfh() 570 const u8 *key, const u8 hfunc) in xgbe_set_rxfh() argument 576 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) { in xgbe_set_rxfh()
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 478 u8 *hfunc) in enic_get_rxfh() argument 485 if (hfunc) in enic_get_rxfh() 486 *hfunc = ETH_RSS_HASH_TOP; in enic_get_rxfh() 492 const u8 *hkey, const u8 hfunc) in enic_set_rxfh() argument 496 if ((hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) || in enic_set_rxfh()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_ethtool.c | 715 u8 *hfunc) in i40evf_get_rxfh() argument 720 if (hfunc) in i40evf_get_rxfh() 721 *hfunc = ETH_RSS_HASH_TOP; in i40evf_get_rxfh() 744 const u8 *key, const u8 hfunc) in i40evf_set_rxfh() argument 751 (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) in i40evf_set_rxfh()
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_ethtool.c | 674 u8 *hfunc) in ena_get_rxfh() argument 693 hfunc = NULL; in ena_get_rxfh() 716 if (hfunc) in ena_get_rxfh() 717 *hfunc = func; in ena_get_rxfh() 723 const u8 *key, const u8 hfunc) in ena_set_rxfh() argument 750 switch (hfunc) { in ena_set_rxfh() 762 hfunc); in ena_set_rxfh()
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 185 u8 *hfunc) in aq_ethtool_get_rss() argument 191 if (hfunc) in aq_ethtool_get_rss() 192 *hfunc = ETH_RSS_HASH_TOP; /* Toeplitz */ in aq_ethtool_get_rss()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 828 u8 *hfunc) in nfp_net_get_rxfh() argument 841 if (hfunc) { in nfp_net_get_rxfh() 842 *hfunc = nn->rss_hfunc; in nfp_net_get_rxfh() 843 if (*hfunc >= 1 << ETH_RSS_HASH_FUNCS_COUNT) in nfp_net_get_rxfh() 844 *hfunc = ETH_RSS_HASH_UNKNOWN; in nfp_net_get_rxfh() 852 const u8 hfunc) in nfp_net_set_rxfh() argument 858 !(hfunc == ETH_RSS_HASH_NO_CHANGE || hfunc == nn->rss_hfunc)) in nfp_net_set_rxfh()
|
/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 652 u8 *hfunc) in nicvf_get_rxfh() argument 666 if (hfunc) in nicvf_get_rxfh() 667 *hfunc = ETH_RSS_HASH_TOP; in nicvf_get_rxfh() 673 const u8 *hkey, const u8 hfunc) in nicvf_set_rxfh() argument 679 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in nicvf_set_rxfh()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 685 vmxnet3_get_rss(struct net_device *netdev, u32 *p, u8 *key, u8 *hfunc) in vmxnet3_get_rss() argument 691 if (hfunc) in vmxnet3_get_rss() 692 *hfunc = ETH_RSS_HASH_TOP; in vmxnet3_get_rss() 703 const u8 hfunc) in vmxnet3_set_rss() argument 712 (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) in vmxnet3_set_rss()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 1187 u8 *hfunc) in mlx5e_get_rxfh() argument 1199 if (hfunc) in mlx5e_get_rxfh() 1200 *hfunc = priv->channels.params.rss_hfunc; in mlx5e_get_rxfh() 1231 const u8 *key, const u8 hfunc) in mlx5e_set_rxfh() argument 1238 if ((hfunc != ETH_RSS_HASH_NO_CHANGE) && in mlx5e_set_rxfh() 1239 (hfunc != ETH_RSS_HASH_XOR) && in mlx5e_set_rxfh() 1240 (hfunc != ETH_RSS_HASH_TOP)) in mlx5e_set_rxfh() 1249 if (hfunc != ETH_RSS_HASH_NO_CHANGE && in mlx5e_set_rxfh() 1250 hfunc != priv->channels.params.rss_hfunc) { in mlx5e_set_rxfh() 1251 priv->channels.params.rss_hfunc = hfunc; in mlx5e_set_rxfh() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1187 static int mlx4_en_check_rxfh_func(struct net_device *dev, u8 hfunc) in mlx4_en_check_rxfh_func() argument 1192 if (hfunc == ETH_RSS_HASH_TOP) { in mlx4_en_check_rxfh_func() 1198 } else if (hfunc == ETH_RSS_HASH_XOR) { in mlx4_en_check_rxfh_func() 1210 u8 *hfunc) in mlx4_en_get_rxfh() argument 1227 if (hfunc) in mlx4_en_get_rxfh() 1228 *hfunc = priv->rss_hash_fn; in mlx4_en_get_rxfh() 1233 const u8 *key, const u8 hfunc) in mlx4_en_set_rxfh() argument 1263 if (hfunc != ETH_RSS_HASH_NO_CHANGE) { in mlx4_en_set_rxfh() 1264 err = mlx4_en_check_rxfh_func(dev, hfunc); in mlx4_en_set_rxfh() 1279 if (hfunc != ETH_RSS_HASH_NO_CHANGE) in mlx4_en_set_rxfh() [all …]
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 1074 u8 *hfunc) in fm10k_get_rssh() argument 1079 if (hfunc) in fm10k_get_rssh() 1080 *hfunc = ETH_RSS_HASH_TOP; in fm10k_get_rssh() 1093 const u8 *key, const u8 hfunc) in fm10k_set_rssh() argument 1100 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in fm10k_set_rssh()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 1274 static int get_rss_table(struct net_device *dev, u32 *p, u8 *key, u8 *hfunc) in get_rss_table() argument 1279 if (hfunc) in get_rss_table() 1280 *hfunc = ETH_RSS_HASH_TOP; in get_rss_table() 1289 const u8 hfunc) in set_rss_table() argument 1298 (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) in set_rss_table()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 1208 hns_get_rss(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) in hns_get_rss() argument 1224 return ops->get_rss(priv->ae_handle, indir, key, hfunc); in hns_get_rss() 1229 const u8 hfunc) in hns_set_rss() argument 1242 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) { in hns_set_rss() 1247 return ops->set_rss(priv->ae_handle, indir, key, hfunc); in hns_set_rss()
|
D | hns_ae_adapt.c | 915 u8 *hfunc) in hns_ae_get_rss() argument 920 if (hfunc) in hns_ae_get_rss() 921 *hfunc = ETH_RSS_HASH_TOP; in hns_ae_get_rss() 936 const u8 *key, const u8 hfunc) in hns_ae_set_rss() argument
|
D | hnae.h | 538 u8 *hfunc); 540 const u8 *key, const u8 hfunc);
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 337 u8 *hfunc); 339 const u8 *key, const u8 hfunc);
|
/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1271 u8 *hfunc) in be_get_rxfh() argument 1285 if (hfunc) in be_get_rxfh() 1286 *hfunc = ETH_RSS_HASH_TOP; in be_get_rxfh() 1292 const u8 *hkey, const u8 hfunc) in be_set_rxfh() argument 1299 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in be_set_rxfh()
|
/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 1256 u8 *hfunc) in ef4_ethtool_get_rxfh() argument 1260 if (hfunc) in ef4_ethtool_get_rxfh() 1261 *hfunc = ETH_RSS_HASH_TOP; in ef4_ethtool_get_rxfh() 1268 const u8 *key, const u8 hfunc) in ef4_ethtool_set_rxfh() argument 1274 (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) in ef4_ethtool_set_rxfh()
|
/drivers/net/ethernet/sfc/ |
D | ethtool.c | 1294 u8 *hfunc) in efx_ethtool_get_rxfh() argument 1303 if (hfunc) in efx_ethtool_get_rxfh() 1304 *hfunc = ETH_RSS_HASH_TOP; in efx_ethtool_get_rxfh() 1313 const u8 *key, const u8 hfunc) in efx_ethtool_set_rxfh() argument 1318 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in efx_ethtool_set_rxfh()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1270 static int qede_get_rxfh(struct net_device *dev, u32 *indir, u8 *key, u8 *hfunc) in qede_get_rxfh() argument 1275 if (hfunc) in qede_get_rxfh() 1276 *hfunc = ETH_RSS_HASH_TOP; in qede_get_rxfh() 1291 const u8 *key, const u8 hfunc) in qede_set_rxfh() argument 1303 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in qede_set_rxfh()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 1514 u8 *hfunc) in netvsc_get_rxfh() argument 1524 if (hfunc) in netvsc_get_rxfh() 1525 *hfunc = ETH_RSS_HASH_TOP; /* Toeplitz */ in netvsc_get_rxfh() 1540 const u8 *key, const u8 hfunc) in netvsc_set_rxfh() argument 1550 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) in netvsc_set_rxfh()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ethtool.c | 848 u8 *hfunc) in ixgbevf_get_rxfh() argument 853 if (hfunc) in ixgbevf_get_rxfh() 854 *hfunc = ETH_RSS_HASH_TOP; in ixgbevf_get_rxfh()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 3460 u8 *hfunc) in bnx2x_get_rxfh() argument 3466 if (hfunc) in bnx2x_get_rxfh() 3467 *hfunc = ETH_RSS_HASH_TOP; in bnx2x_get_rxfh() 3490 const u8 *key, const u8 hfunc) in bnx2x_set_rxfh() argument 3499 (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) in bnx2x_set_rxfh()
|