hfunc 662 drivers/net/ethernet/amazon/ena/ena_ethtool.c u8 *hfunc) hfunc 681 drivers/net/ethernet/amazon/ena/ena_ethtool.c hfunc = NULL; hfunc 704 drivers/net/ethernet/amazon/ena/ena_ethtool.c if (hfunc) hfunc 705 drivers/net/ethernet/amazon/ena/ena_ethtool.c *hfunc = func; hfunc 711 drivers/net/ethernet/amazon/ena/ena_ethtool.c const u8 *key, const u8 hfunc) hfunc 738 drivers/net/ethernet/amazon/ena/ena_ethtool.c switch (hfunc) { hfunc 750 drivers/net/ethernet/amazon/ena/ena_ethtool.c hfunc); hfunc 549 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c u8 *hfunc) hfunc 563 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if (hfunc) hfunc 564 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 570 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c const u8 *key, const u8 hfunc) hfunc 576 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) { hfunc 184 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c u8 *hfunc) hfunc 190 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c if (hfunc) hfunc 191 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c *hfunc = ETH_RSS_HASH_TOP; /* Toeplitz */ hfunc 203 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c const u8 *key, const u8 hfunc) hfunc 215 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 3488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u8 *hfunc) hfunc 3494 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (hfunc) hfunc 3495 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 3518 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c const u8 *key, const u8 hfunc) hfunc 3527 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 1209 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u8 *hfunc) hfunc 1215 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (hfunc) hfunc 1216 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 12644 drivers/net/ethernet/broadcom/tg3.c static int tg3_get_rxfh(struct net_device *dev, u32 *indir, u8 *key, u8 *hfunc) hfunc 12649 drivers/net/ethernet/broadcom/tg3.c if (hfunc) hfunc 12650 drivers/net/ethernet/broadcom/tg3.c *hfunc = ETH_RSS_HASH_TOP; hfunc 12661 drivers/net/ethernet/broadcom/tg3.c const u8 hfunc) hfunc 12670 drivers/net/ethernet/broadcom/tg3.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 652 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c u8 *hfunc) hfunc 666 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c if (hfunc) hfunc 667 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 673 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c const u8 *hkey, const u8 hfunc) hfunc 679 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 1290 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c static int get_rss_table(struct net_device *dev, u32 *p, u8 *key, u8 *hfunc) hfunc 1295 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (hfunc) hfunc 1296 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1305 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c const u8 hfunc) hfunc 1314 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 600 drivers/net/ethernet/cisco/enic/enic_ethtool.c u8 *hfunc) hfunc 607 drivers/net/ethernet/cisco/enic/enic_ethtool.c if (hfunc) hfunc 608 drivers/net/ethernet/cisco/enic/enic_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 614 drivers/net/ethernet/cisco/enic/enic_ethtool.c const u8 *hkey, const u8 hfunc) hfunc 618 drivers/net/ethernet/cisco/enic/enic_ethtool.c if ((hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) || hfunc 1270 drivers/net/ethernet/emulex/benet/be_ethtool.c u8 *hfunc) hfunc 1284 drivers/net/ethernet/emulex/benet/be_ethtool.c if (hfunc) hfunc 1285 drivers/net/ethernet/emulex/benet/be_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1291 drivers/net/ethernet/emulex/benet/be_ethtool.c const u8 *hkey, const u8 hfunc) hfunc 1298 drivers/net/ethernet/emulex/benet/be_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 487 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c u8 *hfunc) hfunc 494 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (hfunc) hfunc 495 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 518 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c const u8 *key, const u8 hfunc) hfunc 531 drivers/net/ethernet/hisilicon/hns/hnae.h u8 *hfunc); hfunc 533 drivers/net/ethernet/hisilicon/hns/hnae.h const u8 *key, const u8 hfunc); hfunc 911 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c u8 *hfunc) hfunc 916 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (hfunc) hfunc 917 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c *hfunc = ETH_RSS_HASH_TOP; hfunc 932 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c const u8 *key, const u8 hfunc) hfunc 1207 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c hns_get_rss(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) hfunc 1223 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c return ops->get_rss(priv->ae_handle, indir, key, hfunc); hfunc 1228 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c const u8 hfunc) hfunc 1241 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) { hfunc 1246 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c return ops->set_rss(priv->ae_handle, indir, key, hfunc); hfunc 458 drivers/net/ethernet/hisilicon/hns3/hnae3.h u8 *hfunc); hfunc 460 drivers/net/ethernet/hisilicon/hns3/hnae3.h const u8 *key, const u8 hfunc); hfunc 828 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u8 *hfunc) hfunc 835 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c return h->ae_algo->ops->get_rss(h, indir, key, hfunc); hfunc 839 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c const u8 *key, const u8 hfunc) hfunc 847 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c hfunc != ETH_RSS_HASH_TOP) || (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc 848 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c hfunc != ETH_RSS_HASH_TOP && hfunc != ETH_RSS_HASH_XOR)) { hfunc 859 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c return h->ae_algo->ops->set_rss(h, indir, key, hfunc); hfunc 4010 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c const u8 hfunc, const u8 *key) hfunc 4026 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req->hash_config |= (hfunc & HCLGE_RSS_HASH_ALGO_MASK); hfunc 4153 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 *key, u8 *hfunc) hfunc 4159 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hfunc) { hfunc 4162 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *hfunc = ETH_RSS_HASH_TOP; hfunc 4165 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *hfunc = ETH_RSS_HASH_XOR; hfunc 4168 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *hfunc = ETH_RSS_HASH_UNKNOWN; hfunc 4186 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c const u8 *key, const u8 hfunc) hfunc 4195 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c switch (hfunc) { hfunc 4396 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 hfunc = vport[0].rss_algo; hfunc 4406 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_set_rss_algo_key(hdev, hfunc, key); hfunc 550 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c const u8 hfunc, const u8 *key) hfunc 567 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->hash_config |= (hfunc & HCLGEVF_RSS_HASH_ALGO_MASK); hfunc 708 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u8 *hfunc) hfunc 716 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (hfunc) { hfunc 719 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *hfunc = ETH_RSS_HASH_TOP; hfunc 722 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *hfunc = ETH_RSS_HASH_XOR; hfunc 725 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *hfunc = ETH_RSS_HASH_UNKNOWN; hfunc 735 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (hfunc) hfunc 736 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *hfunc = ETH_RSS_HASH_TOP; hfunc 754 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c const u8 *key, const u8 hfunc) hfunc 763 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c switch (hfunc) { hfunc 378 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c u32 *indir, u8 *key, u8 *hfunc) hfunc 387 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c if (hfunc) { hfunc 394 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c *hfunc = hash_engine_type ? ETH_RSS_HASH_TOP : ETH_RSS_HASH_XOR; hfunc 412 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c const u8 *key, const u8 hfunc) hfunc 420 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE) { hfunc 421 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c if (hfunc != ETH_RSS_HASH_TOP && hfunc != ETH_RSS_HASH_XOR) hfunc 424 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c nic_dev->rss_hash_engine = (hfunc == ETH_RSS_HASH_XOR) ? hfunc 1054 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c u8 *hfunc) hfunc 1059 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (hfunc) hfunc 1060 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1073 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c const u8 *key, const u8 hfunc) hfunc 1080 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 4744 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u8 *hfunc) hfunc 4752 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (hfunc) hfunc 4753 drivers/net/ethernet/intel/i40e/i40e_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 4785 drivers/net/ethernet/intel/i40e/i40e_ethtool.c const u8 *key, const u8 hfunc) hfunc 4793 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 948 drivers/net/ethernet/intel/iavf/iavf_ethtool.c u8 *hfunc) hfunc 953 drivers/net/ethernet/intel/iavf/iavf_ethtool.c if (hfunc) hfunc 954 drivers/net/ethernet/intel/iavf/iavf_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 978 drivers/net/ethernet/intel/iavf/iavf_ethtool.c const u8 *key, const u8 hfunc) hfunc 985 drivers/net/ethernet/intel/iavf/iavf_ethtool.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 2985 drivers/net/ethernet/intel/ice/ice_ethtool.c ice_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) hfunc 2993 drivers/net/ethernet/intel/ice/ice_ethtool.c if (hfunc) hfunc 2994 drivers/net/ethernet/intel/ice/ice_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 3034 drivers/net/ethernet/intel/ice/ice_ethtool.c const u8 hfunc) hfunc 3041 drivers/net/ethernet/intel/ice/ice_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 3294 drivers/net/ethernet/intel/igb/igb_ethtool.c u8 *hfunc) hfunc 3299 drivers/net/ethernet/intel/igb/igb_ethtool.c if (hfunc) hfunc 3300 drivers/net/ethernet/intel/igb/igb_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 3345 drivers/net/ethernet/intel/igb/igb_ethtool.c const u8 *key, const u8 hfunc) hfunc 3354 drivers/net/ethernet/intel/igb/igb_ethtool.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 1504 drivers/net/ethernet/intel/igc/igc_ethtool.c u8 *hfunc) hfunc 1509 drivers/net/ethernet/intel/igc/igc_ethtool.c if (hfunc) hfunc 1510 drivers/net/ethernet/intel/igc/igc_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1520 drivers/net/ethernet/intel/igc/igc_ethtool.c const u8 *key, const u8 hfunc) hfunc 1528 drivers/net/ethernet/intel/igc/igc_ethtool.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 2988 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c u8 *hfunc) hfunc 2992 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (hfunc) hfunc 2993 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 3005 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c const u8 *key, const u8 hfunc) hfunc 3011 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (hfunc) hfunc 899 drivers/net/ethernet/intel/ixgbevf/ethtool.c u8 *hfunc) hfunc 904 drivers/net/ethernet/intel/ixgbevf/ethtool.c if (hfunc) hfunc 905 drivers/net/ethernet/intel/ixgbevf/ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 4231 drivers/net/ethernet/marvell/mvneta.c const u8 *key, const u8 hfunc) hfunc 4243 drivers/net/ethernet/marvell/mvneta.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 4255 drivers/net/ethernet/marvell/mvneta.c u8 *hfunc) hfunc 4263 drivers/net/ethernet/marvell/mvneta.c if (hfunc) hfunc 4264 drivers/net/ethernet/marvell/mvneta.c *hfunc = ETH_RSS_HASH_TOP; hfunc 4276 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c u8 *hfunc) hfunc 4287 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (hfunc) hfunc 4288 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c *hfunc = ETH_RSS_HASH_CRC32; hfunc 4294 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c const u8 *key, const u8 hfunc) hfunc 4302 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_CRC32) hfunc 4315 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c u8 *key, u8 *hfunc, u32 rss_context) hfunc 4325 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (hfunc) hfunc 4326 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c *hfunc = ETH_RSS_HASH_CRC32; hfunc 4336 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c const u8 hfunc, u32 *rss_context, hfunc 4345 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_CRC32) hfunc 1210 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c static int mlx4_en_check_rxfh_func(struct net_device *dev, u8 hfunc) hfunc 1215 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (hfunc == ETH_RSS_HASH_TOP) { hfunc 1221 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c } else if (hfunc == ETH_RSS_HASH_XOR) { hfunc 1233 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c u8 *hfunc) hfunc 1250 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (hfunc) hfunc 1251 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c *hfunc = priv->rss_hash_fn; hfunc 1256 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c const u8 *key, const u8 hfunc) hfunc 1286 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE) { hfunc 1287 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c err = mlx4_en_check_rxfh_func(dev, hfunc); hfunc 1302 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE) hfunc 1303 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c priv->rss_hash_fn = hfunc; hfunc 788 drivers/net/ethernet/mellanox/mlx5/core/en.h u8 hfunc; hfunc 994 drivers/net/ethernet/mellanox/mlx5/core/en.h u8 hfunc; hfunc 1137 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c u8 *hfunc) hfunc 1150 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (hfunc) hfunc 1151 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c *hfunc = rss->hfunc; hfunc 1157 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c const u8 *key, const u8 hfunc) hfunc 1165 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if ((hfunc != ETH_RSS_HASH_NO_CHANGE) && hfunc 1166 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c (hfunc != ETH_RSS_HASH_XOR) && hfunc 1167 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c (hfunc != ETH_RSS_HASH_TOP)) hfunc 1176 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != rss->hfunc) { hfunc 1177 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c rss->hfunc = hfunc; hfunc 1191 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c .hfunc = rss->hfunc, hfunc 1204 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c hash_changed = hash_changed || rss->hfunc == ETH_RSS_HASH_TOP; hfunc 2511 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static int mlx5e_rx_hash_fn(int hfunc) hfunc 2513 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return (hfunc == ETH_RSS_HASH_TOP) ? hfunc 2540 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (rrp.rss.hfunc == ETH_RSS_HASH_XOR) hfunc 2626 drivers/net/ethernet/mellanox/mlx5/core/en_main.c .hfunc = priv->rss_params.hfunc, hfunc 2716 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(tirc, tirc, rx_hash_fn, mlx5e_rx_hash_fn(rss_params->hfunc)); hfunc 2717 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (rss_params->hfunc == ETH_RSS_HASH_TOP) { hfunc 4784 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rss_params->hfunc = ETH_RSS_HASH_TOP; hfunc 499 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (priv->rss_params.hfunc == ETH_RSS_HASH_XOR) hfunc 575 drivers/net/ethernet/microchip/lan743x_ethtool.c u32 *indir, u8 *key, u8 *hfunc) hfunc 618 drivers/net/ethernet/microchip/lan743x_ethtool.c if (hfunc) hfunc 619 drivers/net/ethernet/microchip/lan743x_ethtool.c (*hfunc) = ETH_RSS_HASH_TOP; hfunc 625 drivers/net/ethernet/microchip/lan743x_ethtool.c const u8 hfunc) hfunc 629 drivers/net/ethernet/microchip/lan743x_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 921 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c u8 *hfunc) hfunc 934 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (hfunc) { hfunc 935 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c *hfunc = nn->rss_hfunc; hfunc 936 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (*hfunc >= 1 << ETH_RSS_HASH_FUNCS_COUNT) hfunc 937 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c *hfunc = ETH_RSS_HASH_UNKNOWN; hfunc 945 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c const u8 hfunc) hfunc 951 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c !(hfunc == ETH_RSS_HASH_NO_CHANGE || hfunc == nn->rss_hfunc)) hfunc 589 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c u8 *hfunc) hfunc 603 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c if (hfunc) hfunc 604 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 610 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c const u8 *key, const u8 hfunc) hfunc 615 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 1396 drivers/net/ethernet/qlogic/qede/qede_ethtool.c static int qede_get_rxfh(struct net_device *dev, u32 *indir, u8 *key, u8 *hfunc) hfunc 1401 drivers/net/ethernet/qlogic/qede/qede_ethtool.c if (hfunc) hfunc 1402 drivers/net/ethernet/qlogic/qede/qede_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1417 drivers/net/ethernet/qlogic/qede/qede_ethtool.c const u8 *key, const u8 hfunc) hfunc 1429 drivers/net/ethernet/qlogic/qede/qede_ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 1327 drivers/net/ethernet/sfc/ethtool.c u8 *hfunc) hfunc 1336 drivers/net/ethernet/sfc/ethtool.c if (hfunc) hfunc 1337 drivers/net/ethernet/sfc/ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1348 drivers/net/ethernet/sfc/ethtool.c const u8 *key, const u8 hfunc) hfunc 1353 drivers/net/ethernet/sfc/ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 1367 drivers/net/ethernet/sfc/ethtool.c u8 *key, u8 *hfunc, u32 rss_context) hfunc 1386 drivers/net/ethernet/sfc/ethtool.c if (hfunc) hfunc 1387 drivers/net/ethernet/sfc/ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1399 drivers/net/ethernet/sfc/ethtool.c const u8 hfunc, u32 *rss_context, hfunc 1410 drivers/net/ethernet/sfc/ethtool.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 1254 drivers/net/ethernet/sfc/falcon/ethtool.c u8 *hfunc) hfunc 1258 drivers/net/ethernet/sfc/falcon/ethtool.c if (hfunc) hfunc 1259 drivers/net/ethernet/sfc/falcon/ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 1266 drivers/net/ethernet/sfc/falcon/ethtool.c const u8 *key, const u8 hfunc) hfunc 1272 drivers/net/ethernet/sfc/falcon/ethtool.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 805 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c u8 *hfunc) hfunc 817 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c if (hfunc) hfunc 818 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 824 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c const u8 *key, const u8 hfunc) hfunc 829 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c if ((hfunc != ETH_RSS_HASH_NO_CHANGE) && (hfunc != ETH_RSS_HASH_TOP)) hfunc 1646 drivers/net/hyperv/netvsc_drv.c u8 *hfunc) hfunc 1656 drivers/net/hyperv/netvsc_drv.c if (hfunc) hfunc 1657 drivers/net/hyperv/netvsc_drv.c *hfunc = ETH_RSS_HASH_TOP; /* Toeplitz */ hfunc 1672 drivers/net/hyperv/netvsc_drv.c const u8 *key, const u8 hfunc) hfunc 1682 drivers/net/hyperv/netvsc_drv.c if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP) hfunc 695 drivers/net/vmxnet3/vmxnet3_ethtool.c vmxnet3_get_rss(struct net_device *netdev, u32 *p, u8 *key, u8 *hfunc) hfunc 701 drivers/net/vmxnet3/vmxnet3_ethtool.c if (hfunc) hfunc 702 drivers/net/vmxnet3/vmxnet3_ethtool.c *hfunc = ETH_RSS_HASH_TOP; hfunc 713 drivers/net/vmxnet3/vmxnet3_ethtool.c const u8 hfunc) hfunc 722 drivers/net/vmxnet3/vmxnet3_ethtool.c (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)) hfunc 368 include/linux/ethtool.h u8 *hfunc); hfunc 370 include/linux/ethtool.h const u8 *key, const u8 hfunc); hfunc 372 include/linux/ethtool.h u8 *hfunc, u32 rss_context); hfunc 374 include/linux/ethtool.h const u8 *key, const u8 hfunc, hfunc 1067 include/uapi/linux/ethtool.h __u8 hfunc; hfunc 1208 net/core/ethtool.c if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh, hfunc), hfunc 1209 net/core/ethtool.c &dev_hfunc, sizeof(rxfh.hfunc))) { hfunc 1262 net/core/ethtool.c rxfh.key_size == 0 && rxfh.hfunc == ETH_RSS_HASH_NO_CHANGE)) hfunc 1311 net/core/ethtool.c ret = ops->set_rxfh_context(dev, indir, hkey, rxfh.hfunc, hfunc 1314 net/core/ethtool.c ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc);