net/ice/base: fix advanced switch rule stale information
net/ice/base: fix advanced switch rule stale information

To avoid having stale information about "adv_rule" per recipe, when all
rules associated to a given recipe are deleted, reset the "adv_rule"
flag otherwise it causes problem later on when decisions about filter
rules being present or not are made based on "adv_rule" flag.

Removed setting "adv_rule = 1" when recipe is created. It is set
correctly when advanced switch rule is added referring to the recipe
which was created as a result of adding advanced switch rule.

Signed-off-by: Kiran Patil <93cee12cc8d4ad7e9b2eb00af88f5d5b252a9616@intel.com>
Signed-off-by: Paul M Stillwell Jr <e9d07c711ed532f6e96975f8a0cb18bd224808b8@intel.com>
Signed-off-by: Qi Zhang <9e9e58ffa71a29bb7b87766b362515be648fcbe0@intel.com>
Acked-by: Qiming Yang <6f20802c8a43e38f9b475618bd31b5b1ac8c8656@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk