Searched refs:vrl (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 1098 struct virtchnl_rss_lut *vrl; in iavf_set_rss_lut() local 1107 len = virtchnl_struct_size(vrl, lut, adapter->rss_lut_size); in iavf_set_rss_lut() 1108 vrl = kzalloc(len, GFP_KERNEL); in iavf_set_rss_lut() 1109 if (!vrl) in iavf_set_rss_lut() 1111 vrl->vsi_id = adapter->vsi.id; in iavf_set_rss_lut() 1112 vrl->lut_entries = adapter->rss_lut_size; in iavf_set_rss_lut() 1113 memcpy(vrl->lut, adapter->rss_lut, adapter->rss_lut_size); in iavf_set_rss_lut() 1116 iavf_send_pf_msg(adapter, VIRTCHNL_OP_CONFIG_RSS_LUT, (u8 *)vrl, len); in iavf_set_rss_lut() 1117 kfree(vrl); in iavf_set_rss_lut()
|
/Linux-v6.6/include/linux/avf/ |
D | virtchnl.h | 1528 struct virtchnl_rss_lut *vrl = in virtchnl_vc_validate_vf_msg() local 1530 valid_len = virtchnl_struct_size(vrl, lut, in virtchnl_vc_validate_vf_msg() 1531 vrl->lut_entries); in virtchnl_vc_validate_vf_msg()
|
/Linux-v6.6/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 3360 struct virtchnl_rss_lut *vrl = in i40e_vc_config_rss_lut() local 3368 !i40e_vc_isvalid_vsi_id(vf, vrl->vsi_id) || in i40e_vc_config_rss_lut() 3369 vrl->lut_entries != I40E_VF_HLUT_ARRAY_SIZE) { in i40e_vc_config_rss_lut() 3374 for (i = 0; i < vrl->lut_entries; i++) in i40e_vc_config_rss_lut() 3375 if (vrl->lut[i] >= vf->num_queue_pairs) { in i40e_vc_config_rss_lut() 3381 aq_ret = i40e_config_rss(vsi, NULL, vrl->lut, I40E_VF_HLUT_ARRAY_SIZE); in i40e_vc_config_rss_lut()
|
/Linux-v6.6/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 951 struct virtchnl_rss_lut *vrl = (struct virtchnl_rss_lut *)msg; in ice_vc_config_rss_lut() local 960 if (!ice_vc_isvalid_vsi_id(vf, vrl->vsi_id)) { in ice_vc_config_rss_lut() 965 if (vrl->lut_entries != ICE_LUT_VSI_SIZE) { in ice_vc_config_rss_lut() 981 if (ice_set_rss_lut(vsi, vrl->lut, ICE_LUT_VSI_SIZE)) in ice_vc_config_rss_lut()
|