DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/7] cleanup option parsing in bsd/linux eal
@ 2014-09-22  8:37 David Marchand
  2014-09-22  8:37 ` [dpdk-dev] [PATCH 1/7] eal: remove unused --use-device option David Marchand
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: David Marchand @ 2014-09-22  8:37 UTC (permalink / raw)
  To: dev

Following Neil comments, here is a patchset to rework the eal options parsing.
I tried to have everything common to linux and bsd in a single file.

I ran a little make test on linux, it looks fine (at least I have as many fails
as before my changes).

There is still work in this part, but I want to stop here.
If anyone wants to continue ... :-)


-- 
David Marchand

David Marchand (7):
  eal: remove unused --use-device option
  eal: factorise unsupported option handling
  eal: remove duplicate handling of white/black list
  eal: fix checkpatch issues before moving code
  eal: merge bsd and linux common options parsing
  eal: rework long options parsing
  eal: indent files

 lib/librte_eal/bsdapp/eal/Makefile          |    1 +
 lib/librte_eal/bsdapp/eal/eal.c             |  388 +++--------------------
 lib/librte_eal/common/eal_common_options.c  |  392 +++++++++++++++++++++++
 lib/librte_eal/common/include/eal_options.h |   84 +++++
 lib/librte_eal/linuxapp/eal/Makefile        |    1 +
 lib/librte_eal/linuxapp/eal/eal.c           |  457 +++++----------------------
 6 files changed, 593 insertions(+), 730 deletions(-)
 create mode 100644 lib/librte_eal/common/eal_common_options.c
 create mode 100644 lib/librte_eal/common/include/eal_options.h

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-09-23 15:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-22  8:37 [dpdk-dev] [PATCH 0/7] cleanup option parsing in bsd/linux eal David Marchand
2014-09-22  8:37 ` [dpdk-dev] [PATCH 1/7] eal: remove unused --use-device option David Marchand
2014-09-22 12:22   ` Neil Horman
2014-09-22 13:49     ` David Marchand
2014-09-22  8:37 ` [dpdk-dev] [PATCH 2/7] eal: factorise unsupported option handling David Marchand
2014-09-22  8:37 ` [dpdk-dev] [PATCH 3/7] eal: remove duplicate handling of white/black list David Marchand
2014-09-22  8:37 ` [dpdk-dev] [PATCH 4/7] eal: fix checkpatch issues before moving code David Marchand
2014-09-22  8:37 ` [dpdk-dev] [PATCH 5/7] eal: merge bsd and linux common options parsing David Marchand
2014-09-22  8:38 ` [dpdk-dev] [PATCH 6/7] eal: rework long " David Marchand
2014-09-22 12:42   ` Neil Horman
2014-09-22  8:38 ` [dpdk-dev] [PATCH 7/7] eal: indent files David Marchand
2014-09-22 12:43 ` [dpdk-dev] [PATCH 0/7] cleanup option parsing in bsd/linux eal Neil Horman
2014-09-23 15:37   ` Thomas Monjalon

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git