Lines Matching full:lut
1321 struct virtchnl_rss_lut *lut; in ixl_vf_config_rss_lut_msg() local
1326 lut = msg; in ixl_vf_config_rss_lut_msg()
1328 if (lut->lut_entries > 64) { in ixl_vf_config_rss_lut_msg()
1329 device_printf(pf->dev, "VF %d: # of LUT entries in msg (%d) is greater than max (%d)\n", in ixl_vf_config_rss_lut_msg()
1330 vf->vf_num, lut->lut_entries, 64); in ixl_vf_config_rss_lut_msg()
1336 if (lut->vsi_id != vf->vsi.vsi_num) { in ixl_vf_config_rss_lut_msg()
1338 vf->vf_num, lut->vsi_id, vf->vsi.vsi_num); in ixl_vf_config_rss_lut_msg()
1344 /* Fill out LUT using MAC-dependent method */ in ixl_vf_config_rss_lut_msg()
1346 status = i40e_aq_set_rss_lut(hw, vf->vsi.vsi_num, false, lut->lut, lut->lut_entries); in ixl_vf_config_rss_lut_msg()
1355 for (int i = 0; i < (lut->lut_entries / 4); i++) in ixl_vf_config_rss_lut_msg()
1356 i40e_write_rx_ctl(hw, I40E_VFQF_HLUT1(i, vf->vf_num), ((u32 *)lut->lut)[i]); in ixl_vf_config_rss_lut_msg()
1359 DDPRINTF(pf->dev, "VF %d: Programmed LUT starting with 0x%x and length %d ok!", in ixl_vf_config_rss_lut_msg()
1360 vf->vf_num, lut->lut[0], lut->lut_entries); in ixl_vf_config_rss_lut_msg()