> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Matz > Sent: Tuesday, January 28, 2014 4:07 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 06/11] kvargs: simpler parsing and allow > duplicated keys > > Remove the rte_kvargs_add_pair() function whose only role was to check if > a key is duplicated. Having duplicated keys is now allowed by kvargs API. > > Also replace rte_strsplit() by more a standard function strtok_r() that is > easier to understand for people already knowing the libc. It also avoids > useless calls to strnlen(). The delimiters macros become strings instead of > chars due to the strtok_r() API. > > Signed-off-by: Olivier Matz <olivier.matz at 6wind.com> > --- > lib/librte_kvargs/rte_kvargs.c | 71 > ++++++++++-------------------------------- > lib/librte_kvargs/rte_kvargs.h | 8 +++-- > 2 files changed, 22 insertions(+), 57 deletions(-) > Acked-by: Bruce Richardson <bruce.richardson at intel.com>
- [dpdk-dev] [PATCH 02/11] kvargs: use the new librar... Richardson, Bruce
- [dpdk-dev] [PATCH 03/11] kvargs: remove driver name in a... Olivier Matz
- [dpdk-dev] [PATCH 03/11] kvargs: remove driver name... Richardson, Bruce
- [dpdk-dev] [PATCH 04/11] kvargs: remove useless size fie... Olivier Matz
- [dpdk-dev] [PATCH 04/11] kvargs: remove useless siz... Richardson, Bruce
- [dpdk-dev] [PATCH 05/11] kvargs: rework API to fix memor... Olivier Matz
- [dpdk-dev] [PATCH 05/11] kvargs: rework API to fix ... Richardson, Bruce
- [dpdk-dev] [PATCH 06/11] kvargs: simpler parsing and all... Olivier Matz
- [dpdk-dev] [PATCH 06/11] kvargs: simpler parsing an... Richardson, Bruce
- [dpdk-dev] [PATCH 06/11] kvargs: simpler parsin... Olivier MATZ
- [dpdk-dev] [PATCH 06/11] kvargs: simpler parsing an... Richardson, Bruce
- [dpdk-dev] [PATCH 07/11] kvargs: be strict when matching... Olivier Matz
- [dpdk-dev] [PATCH 07/11] kvargs: be strict when mat... Richardson, Bruce
- [dpdk-dev] [PATCH 08/11] kvargs: add const attribute in ... Olivier Matz
- [dpdk-dev] [PATCH 08/11] kvargs: add const attribut... Richardson, Bruce
- [dpdk-dev] [PATCH 09/11] kvargs: add the key in handler ... Olivier Matz
- [dpdk-dev] [PATCH 09/11] kvargs: add the key in han... Richardson, Bruce
- [dpdk-dev] [PATCH 10/11] kvargs: make the NULL key to ma... Olivier Matz
- [dpdk-dev] [PATCH 10/11] kvargs: make the NULL key ... Richardson, Bruce
- [dpdk-dev] [PATCH 11/11] kvargs: add test case in app/te... Olivier Matz
- [dpdk-dev] [PATCH 11/11] kvargs: add test case in a... Richardson, Bruce