refactor: replace some uses of struct rte_kvargs
with api functions
#96
+99
−101
struct rte_kvargs
with api functions
#96