On 6/9/2020 12:59 PM, Qi Zhang wrote:
> Return ICE_ERR_DOES_NOT_EXIST return code if admin command error code is
> ICE_AQ_RC_ENOENT (not exist). ice_aq_sw_rules is used when switch
> rule is getting added/deleted/updated. In case of delete/update
> switch rule, admin command can return ICE_AQ_RC_ENOENT error code
> if such rule does not exist, hence return ICE_ERR_DOES_NOT_EXIST error
> code from ice_aq_sw_rule, so that caller of this fucnction can decide

's/fucnction/function/'

> how to handle ICE_ERR_DOES_NOT_EXIST.
> 
> Allow proper cleanup of internal data structures from ice_rem_adv_rule
> function if ice_aq_sw_rules return error code ICE_ERR_DOES_NOT_EXIST
> otherwise per recipe:rule list will never become empty.
> 
> Signed-off-by: Kiran Patil <kiran.pa...@intel.com>
> Signed-off-by: Paul M. Stillwell Jr <paul.m.stillwell...@intel.com>
> Signed-off-by: Qi Zhang <qi.z.zh...@intel.com>

<...>

Reply via email to