Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c1096 struct virtchnl_rss_lut *vrl; in iavf_set_rss_lut() local
1107 vrl = kzalloc(len, GFP_KERNEL); in iavf_set_rss_lut()
1108 if (!vrl) in iavf_set_rss_lut()
1110 vrl->vsi_id = adapter->vsi.id; in iavf_set_rss_lut()
1111 vrl->lut_entries = adapter->rss_lut_size; in iavf_set_rss_lut()
1112 memcpy(vrl->lut, adapter->rss_lut, adapter->rss_lut_size); in iavf_set_rss_lut()
1115 iavf_send_pf_msg(adapter, VIRTCHNL_OP_CONFIG_RSS_LUT, (u8 *)vrl, len); in iavf_set_rss_lut()
1116 kfree(vrl); in iavf_set_rss_lut()
/linux-5.19.10/include/linux/avf/
Dvirtchnl.h1467 struct virtchnl_rss_lut *vrl = in virtchnl_vc_validate_vf_msg() local
1469 valid_len += vrl->lut_entries - 1; in virtchnl_vc_validate_vf_msg()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3249 struct virtchnl_rss_lut *vrl = in i40e_vc_config_rss_lut() local
3257 !i40e_vc_isvalid_vsi_id(vf, vrl->vsi_id) || in i40e_vc_config_rss_lut()
3258 vrl->lut_entries != I40E_VF_HLUT_ARRAY_SIZE) { in i40e_vc_config_rss_lut()
3263 for (i = 0; i < vrl->lut_entries; i++) in i40e_vc_config_rss_lut()
3264 if (vrl->lut[i] >= vf->num_queue_pairs) { in i40e_vc_config_rss_lut()
3270 aq_ret = i40e_config_rss(vsi, NULL, vrl->lut, I40E_VF_HLUT_ARRAY_SIZE); in i40e_vc_config_rss_lut()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c925 struct virtchnl_rss_lut *vrl = (struct virtchnl_rss_lut *)msg; in ice_vc_config_rss_lut() local
934 if (!ice_vc_isvalid_vsi_id(vf, vrl->vsi_id)) { in ice_vc_config_rss_lut()
939 if (vrl->lut_entries != ICE_VSIQF_HLUT_ARRAY_SIZE) { in ice_vc_config_rss_lut()
955 if (ice_set_rss_lut(vsi, vrl->lut, ICE_VSIQF_HLUT_ARRAY_SIZE)) in ice_vc_config_rss_lut()