Home
last modified time | relevance | path

Searched refs:rss_hash_key (Results 1 – 9 of 9) 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/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c757 rss_hash_key_size = sizeof(rss_cfg->rss_hash_key); in hclge_get_rss_key()
770 &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.c1291 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_rss_table()
1910 if (rxfh->key && vnic->rss_hash_key) in bnxt_get_rxfh()
1911 memcpy(rxfh->key, vnic->rss_hash_key, HW_HASH_KEY_SIZE); in bnxt_get_rxfh()
1922 memcpy(rss_ctx->vnic.rss_hash_key, rxfh->key, in bnxt_modify_rss()
1925 memcpy(bp->rss_hash_key, rxfh->key, HW_HASH_KEY_SIZE); in bnxt_modify_rss()
2005 memcpy(vnic->rss_hash_key, bp->rss_hash_key, HW_HASH_KEY_SIZE); in bnxt_create_rxfh_context()
2007 bp->rss_hash_key, HW_HASH_KEY_SIZE); in bnxt_create_rxfh_context()
H A Dbnxt.h1308 u64 *rss_hash_key; member
2435 u8 rss_hash_key[HW_HASH_KEY_SIZE]; member
H A Dbnxt.c4783 if (bp->vnic_info[i].rss_hash_key) { in bnxt_init_vnics()
4785 u8 *key = (void *)vnic->rss_hash_key; in bnxt_init_vnics()
4790 get_random_bytes(bp->rss_hash_key, in bnxt_init_vnics()
4795 memcpy(vnic->rss_hash_key, bp->rss_hash_key, in bnxt_init_vnics()
4810 memcpy(vnic->rss_hash_key, vnic0->rss_hash_key, in bnxt_init_vnics()
5036 vnic->rss_hash_key = NULL; in bnxt_free_vnic_attributes()
5109 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_attributes()
15660 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()
2198 rss_cfg->rss_hash_key); in hclgevf_rss_init_hw()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c1911 memcpy(lif->rss_hash_key, key, IONIC_RSS_HASH_KEY_SIZE); in ionic_lif_rss_config()
1919 memcpy(ctx.cmd.lif_setattr.rss.key, lif->rss_hash_key, in ionic_lif_rss_config()
1951 memset(lif->rss_hash_key, 0, IONIC_RSS_HASH_KEY_SIZE); in ionic_lif_rss_deinit()
3331 netdev_rss_key_fill(lif->rss_hash_key, IONIC_RSS_HASH_KEY_SIZE); in ionic_lif_alloc()