[dpdk-dev] [PATCH v2 0/7] examples/ip_pipeline: CLI rework and improvements

2016-06-08 Thread Azarewicz, PiotrX T
> > Piotr Azarewicz (7):
> >   examples/ip_pipeline: add helper functions for parsing string
> >   examples/ip_pipeline: modifies common pipeline CLI
> >   examples/ip_pipeline: modifies firewall pipeline CLI
> >   examples/ip_pipeline: modifies flow classifications pipeline CLI
> >   examples/ip_pipeline: modifies flow action pipeline CLI
> >   examples/ip_pipeline: modifies routing pipeline CLI
> >   examples/ip_pipeline: update edge router usecase
> 
> Please take care of the authorship in patches 2, 3 and 4.
> It is probably wrong. You can fix it with git commit --amend --author in an
> interactive rebase.
> To avoid such issue, you must use git-am to apply patches.

Thanks Thomas for hints.


[dpdk-dev] [PATCH v2 0/7] examples/ip_pipeline: CLI rework and improvements

2016-06-07 Thread Thomas Monjalon
> Piotr Azarewicz (7):
>   examples/ip_pipeline: add helper functions for parsing string
>   examples/ip_pipeline: modifies common pipeline CLI
>   examples/ip_pipeline: modifies firewall pipeline CLI
>   examples/ip_pipeline: modifies flow classifications pipeline CLI
>   examples/ip_pipeline: modifies flow action pipeline CLI
>   examples/ip_pipeline: modifies routing pipeline CLI
>   examples/ip_pipeline: update edge router usecase

Please take care of the authorship in patches 2, 3 and 4.
It is probably wrong. You can fix it with git commit --amend --author
in an interactive rebase.
To avoid such issue, you must use git-am to apply patches.


[dpdk-dev] [PATCH v2 0/7] examples/ip_pipeline: CLI rework and improvements

2016-05-20 Thread Piotr Azarewicz
Using the latest librte_cmdline improvements, the CLI implementation of the
ip_pipeline application is streamlined and improved, which results in
eliminating thousands of lines of code from the application, thus leading to
code that is easier to maintain and extend.

v2 changes:
- added functions for parsing hex values
- added standard error messages for CLI and file bulk
- for all CLI commands: separate code paths for each flavor of each command
(e.g. route add, route add default, route ls, route del, route del default,
etc do not share any line of code)
- for bulk commands: simplified error checking
- added additional config files

Acked-by: Cristian Dumitrescu 

Piotr Azarewicz (7):
  examples/ip_pipeline: add helper functions for parsing string
  examples/ip_pipeline: modifies common pipeline CLI
  examples/ip_pipeline: modifies firewall pipeline CLI
  examples/ip_pipeline: modifies flow classifications pipeline CLI
  examples/ip_pipeline: modifies flow action pipeline CLI
  examples/ip_pipeline: modifies routing pipeline CLI
  examples/ip_pipeline: update edge router usecase

 examples/ip_pipeline/Makefile  |1 +
 examples/ip_pipeline/config/action.cfg |   68 +
 examples/ip_pipeline/config/action.sh  |  119 ++
 examples/ip_pipeline/config/action.txt |8 +
 .../ip_pipeline/config/edge_router_downstream.cfg  |   30 +-
 .../ip_pipeline/config/edge_router_downstream.sh   |7 +-
 .../ip_pipeline/config/edge_router_upstream.cfg|   36 +-
 .../ip_pipeline/config/edge_router_upstream.sh |   37 +-
 examples/ip_pipeline/config/firewall.cfg   |   68 +
 examples/ip_pipeline/config/firewall.sh|   13 +
 examples/ip_pipeline/config/firewall.txt   |9 +
 examples/ip_pipeline/config/flow.cfg   |   72 +
 examples/ip_pipeline/config/flow.sh|   25 +
 examples/ip_pipeline/config/flow.txt   |   17 +
 examples/ip_pipeline/config/l2fwd.cfg  |5 +-
 examples/ip_pipeline/config/l3fwd.cfg  |9 +-
 examples/ip_pipeline/config/l3fwd.sh   |   32 +-
 examples/ip_pipeline/config/l3fwd_arp.cfg  |   70 +
 examples/ip_pipeline/config/l3fwd_arp.sh   |   43 +
 examples/ip_pipeline/config_parse.c|  257 +--
 examples/ip_pipeline/parser.c  |  745 +++
 examples/ip_pipeline/parser.h  |   54 +-
 examples/ip_pipeline/pipeline/pipeline_common_fe.c |  452 ++---
 examples/ip_pipeline/pipeline/pipeline_common_fe.h |9 +
 examples/ip_pipeline/pipeline/pipeline_firewall.c  | 1461 +-
 examples/ip_pipeline/pipeline/pipeline_firewall.h  |   12 +
 .../ip_pipeline/pipeline/pipeline_flow_actions.c   | 1505 +-
 .../ip_pipeline/pipeline/pipeline_flow_actions.h   |   11 +
 .../pipeline/pipeline_flow_classification.c| 2082 +---
 .../pipeline/pipeline_flow_classification.h|   28 +
 examples/ip_pipeline/pipeline/pipeline_routing.c   | 1636 ---
 examples/ip_pipeline/thread_fe.c   |   36 +-
 32 files changed, 4009 insertions(+), 4948 deletions(-)
 create mode 100644 examples/ip_pipeline/config/action.cfg
 create mode 100644 examples/ip_pipeline/config/action.sh
 create mode 100644 examples/ip_pipeline/config/action.txt
 create mode 100644 examples/ip_pipeline/config/firewall.cfg
 create mode 100644 examples/ip_pipeline/config/firewall.sh
 create mode 100644 examples/ip_pipeline/config/firewall.txt
 create mode 100644 examples/ip_pipeline/config/flow.cfg
 create mode 100644 examples/ip_pipeline/config/flow.sh
 create mode 100644 examples/ip_pipeline/config/flow.txt
 create mode 100644 examples/ip_pipeline/config/l3fwd_arp.cfg
 create mode 100644 examples/ip_pipeline/config/l3fwd_arp.sh
 create mode 100644 examples/ip_pipeline/parser.c

-- 
1.7.9.5