Home
last modified time | relevance | path

Searched refs:rss_hash_key (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.c58 memcpy(rss_cfg->rss_hash_key, hclge_comm_hash_key, in hclge_comm_rss_init_cfg()
138 memcpy(rss_cfg->rss_hash_key, key, HCLGE_COMM_RSS_KEY_SIZE); in hclge_comm_set_rss_hash_key()
141 rss_cfg->rss_hash_key); in hclge_comm_set_rss_hash_key()
366 memcpy(key, rss_cfg->rss_hash_key, HCLGE_COMM_RSS_KEY_SIZE); in hclge_comm_get_rss_hash_info()
H A Dhclge_comm_rss.h63 u8 rss_hash_key[HCLGE_COMM_RSS_KEY_SIZE]; /* user configured hash keys */ member
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.h229 u8 rss_hash_key[IONIC_RSS_HASH_KEY_SIZE]; member
H A Dionic_lif.c1905 memcpy(lif->rss_hash_key, key, IONIC_RSS_HASH_KEY_SIZE); in ionic_lif_rss_config()
1913 memcpy(ctx.cmd.lif_setattr.rss.key, lif->rss_hash_key, in ionic_lif_rss_config()
1945 memset(lif->rss_hash_key, 0, IONIC_RSS_HASH_KEY_SIZE); in ionic_lif_rss_deinit()
3337 netdev_rss_key_fill(lif->rss_hash_key, IONIC_RSS_HASH_KEY_SIZE); in ionic_lif_alloc()
H A Dionic_ethtool.c890 memcpy(rxfh->key, lif->rss_hash_key, IONIC_RSS_HASH_KEY_SIZE); in ionic_get_rxfh()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c761 sizeof(rss_cfg->rss_hash_key)) { in hclge_get_rss_key()
769 &rss_cfg->rss_hash_key[index * HCLGE_RSS_MBX_RESP_LEN], in hclge_get_rss_key()
H A Dhclge_main.c4966 u8 *key = hdev->rss_cfg.rss_hash_key; in hclge_rss_init_hw()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1252 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_rss_table()
1855 if (rxfh->key && vnic->rss_hash_key) in bnxt_get_rxfh()
1856 memcpy(rxfh->key, vnic->rss_hash_key, HW_HASH_KEY_SIZE); in bnxt_get_rxfh()
1867 memcpy(rss_ctx->vnic.rss_hash_key, rxfh->key, in bnxt_modify_rss()
1870 memcpy(bp->rss_hash_key, rxfh->key, HW_HASH_KEY_SIZE); in bnxt_modify_rss()
1950 memcpy(vnic->rss_hash_key, bp->rss_hash_key, HW_HASH_KEY_SIZE); in bnxt_create_rxfh_context()
1952 bp->rss_hash_key, HW_HASH_KEY_SIZE); in bnxt_create_rxfh_context()
H A Dbnxt.h1274 u64 *rss_hash_key; member
2399 u8 rss_hash_key[HW_HASH_KEY_SIZE]; member
H A Dbnxt.c4558 if (bp->vnic_info[i].rss_hash_key) { in bnxt_init_vnics()
4560 u8 *key = (void *)vnic->rss_hash_key; in bnxt_init_vnics()
4565 get_random_bytes(bp->rss_hash_key, in bnxt_init_vnics()
4570 memcpy(vnic->rss_hash_key, bp->rss_hash_key, in bnxt_init_vnics()
4585 memcpy(vnic->rss_hash_key, vnic0->rss_hash_key, in bnxt_init_vnics()
4811 vnic->rss_hash_key = NULL; in bnxt_free_vnic_attributes()
4884 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_attributes()
15011 return bnxt_toeplitz(bp, fkeys, (void *)vnic->rss_hash_key); in bnxt_get_ntp_filter_idx()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c547 memcpy(&rss_cfg->rss_hash_key[hash_key_index], in hclgevf_get_rss_hash_key()
551 memcpy(&rss_cfg->rss_hash_key[hash_key_index], in hclgevf_get_rss_hash_key()
574 memcpy(key, rss_cfg->rss_hash_key, in hclgevf_get_rss()
2186 rss_cfg->rss_hash_key); in hclgevf_rss_init_hw()