Lines Matching refs:status

332 	int status = -ENOSPC;
378 status = ice_update_pkg_no_lock(hw, ice_pkg_buf(bld), 1);
383 return status;
397 int status;
399 status = ice_upd_dvm_boost_entry(hw, &hw->dvm_upd.tbl[i]);
400 if (status)
401 return status;
449 int status = -ENOSPC;
455 status = -ENOMEM;
490 status = ice_update_pkg(hw, ice_pkg_buf(bld), 1);
491 if (!status)
500 return status;
520 int status = -ENOSPC;
527 status = -EIO;
533 status = -ENOMEM;
561 status = ice_update_pkg(hw, ice_pkg_buf(bld), 1);
562 if (!status)
571 return status;
581 int status;
587 status = ice_create_tunnel(&pf->hw, index, tnl_type, ntohs(ti->port));
588 if (status) {
590 status);
605 int status;
609 status = ice_destroy_tunnel(&pf->hw, ti->hw_priv, tnl_type,
611 if (status) {
613 status);
747 int status;
755 status = ice_ptg_find_ptype(hw, blk, ptype, &original_ptg);
756 if (status)
757 return status;
1105 int status;
1119 status = ice_vsig_find_vsi(hw, blk, vsi, &orig_vsig);
1120 if (status)
1121 return status;
1129 status = ice_vsig_remove_vsi(hw, blk, vsi, orig_vsig);
1130 if (status)
1131 return status;
1352 int status;
1357 status = ice_alloc_hw_res(hw, res_type, 1, false, &get_prof);
1358 if (!status)
1361 return status;
1515 int status = -ENOSPC;
1563 status = 0;
1568 return status;
2416 int status;
2418 status = ice_prof_gen_key(hw, blk, ptg, vsig, cdid, flags, vl_msk,
2420 if (!status) {
2425 return status;
2641 int status;
2675 status = ice_pkg_buf_reserve_section(b, sects);
2676 if (status)
2681 status = ice_prof_bld_es(hw, blk, b, chgs);
2682 if (status)
2687 status = ice_prof_bld_tcam(hw, blk, b, chgs);
2688 if (status)
2693 status = ice_prof_bld_xlt1(blk, b, chgs);
2694 if (status)
2699 status = ice_prof_bld_xlt2(blk, b, chgs);
2700 if (status)
2710 status = -EINVAL;
2715 status = ice_update_pkg(hw, ice_pkg_buf(b), 1);
2716 if (status == -EIO)
2721 return status;
3010 int status;
3017 status = ice_find_prof_id_with_mask(hw, blk, es, masks, symm, &prof_id);
3018 if (status) {
3020 status = ice_alloc_prof_id(hw, blk, &prof_id);
3021 if (status)
3031 status = ice_update_fd_swap(hw, prof_id, es);
3032 if (status)
3035 status = ice_update_prof_masking(hw, blk, prof_id, masks);
3036 if (status)
3048 status = -ENOMEM;
3089 status = ice_add_prof_attrib(prof, ptg, ptype,
3091 if (status == -ENOSPC)
3093 if (status) {
3112 status = 0;
3116 return status;
3174 int status;
3177 status = ice_tcam_write_entry(hw, blk, idx, 0, 0, 0, 0, 0, vl_msk,
3179 if (status)
3180 return status;
3183 status = ice_free_tcam_ent(hw, blk, idx);
3185 return status;
3198 int status;
3204 status = ice_rel_tcam_idx(hw, blk,
3206 if (status)
3232 int status;
3234 status = ice_rem_prof_id(hw, blk, d);
3235 if (status)
3236 return status;
3289 int status;
3295 status = ice_rem_prof_id(hw, blk, p);
3296 if (!status) {
3300 return status;
3316 int status;
3324 status = ice_rem_prof_id_vsig(hw, blk, i, id,
3326 if (status)
3331 status = ice_upd_prof_hw(hw, blk, &chg);
3339 return status;
3355 int status;
3361 status = -ENOENT;
3366 status = ice_rem_flow_all(hw, blk, pmap->profile_cookie);
3367 if (status)
3378 return status;
3394 int status = 0;
3401 status = -ENOENT;
3411 status = -ENOMEM;
3431 return status;
3487 int status = 0;
3493 status = -ENOENT;
3499 status = -ENOMEM;
3517 return status;
3534 int status;
3540 status = ice_vsig_find_vsi(hw, blk, vsi, &orig_vsig);
3541 if (!status)
3542 status = ice_vsig_add_mv_vsi(hw, blk, vsi, vsig);
3544 if (status) {
3546 return status;
3594 int status;
3602 status = ice_rel_tcam_idx(hw, blk, tcam->tcam_idx);
3611 return status;
3619 status = ice_alloc_tcam_ent(hw, blk, tcam->attr.mask == 0,
3621 if (status)
3622 return status;
3629 status = ice_tcam_write_entry(hw, blk, tcam->tcam_idx, tcam->prof_id,
3632 if (status)
3651 return status;
3667 int status;
3696 status = ice_prof_tcam_ena_dis(hw, blk, false,
3700 if (status)
3701 return status;
3707 status = ice_prof_tcam_ena_dis(hw, blk, true,
3711 if (status)
3712 return status;
3744 int status = 0;
3759 status = -ENOENT;
3774 status = -ENOMEM;
3783 status = ice_alloc_tcam_ent(hw, blk, map->attr[i].mask == 0,
3785 if (status) {
3804 status = ice_tcam_write_entry(hw, blk, t->tcam[i].tcam_idx,
3808 if (status) {
3827 return status;
3833 return status;
3850 int status;
3858 status = -EIO;
3862 status = ice_move_vsi(hw, blk, vsi, new_vsig, chg);
3863 if (status)
3866 status = ice_add_prof_id_vsig(hw, blk, new_vsig, hdl, false, chg);
3867 if (status)
3882 return status;
3900 int status;
3907 status = ice_move_vsi(hw, blk, vsi, vsig, chg);
3908 if (status)
3909 return status;
3913 status = ice_add_prof_id_vsig(hw, blk, vsig, t->profile_cookie,
3915 if (status)
3916 return status;
3936 int status;
3947 status = ice_find_dup_props_vsig(hw, blk, &lst, vsig);
3952 return !status;
3973 int status;
3980 status = ice_get_prof(hw, blk, hdl, &chg);
3981 if (status)
3982 return status;
3985 status = ice_vsig_find_vsi(hw, blk, vsi, &vsig);
3986 if (!status && vsig) {
3999 status = -EEXIST;
4004 status = ice_vsig_get_ref(hw, blk, vsig, &ref);
4005 if (status)
4012 status = ice_get_profs_vsig(hw, blk, vsig, &union_lst);
4013 if (status)
4016 status = ice_add_prof_to_lst(hw, blk, &union_lst, hdl);
4017 if (status)
4021 status = ice_find_dup_props_vsig(hw, blk, &union_lst, &vsig);
4022 if (!status) {
4024 status = ice_move_vsi(hw, blk, vsi, vsig, &chg);
4025 if (status)
4032 status = ice_rem_vsig(hw, blk, or_vsig, &chg);
4033 if (status)
4042 status = ice_add_prof_id_vsig(hw, blk, vsig, hdl, false,
4044 if (status)
4048 status = ice_adj_prof_priorities(hw, blk, vsig, &chg);
4049 if (status)
4053 status = ice_create_vsig_from_lst(hw, blk, vsi,
4056 if (status)
4060 status = ice_adj_prof_priorities(hw, blk, vsig, &chg);
4061 if (status)
4070 status = ice_move_vsi(hw, blk, vsi, vsig, &chg);
4071 if (status)
4076 status = ice_create_prof_id_vsig(hw, blk, vsi, hdl,
4078 if (status)
4084 if (!status)
4085 status = ice_upd_prof_hw(hw, blk, &chg);
4098 return status;
4139 int status;
4146 status = ice_vsig_find_vsi(hw, blk, vsi, &vsig);
4147 if (!status && vsig) {
4154 status = ice_vsig_get_ref(hw, blk, vsig, &ref);
4155 if (status)
4170 status = ice_rem_vsig(hw, blk, vsig, &chg);
4171 if (status)
4174 status = ice_rem_prof_id_vsig(hw, blk, vsig,
4176 if (status)
4180 status = ice_adj_prof_priorities(hw, blk, vsig,
4182 if (status)
4188 status = ice_get_profs_vsig(hw, blk, vsig, &copy);
4189 if (status)
4193 status = ice_rem_prof_from_list(hw, &copy, hdl);
4194 if (status)
4198 status = ice_move_vsi(hw, blk, vsi,
4200 if (status)
4212 status = ice_move_vsi(hw, blk, vsi, vsig, &chg);
4213 if (status)
4220 status = ice_create_vsig_from_lst(hw, blk, vsi,
4223 if (status)
4227 status = ice_adj_prof_priorities(hw, blk, vsig,
4229 if (status)
4234 status = -ENOENT;
4238 if (!status)
4239 status = ice_upd_prof_hw(hw, blk, &chg);
4252 return status;