Home
last modified time | relevance | path

Searched refs:vrk (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c846 struct virtchnl_rss_key *vrk; in iavf_set_rss_key() local
857 vrk = kzalloc(len, GFP_KERNEL); in iavf_set_rss_key()
858 if (!vrk) in iavf_set_rss_key()
860 vrk->vsi_id = adapter->vsi.id; in iavf_set_rss_key()
861 vrk->key_len = adapter->rss_key_size; in iavf_set_rss_key()
862 memcpy(vrk->key, adapter->rss_key, adapter->rss_key_size); in iavf_set_rss_key()
866 iavf_send_pf_msg(adapter, VIRTCHNL_OP_CONFIG_RSS_KEY, (u8 *)vrk, len); in iavf_set_rss_key()
867 kfree(vrk); in iavf_set_rss_key()
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c2103 struct virtchnl_rss_key *vrk = in ice_vc_config_rss_key() local
2113 if (!ice_vc_isvalid_vsi_id(vf, vrk->vsi_id)) { in ice_vc_config_rss_key()
2118 if (vrk->key_len != ICE_VSIQF_HKEY_ARRAY_SIZE) { in ice_vc_config_rss_key()
2134 if (ice_set_rss(vsi, vrk->key, NULL, 0)) in ice_vc_config_rss_key()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3214 struct virtchnl_rss_key *vrk = in i40e_vc_config_rss_key() local
3221 !i40e_vc_isvalid_vsi_id(vf, vrk->vsi_id) || in i40e_vc_config_rss_key()
3222 vrk->key_len != I40E_HKEY_ARRAY_SIZE) { in i40e_vc_config_rss_key()
3228 aq_ret = i40e_config_rss(vsi, vrk->key, NULL, 0); in i40e_vc_config_rss_key()