/linux-6.6.21/drivers/net/ethernet/wangxun/ngbe/ |
D | ngbe_main.c | 90 u32 *rss_key; in ngbe_init_rss_key() local 92 if (!wx->rss_key) { in ngbe_init_rss_key() 93 rss_key = kzalloc(WX_RSS_KEY_SIZE, GFP_KERNEL); in ngbe_init_rss_key() 94 if (unlikely(!rss_key)) in ngbe_init_rss_key() 97 netdev_rss_key_fill(rss_key, WX_RSS_KEY_SIZE); in ngbe_init_rss_key() 98 wx->rss_key = rss_key; in ngbe_init_rss_key()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_ppe.h | 82 u32 rss_key[HNS_PPEV2_RSS_KEY_NUM]; /* rss hash key */ member 116 const u32 rss_key[HNS_PPEV2_RSS_KEY_NUM]);
|
D | hns_dsaf_ppe.c | 21 const u32 rss_key[HNS_PPEV2_RSS_KEY_NUM]) in hns_ppe_set_rss_key() 27 rss_key[key_item]); in hns_ppe_set_rss_key() 307 netdev_rss_key_fill(ppe_cb->rss_key, HNS_PPEV2_RSS_KEY_SIZE); in hns_ppe_init_hw() 333 hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); in hns_ppe_init_hw()
|
D | hns_ae_adapt.c | 898 memcpy(key, ppe_cb->rss_key, HNS_PPEV2_RSS_KEY_SIZE); in hns_ae_get_rss() 915 memcpy(ppe_cb->rss_key, key, HNS_PPEV2_RSS_KEY_SIZE); in hns_ae_set_rss() 916 hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); in hns_ae_set_rss()
|
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.c | 804 struct hinic_rss_key rss_key = { 0 }; in hinic_rss_set_template_tbl() local 806 u16 out_size = sizeof(rss_key); in hinic_rss_set_template_tbl() 809 rss_key.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_set_template_tbl() 810 rss_key.template_id = template_id; in hinic_rss_set_template_tbl() 811 memcpy(rss_key.key, temp, HINIC_RSS_KEY_SIZE); in hinic_rss_set_template_tbl() 814 &rss_key, sizeof(rss_key), in hinic_rss_set_template_tbl() 815 &rss_key, &out_size); in hinic_rss_set_template_tbl() 816 if (err || !out_size || rss_key.status) { in hinic_rss_set_template_tbl() 819 err, rss_key.status, out_size); in hinic_rss_set_template_tbl()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tir.c | 122 void *rss_key = MLX5_ADDR_OF(tirc, tirc, rx_hash_toeplitz_key); in mlx5e_tir_builder_build_rss() local 125 memcpy(rss_key, rss_hash->toeplitz_hash_key, len); in mlx5e_tir_builder_build_rss()
|
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/ |
D | funeth_ethtool.c | 977 return sizeof(fp->rss_key); in fun_get_rxfh_key_size() 993 memcpy(key, fp->rss_key, sizeof(fp->rss_key)); in fun_get_rxfh() 1007 const u8 *rss_key = key ? key : fp->rss_key; in fun_set_rxfh() local 1027 int rc = fun_config_rss(netdev, algo, rss_key, rss_indir, in fun_set_rxfh() 1035 memcpy(fp->rss_key, key, sizeof(fp->rss_key)); in fun_set_rxfh()
|
D | funeth.h | 137 u8 rss_key[FUN_ETH_RSS_MAX_KEY_SIZE]; member
|
D | funeth_main.c | 805 err = fun_config_rss(dev, fp->hash_algo, fp->rss_key, in fun_up() 1417 err = fun_config_rss(dev, fp->hash_algo, fp->rss_key, in fun_rss_set_qnum() 1435 size_t size = sizeof(fp->rss_key) + sizeof(fp->indir_table); in fun_init_rss() 1447 netdev_rss_key_fill(fp->rss_key, sizeof(fp->rss_key)); in fun_init_rss() 1456 sizeof(fp->rss_key) + sizeof(fp->indir_table), in fun_free_rss()
|
/linux-6.6.21/drivers/net/hyperv/ |
D | rndis_filter.c | 923 const u8 *rss_key, u16 flag) in rndis_set_rss_param_msg() argument 970 memcpy(keyp, rss_key, NETVSC_HASH_KEYLEN); in rndis_set_rss_param_msg() 981 memcpy(rdev->rss_key, rss_key, NETVSC_HASH_KEYLEN); in rndis_set_rss_param_msg() 995 const u8 *rss_key) in rndis_filter_set_rss_param() argument 998 rndis_set_rss_param_msg(rdev, rss_key, in rndis_filter_set_rss_param() 1001 return rndis_set_rss_param_msg(rdev, rss_key, 0); in rndis_filter_set_rss_param() 1338 rndis_filter_set_rss_param(rdev, dev_info->rss_key); in rndis_set_subchannel()
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-main.c | 325 netdev_rss_key_fill(pdata->rss_key, sizeof(pdata->rss_key)); in xgbe_config_netdev()
|
D | xgbe-ethtool.c | 520 return sizeof(pdata->rss_key); in xgbe_get_rxfh_key_size() 543 memcpy(key, pdata->rss_key, sizeof(pdata->rss_key)); in xgbe_get_rxfh()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.h | 190 int ixgbevf_get_rss_key_locked(struct ixgbe_hw *hw, u8 *rss_key);
|
D | vf.c | 373 int ixgbevf_get_rss_key_locked(struct ixgbe_hw *hw, u8 *rss_key) in ixgbevf_get_rss_key_locked() argument 420 memcpy(rss_key, msgbuf + 1, IXGBEVF_RSS_HASH_KEY_SIZE); in ixgbevf_get_rss_key_locked()
|
D | ixgbevf_main.c | 1856 u32 *rss_key; in ixgbevf_init_rss_key() local 1858 if (!adapter->rss_key) { in ixgbevf_init_rss_key() 1859 rss_key = kzalloc(IXGBEVF_RSS_HASH_KEY_SIZE, GFP_KERNEL); in ixgbevf_init_rss_key() 1860 if (unlikely(!rss_key)) in ixgbevf_init_rss_key() 1863 netdev_rss_key_fill(rss_key, IXGBEVF_RSS_HASH_KEY_SIZE); in ixgbevf_init_rss_key() 1864 adapter->rss_key = rss_key; in ixgbevf_init_rss_key() 1879 IXGBE_WRITE_REG(hw, IXGBE_VFRSSRK(i), *(adapter->rss_key + i)); in ixgbevf_setup_vfmrqc() 4710 kfree(adapter->rss_key); in ixgbevf_probe() 4758 kfree(adapter->rss_key); in ixgbevf_remove()
|
/linux-6.6.21/drivers/net/ethernet/cisco/enic/ |
D | enic.h | 187 u8 rss_key[ENIC_RSS_LEN]; member
|
D | enic_ethtool.c | 577 memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); in enic_get_rxfh() 595 memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); in enic_set_rxfh()
|
/linux-6.6.21/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 154 netdev_rss_key_fill(pdata->rss_key, sizeof(pdata->rss_key)); in xlgmac_init()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.h | 29 u32 rss_key[QED_RSS_KEY_SIZE]; member
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.h | 171 u32 rss_key[T_ETH_RSS_KEY]; /* hash values */ member
|
D | bnx2x_vfpf.c | 816 memcpy(req->rss_key, params->rss_key, sizeof(params->rss_key)); in bnx2x_vfpf_config_rss() 2001 memcpy(rss.rss_key, rss_tlv->rss_key, sizeof(rss_tlv->rss_key)); in bnx2x_vf_mbx_update_rss()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 603 netdev_rss_key_fill(edev->rss_key, sizeof(edev->rss_key)); in qede_fill_rss_params() 606 memcpy(rss->rss_key, edev->rss_key, sizeof(rss->rss_key)); in qede_fill_rss_params()
|
/linux-6.6.21/include/linux/mlx4/ |
D | qp.h | 132 __be32 rss_key[MLX4_EN_RSS_KEY_SIZE / sizeof(__be32)]; member
|
/linux-6.6.21/include/linux/qed/ |
D | qed_eth_if.h | 96 u32 rss_key[10]; member
|
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pci.c | 1974 u32 rss_key[FM10K_RSSRK_SIZE]; in fm10k_sw_init() local 2069 netdev_rss_key_fill(rss_key, sizeof(rss_key)); in fm10k_sw_init() 2070 memcpy(interface->rssrk, rss_key, sizeof(rss_key)); in fm10k_sw_init()
|