Searched refs:dglort (Results 1 – 9 of 9) sorted by relevance
499 struct fm10k_dglort_cfg *dglort) in fm10k_configure_dglort_map_pf() argument506 if (!dglort) in fm10k_configure_dglort_map_pf()510 if ((dglort->idx > 7) || (dglort->rss_l > 7) || (dglort->pc_l > 3) || in fm10k_configure_dglort_map_pf()511 (dglort->vsi_l > 6) || (dglort->vsi_b > 64) || in fm10k_configure_dglort_map_pf()512 (dglort->queue_l > 8) || (dglort->queue_b >= 256)) in fm10k_configure_dglort_map_pf()516 queue_count = BIT(dglort->rss_l + dglort->pc_l); in fm10k_configure_dglort_map_pf()517 vsi_count = BIT(dglort->vsi_l + dglort->queue_l); in fm10k_configure_dglort_map_pf()518 glort = dglort->glort; in fm10k_configure_dglort_map_pf()519 q_idx = dglort->queue_b; in fm10k_configure_dglort_map_pf()533 queue_count = BIT(dglort->queue_l + dglort->rss_l + dglort->vsi_l); in fm10k_configure_dglort_map_pf()[all …]
874 glort = l2_accel->dglort + 1 + i; in fm10k_update_vid()1130 glort = l2_accel->dglort + 1 + i; in fm10k_restore_rx_state()1157 glort = l2_accel->dglort + 1 + i; in fm10k_restore_rx_state()1350 struct fm10k_dglort_cfg dglort = { 0 }; in fm10k_dfwd_add_station() local1374 l2_accel->dglort = interface->glort; in fm10k_dfwd_add_station()1413 dglort.idx = fm10k_dglort_pf_rss; in fm10k_dfwd_add_station()1414 dglort.inner_rss = 1; in fm10k_dfwd_add_station()1415 dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); in fm10k_dfwd_add_station()1416 dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); in fm10k_dfwd_add_station()1417 dglort.glort = interface->glort; in fm10k_dfwd_add_station()[all …]
330 struct fm10k_dglort_cfg dglort = { 0 }; in fm10k_iov_resume() local351 dglort.glort = hw->mac.dglort_map & FM10K_DGLORTMAP_NONE; in fm10k_iov_resume()352 dglort.idx = fm10k_dglort_vf_rss; in fm10k_iov_resume()353 dglort.inner_rss = 1; in fm10k_iov_resume()354 dglort.rss_l = fls(fm10k_queues_per_pool(hw) - 1); in fm10k_iov_resume()355 dglort.queue_b = fm10k_vf_queue_index(hw, 0); in fm10k_iov_resume()356 dglort.vsi_l = fls(hw->iov.total_vfs - 1); in fm10k_iov_resume()357 dglort.vsi_b = 1; in fm10k_iov_resume()359 hw->mac.ops.configure_dglort_map(hw, &dglort); in fm10k_iov_resume()
1093 struct fm10k_dglort_cfg dglort = { 0 }; in fm10k_configure_dglort() local1122 dglort.inner_rss = 1; in fm10k_configure_dglort()1123 dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); in fm10k_configure_dglort()1124 dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); in fm10k_configure_dglort()1125 hw->mac.ops.configure_dglort_map(hw, &dglort); in fm10k_configure_dglort()1129 memset(&dglort, 0, sizeof(dglort)); in fm10k_configure_dglort()1130 dglort.inner_rss = 1; in fm10k_configure_dglort()1131 dglort.glort = interface->glort + 64; in fm10k_configure_dglort()1132 dglort.idx = fm10k_dglort_pf_queue; in fm10k_configure_dglort()1133 dglort.queue_l = fls(interface->num_rx_queues - 1); in fm10k_configure_dglort()[all …]
484 struct fm10k_dglort_cfg *dglort) in fm10k_configure_dglort_map_vf() argument487 if (!dglort) in fm10k_configure_dglort_map_vf()
42 u16 dglort; member454 __le16 dglort; member
719 __le16 dglort; member765 __be16 dglort; member
92 rxd->w.length, rxd->w.vlan, rxd->w.dglort, in fm10k_dbg_rx_desc_seq_show()
425 u16 idx = le16_to_cpu(FM10K_CB(skb)->fi.w.dglort) - 1; in fm10k_type_trans()427 idx -= l2_accel->dglort; in fm10k_type_trans()