git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/ice/base: fix return value
[dpdk.git]
/
drivers
/
net
/
ice
/
base
/
ice_switch.c
diff --git
a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/base/ice_switch.c
index
01dcace
..
5c53b9e
100644
(file)
--- a/
drivers/net/ice/base/ice_switch.c
+++ b/
drivers/net/ice/base/ice_switch.c
@@
-7661,7
+7661,8
@@
ice_rem_adv_rule_by_id(struct ice_hw *hw,
list_itr->lkups_cnt, &rinfo);
}
}
- return ICE_ERR_PARAM;
+ /* either list is empty or unable to find rule */
+ return ICE_ERR_DOES_NOT_EXIST;
}
/**