Lines Matching defs:vsi_handle

781  * @vsi_handle: software VSI handle to check VSI (ICE_FLOW_FIND_PROF_CHK_VSI)
787 u8 segs_cnt, u16 vsi_handle, u32 conds)
799 ice_is_vsi_valid(hw, vsi_handle) &&
800 !ice_is_bit_set(p->vsis, vsi_handle))
998 * @vsi_handle: software VSI handle
1006 ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,
1011 if (!ice_is_vsi_valid(hw, vsi_handle) || blk >= ICE_BLK_COUNT)
1015 status = ice_add_vsi_flow(hw, blk, ice_get_hw_vsi_num(hw, vsi_handle),
1027 * @vsi_handle: software VSI handle
1034 struct ice_flow_prof *prof, u16 vsi_handle)
1038 if (!ice_is_bit_set(prof->vsis, vsi_handle)) {
1041 vsi_handle),
1044 ice_set_bit(vsi_handle, prof->vsis);
1058 * @vsi_handle: software VSI handle
1065 struct ice_flow_prof *prof, u16 vsi_handle)
1069 if (ice_is_bit_set(prof->vsis, vsi_handle)) {
1072 vsi_handle),
1075 ice_clear_bit(vsi_handle, prof->vsis);
1331 * @vsi_handle: software VSI handle
1335 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle)
1345 if (ice_test_and_clear_bit(vsi_handle, r->vsis))
1356 * @vsi_handle: software VSI handle
1362 int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle)
1369 if (!ice_is_vsi_valid(hw, vsi_handle))
1382 ice_get_hw_vsi_num(hw, vsi_handle),
1387 if (ice_is_bit_set(p->vsis, vsi_handle)) {
1388 status = ice_flow_disassoc_prof(hw, blk, p, vsi_handle);
1433 * @vsi_handle: software VSI handle
1439 ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof)
1462 ice_clear_bit(vsi_handle, r->vsis);
1474 * @vsi_handle: software VSI handle
1480 ice_add_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof)
1498 ice_set_bit(vsi_handle, r->vsis);
1510 ice_set_bit(vsi_handle, rss_cfg->vsis);
1542 * @vsi_handle: software VSI handle
1548 ice_add_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle,
1579 vsi_handle,
1591 vsi_handle, ICE_FLOW_FIND_PROF_CHK_VSI);
1593 status = ice_flow_disassoc_prof(hw, blk, prof, vsi_handle);
1595 ice_rem_rss_list(hw, vsi_handle, prof);
1611 vsi_handle,
1614 status = ice_flow_assoc_prof(hw, blk, prof, vsi_handle);
1616 status = ice_add_rss_list(hw, vsi_handle, prof);
1631 status = ice_flow_assoc_prof(hw, blk, prof, vsi_handle);
1640 status = ice_add_rss_list(hw, vsi_handle, prof);
1652 * @vsi_handle: software VSI handle
1660 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
1666 if (!ice_is_vsi_valid(hw, vsi_handle) || !cfg ||
1674 status = ice_add_rss_cfg_sync(hw, vsi_handle, &local_cfg);
1677 status = ice_add_rss_cfg_sync(hw, vsi_handle, &local_cfg);
1680 status = ice_add_rss_cfg_sync(hw, vsi_handle,
1692 * @vsi_handle: software VSI handle
1698 ice_rem_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle,
1721 vsi_handle,
1728 status = ice_flow_disassoc_prof(hw, blk, prof, vsi_handle);
1735 ice_rem_rss_list(hw, vsi_handle, prof);
1748 * @vsi_handle: software VSI handle
1758 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
1764 if (!ice_is_vsi_valid(hw, vsi_handle) || !cfg ||
1772 status = ice_rem_rss_cfg_sync(hw, vsi_handle, &local_cfg);
1775 status = ice_rem_rss_cfg_sync(hw, vsi_handle, &local_cfg);
1778 status = ice_rem_rss_cfg_sync(hw, vsi_handle,
1822 * @vsi_handle: software VSI handle
1829 int ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 avf_hash)
1836 !ice_is_vsi_valid(hw, vsi_handle))
1908 status = ice_add_rss_cfg(hw, vsi_handle, &hcfg);
1919 * @vsi_handle: software VSI handle
1921 int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle)
1926 if (!ice_is_vsi_valid(hw, vsi_handle))
1932 if (ice_is_bit_set(r->vsis, vsi_handle)) {
1933 status = ice_add_rss_cfg_sync(hw, vsi_handle, &r->hash);
1946 * @vsi_handle: software VSI handle
1952 u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs)
1958 if (hdrs == ICE_FLOW_SEG_HDR_NONE || !ice_is_vsi_valid(hw, vsi_handle))
1964 if (ice_is_bit_set(r->vsis, vsi_handle) &&