Replace SWCFG_[ADDIF|DELIF] with sw_api calls.

Signed-off-by: Andreea Hodea <hodea_andreea@yahoo.com>