Home
last modified time | relevance | path

Searched refs:vrl (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c878 struct virtchnl_rss_lut *vrl; in iavf_set_rss_lut() local
889 vrl = kzalloc(len, GFP_KERNEL); in iavf_set_rss_lut()
890 if (!vrl) in iavf_set_rss_lut()
892 vrl->vsi_id = adapter->vsi.id; in iavf_set_rss_lut()
893 vrl->lut_entries = adapter->rss_lut_size; in iavf_set_rss_lut()
894 memcpy(vrl->lut, adapter->rss_lut, adapter->rss_lut_size); in iavf_set_rss_lut()
897 iavf_send_pf_msg(adapter, VIRTCHNL_OP_CONFIG_RSS_LUT, (u8 *)vrl, len); in iavf_set_rss_lut()
898 kfree(vrl); in iavf_set_rss_lut()
/kernel/linux/linux-5.10/include/linux/avf/
Dvirtchnl.h794 struct virtchnl_rss_lut *vrl = in virtchnl_vc_validate_vf_msg() local
796 valid_len += vrl->lut_entries - 1; in virtchnl_vc_validate_vf_msg()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3210 struct virtchnl_rss_lut *vrl = in i40e_vc_config_rss_lut() local
3218 !i40e_vc_isvalid_vsi_id(vf, vrl->vsi_id) || in i40e_vc_config_rss_lut()
3219 vrl->lut_entries != I40E_VF_HLUT_ARRAY_SIZE) { in i40e_vc_config_rss_lut()
3224 for (i = 0; i < vrl->lut_entries; i++) in i40e_vc_config_rss_lut()
3225 if (vrl->lut[i] >= vf->num_queue_pairs) { in i40e_vc_config_rss_lut()
3231 aq_ret = i40e_config_rss(vsi, NULL, vrl->lut, I40E_VF_HLUT_ARRAY_SIZE); in i40e_vc_config_rss_lut()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c2150 struct virtchnl_rss_lut *vrl = (struct virtchnl_rss_lut *)msg; in ice_vc_config_rss_lut() local
2160 if (!ice_vc_isvalid_vsi_id(vf, vrl->vsi_id)) { in ice_vc_config_rss_lut()
2165 if (vrl->lut_entries != ICE_VSIQF_HLUT_ARRAY_SIZE) { in ice_vc_config_rss_lut()
2181 if (ice_set_rss(vsi, NULL, vrl->lut, ICE_VSIQF_HLUT_ARRAY_SIZE)) in ice_vc_config_rss_lut()