Home
last modified time | relevance | path

Searched refs:rss_key (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v5.15/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_ppe.h82 u32 rss_key[HNS_PPEV2_RSS_KEY_NUM]; /* rss hash key */ member
116 const u32 rss_key[HNS_PPEV2_RSS_KEY_NUM]);
Dhns_dsaf_ppe.c24 const u32 rss_key[HNS_PPEV2_RSS_KEY_NUM]) in hns_ppe_set_rss_key()
30 rss_key[key_item]); in hns_ppe_set_rss_key()
310 netdev_rss_key_fill(ppe_cb->rss_key, HNS_PPEV2_RSS_KEY_SIZE); in hns_ppe_init_hw()
336 hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); in hns_ppe_init_hw()
Dhns_ae_adapt.c899 memcpy(key, ppe_cb->rss_key, HNS_PPEV2_RSS_KEY_SIZE); in hns_ae_get_rss()
916 memcpy(ppe_cb->rss_key, key, HNS_PPEV2_RSS_KEY_SIZE); in hns_ae_set_rss()
917 hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); in hns_ae_set_rss()
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c789 struct hinic_rss_key rss_key = { 0 }; in hinic_rss_set_template_tbl() local
791 u16 out_size = sizeof(rss_key); in hinic_rss_set_template_tbl()
794 rss_key.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_set_template_tbl()
795 rss_key.template_id = template_id; in hinic_rss_set_template_tbl()
796 memcpy(rss_key.key, temp, HINIC_RSS_KEY_SIZE); in hinic_rss_set_template_tbl()
799 &rss_key, sizeof(rss_key), in hinic_rss_set_template_tbl()
800 &rss_key, &out_size); in hinic_rss_set_template_tbl()
801 if (err || !out_size || rss_key.status) { in hinic_rss_set_template_tbl()
804 err, rss_key.status, out_size); in hinic_rss_set_template_tbl()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtir.c119 void *rss_key = MLX5_ADDR_OF(tirc, tirc, rx_hash_toeplitz_key); in mlx5e_tir_builder_build_rss() local
122 memcpy(rss_key, rss_hash->toeplitz_hash_key, len); in mlx5e_tir_builder_build_rss()
/Linux-v5.15/drivers/net/hyperv/
Drndis_filter.c918 const u8 *rss_key, u16 flag) in rndis_set_rss_param_msg() argument
965 memcpy(keyp, rss_key, NETVSC_HASH_KEYLEN); in rndis_set_rss_param_msg()
976 memcpy(rdev->rss_key, rss_key, NETVSC_HASH_KEYLEN); in rndis_set_rss_param_msg()
990 const u8 *rss_key) in rndis_filter_set_rss_param() argument
993 rndis_set_rss_param_msg(rdev, rss_key, in rndis_filter_set_rss_param()
996 return rndis_set_rss_param_msg(rdev, rss_key, 0); in rndis_filter_set_rss_param()
1333 rndis_filter_set_rss_param(rdev, dev_info->rss_key); in rndis_set_subchannel()
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c325 netdev_rss_key_fill(pdata->rss_key, sizeof(pdata->rss_key)); in xgbe_config_netdev()
Dxgbe-ethtool.c517 return sizeof(pdata->rss_key); in xgbe_get_rxfh_key_size()
540 memcpy(key, pdata->rss_key, sizeof(pdata->rss_key)); in xgbe_get_rxfh()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbevf/
Dvf.h190 int ixgbevf_get_rss_key_locked(struct ixgbe_hw *hw, u8 *rss_key);
Dvf.c370 int ixgbevf_get_rss_key_locked(struct ixgbe_hw *hw, u8 *rss_key) in ixgbevf_get_rss_key_locked() argument
416 memcpy(rss_key, msgbuf + 1, IXGBEVF_RSS_HASH_KEY_SIZE); in ixgbevf_get_rss_key_locked()
Dixgbevf_main.c1856 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()
4691 kfree(adapter->rss_key); in ixgbevf_probe()
4739 kfree(adapter->rss_key); in ixgbevf_remove()
Dixgbevf.h387 u32 *rss_key; member
/Linux-v5.15/drivers/net/ethernet/cisco/enic/
Denic.h200 u8 rss_key[ENIC_RSS_LEN]; member
Denic_ethtool.c588 memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); in enic_get_rxfh()
606 memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); in enic_set_rxfh()
/Linux-v5.15/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c154 netdev_rss_key_fill(pdata->rss_key, sizeof(pdata->rss_key)); in xlgmac_init()
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_l2.h29 u32 rss_key[QED_RSS_KEY_SIZE]; member
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_main.c1236 struct iavf_aqc_get_set_rss_key_data *rss_key = in iavf_config_rss_aq() local
1237 (struct iavf_aqc_get_set_rss_key_data *)adapter->rss_key; in iavf_config_rss_aq()
1248 ret = iavf_aq_set_rss_key(hw, adapter->vsi.id, rss_key); in iavf_config_rss_aq()
1281 dw = (u32 *)adapter->rss_key; in iavf_config_rss_reg()
1350 netdev_rss_key_fill((void *)adapter->rss_key, adapter->rss_key_size); in iavf_init_rss()
1493 kfree(adapter->rss_key); in iavf_free_rss()
1494 adapter->rss_key = NULL; in iavf_free_rss()
1903 adapter->rss_key = kzalloc(adapter->rss_key_size, GFP_KERNEL); in iavf_init_get_resources()
1905 if (!adapter->rss_key || !adapter->rss_lut) { in iavf_init_get_resources()
Diavf.h364 u8 *rss_key; member
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h171 u32 rss_key[T_ETH_RSS_KEY]; /* hash values */ member
Dbnx2x_vfpf.c814 memcpy(req->rss_key, params->rss_key, sizeof(params->rss_key)); in bnx2x_vfpf_config_rss()
1999 memcpy(rss.rss_key, rss_tlv->rss_key, sizeof(rss_tlv->rss_key)); in bnx2x_vf_mbx_update_rss()
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c603 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-v5.15/include/linux/mlx4/
Dqp.h132 __be32 rss_key[MLX4_EN_RSS_KEY_SIZE / sizeof(__be32)]; member
/Linux-v5.15/include/linux/qed/
Dqed_eth_if.h96 u32 rss_key[10]; member
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c47 static u8 rss_key[AQ_CFG_RSS_HASHKEY_SIZE] = { in aq_nic_rss_init() local
60 rss_params->hash_secret_key_size = sizeof(rss_key); in aq_nic_rss_init()
61 memcpy(rss_params->hash_secret_key, rss_key, sizeof(rss_key)); in aq_nic_rss_init()
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c1975 u32 rss_key[FM10K_RSSRK_SIZE]; in fm10k_sw_init() local
2070 netdev_rss_key_fill(rss_key, sizeof(rss_key)); in fm10k_sw_init()
2071 memcpy(interface->rssrk, rss_key, sizeof(rss_key)); in fm10k_sw_init()

123