Home
last modified time | relevance | path

Searched refs:temp_key (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c829 struct hinic_rss_template_key temp_key = { 0 }; in hinic_rss_get_template_tbl() local
831 u16 out_size = sizeof(temp_key); in hinic_rss_get_template_tbl()
842 temp_key.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_get_template_tbl()
843 temp_key.template_id = tmpl_idx; in hinic_rss_get_template_tbl()
846 &temp_key, sizeof(temp_key), in hinic_rss_get_template_tbl()
847 &temp_key, &out_size); in hinic_rss_get_template_tbl()
848 if (err || !out_size || temp_key.status) { in hinic_rss_get_template_tbl()
850 err, temp_key.status, out_size); in hinic_rss_get_template_tbl()
854 memcpy(temp, temp_key.key, HINIC_RSS_KEY_SIZE); in hinic_rss_get_template_tbl()
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_main.c2769 struct dsaf_drv_tbl_tcam_key temp_key, mask_key; in set_promisc_tcam_enable() local
2822 memset(&temp_key, 0x0, sizeof(temp_key)); in set_promisc_tcam_enable()
2852 memcpy(&temp_key, &mask_key, sizeof(mask_key)); in set_promisc_tcam_enable()
2860 soft_mac_entry->tcam_key.high.val = temp_key.high.val; in set_promisc_tcam_enable()
2861 soft_mac_entry->tcam_key.low.val = temp_key.low.val; in set_promisc_tcam_enable()