Lines Matching refs:vsi_handle

1252 			 u8 segs_cnt, u16 vsi_handle, u32 conds)  in ice_flow_find_prof_conds()  argument
1264 ice_is_vsi_valid(hw, vsi_handle) && in ice_flow_find_prof_conds()
1265 !test_bit(vsi_handle, p->vsis)) in ice_flow_find_prof_conds()
1476 struct ice_flow_prof *prof, u16 vsi_handle) in ice_flow_assoc_prof() argument
1480 if (!test_bit(vsi_handle, prof->vsis)) { in ice_flow_assoc_prof()
1483 vsi_handle), in ice_flow_assoc_prof()
1486 set_bit(vsi_handle, prof->vsis); in ice_flow_assoc_prof()
1507 struct ice_flow_prof *prof, u16 vsi_handle) in ice_flow_disassoc_prof() argument
1511 if (test_bit(vsi_handle, prof->vsis)) { in ice_flow_disassoc_prof()
1514 vsi_handle), in ice_flow_disassoc_prof()
1517 clear_bit(vsi_handle, prof->vsis); in ice_flow_disassoc_prof()
1609 u64 entry_id, u16 vsi_handle, enum ice_flow_priority prio, in ice_flow_add_entry() argument
1620 if (!ice_is_vsi_valid(hw, vsi_handle)) in ice_flow_add_entry()
1636 status = ice_flow_assoc_prof(hw, blk, prof, vsi_handle); in ice_flow_add_entry()
1644 e->vsi_handle = vsi_handle; in ice_flow_add_entry()
1819 int ice_flow_rem_vsi_prof(struct ice_hw *hw, u16 vsi_handle, u64 prof_id) in ice_flow_rem_vsi_prof() argument
1824 if (!ice_is_vsi_valid(hw, vsi_handle)) in ice_flow_rem_vsi_prof()
1841 if (e->vsi_handle != vsi_handle) in ice_flow_rem_vsi_prof()
1854 status = ice_flow_disassoc_prof(hw, ICE_BLK_FD, prof, vsi_handle); in ice_flow_rem_vsi_prof()
1922 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle) in ice_rem_vsi_rss_list() argument
1931 if (test_and_clear_bit(vsi_handle, r->vsis)) in ice_rem_vsi_rss_list()
1948 int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle) in ice_rem_vsi_rss_cfg() argument
1954 if (!ice_is_vsi_valid(hw, vsi_handle)) in ice_rem_vsi_rss_cfg()
1962 if (test_bit(vsi_handle, p->vsis)) { in ice_rem_vsi_rss_cfg()
1963 status = ice_flow_disassoc_prof(hw, blk, p, vsi_handle); in ice_rem_vsi_rss_cfg()
1987 ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) in ice_rem_rss_list() argument
1998 clear_bit(vsi_handle, r->vsis); in ice_rem_rss_list()
2016 ice_add_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) in ice_add_rss_list() argument
2023 set_bit(vsi_handle, r->vsis); in ice_add_rss_list()
2034 set_bit(vsi_handle, rss_cfg->vsis); in ice_add_rss_list()
2072 ice_add_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, in ice_add_rss_cfg_sync() argument
2098 vsi_handle, in ice_add_rss_cfg_sync()
2110 vsi_handle, ICE_FLOW_FIND_PROF_CHK_VSI); in ice_add_rss_cfg_sync()
2112 status = ice_flow_disassoc_prof(hw, blk, prof, vsi_handle); in ice_add_rss_cfg_sync()
2114 ice_rem_rss_list(hw, vsi_handle, prof); in ice_add_rss_cfg_sync()
2130 vsi_handle, in ice_add_rss_cfg_sync()
2133 status = ice_flow_assoc_prof(hw, blk, prof, vsi_handle); in ice_add_rss_cfg_sync()
2135 status = ice_add_rss_list(hw, vsi_handle, prof); in ice_add_rss_cfg_sync()
2150 status = ice_flow_assoc_prof(hw, blk, prof, vsi_handle); in ice_add_rss_cfg_sync()
2159 status = ice_add_rss_list(hw, vsi_handle, prof); in ice_add_rss_cfg_sync()
2178 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, in ice_add_rss_cfg() argument
2184 !ice_is_vsi_valid(hw, vsi_handle)) in ice_add_rss_cfg()
2188 status = ice_add_rss_cfg_sync(hw, vsi_handle, hashed_flds, addl_hdrs, in ice_add_rss_cfg()
2191 status = ice_add_rss_cfg_sync(hw, vsi_handle, hashed_flds, in ice_add_rss_cfg()
2209 ice_rem_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, in ice_rem_rss_cfg_sync() argument
2228 vsi_handle, in ice_rem_rss_cfg_sync()
2235 status = ice_flow_disassoc_prof(hw, blk, prof, vsi_handle); in ice_rem_rss_cfg_sync()
2242 ice_rem_rss_list(hw, vsi_handle, prof); in ice_rem_rss_cfg_sync()
2266 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, in ice_rem_rss_cfg() argument
2272 !ice_is_vsi_valid(hw, vsi_handle)) in ice_rem_rss_cfg()
2276 status = ice_rem_rss_cfg_sync(hw, vsi_handle, hashed_flds, addl_hdrs, in ice_rem_rss_cfg()
2279 status = ice_rem_rss_cfg_sync(hw, vsi_handle, hashed_flds, in ice_rem_rss_cfg()
2328 int ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 avf_hash) in ice_add_avf_rss_cfg() argument
2334 !ice_is_vsi_valid(hw, vsi_handle)) in ice_add_avf_rss_cfg()
2402 status = ice_add_rss_cfg(hw, vsi_handle, rss_hash, in ice_add_avf_rss_cfg()
2416 int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle) in ice_replay_rss_cfg() argument
2421 if (!ice_is_vsi_valid(hw, vsi_handle)) in ice_replay_rss_cfg()
2426 if (test_bit(vsi_handle, r->vsis)) { in ice_replay_rss_cfg()
2427 status = ice_add_rss_cfg_sync(hw, vsi_handle, in ice_replay_rss_cfg()
2433 status = ice_add_rss_cfg_sync(hw, vsi_handle, in ice_replay_rss_cfg()
2455 u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs) in ice_get_rss_cfg() argument
2461 if (hdrs == ICE_FLOW_SEG_HDR_NONE || !ice_is_vsi_valid(hw, vsi_handle)) in ice_get_rss_cfg()
2466 if (test_bit(vsi_handle, r->vsis) && in ice_get_rss_cfg()