tests: move test-datapath to openvswitch/tests folder

Move dpdk test-datapath to openvswitch/tests folder

Change-Id: Ia4bf4e5afc72c75caf569b9bbff8a2bc8ba757da
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Reviewed-by: Eimear Morrissey <eimear.morrissey@intel.com>
Signed-off-by: Nicolas Pernas Maradei <nicolasx.pernas.maradei@intel.com>
tests: move test-ovs-vport to openvswitch/tests folder

Change-Id: I772475b6c92c2cb3ccd0837e859cce79517f19ce
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Reviewed-by: Eimear Morrissey <eimear.morrissey@intel.com>
Signed-off-by: Nicolas Pernas Maradei <nicolasx.pernas.maradei@intel.com>
tests: move MEMNIC unit tests to tests folder

Move MEMNIC unit tests to test folder. Separate them from datapath tests
creating its own autotest file and adding main function to
test-memnic.c.

Change-Id: Ib29d700ce39c29817ffcc72ad5fea143ea51d9cc
Signed-off-by: Nicolas Pernas Maradei <nicolasx.pernas.maradei@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
tests: move ut.c and ut.h files to tests folder

Change-Id: Icc9e723dd04e8de9888af39efa250100e81907ef
Signed-off-by: Nicolas Pernas Maradei <nicolasx.pernas.maradei@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
tests: move dpdk-vport-stub to tests folder

Change-Id: I8cd8caa58813628197768e15367f68528d46b480
Signed-off-by: Nicolas Pernas Maradei <nicolasx.pernas.maradei@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
tests: move and rename ovs-vports-info-stub to tests folder

Move ovs-vports-info-stub (dummy application used for ivshm-mngr
integration tests) to openvswitch/tests folder.
Rename it to dummy-vports-info-mock (since it's not a real stub)

Change-Id: Iceb419680bb63f9700a191651f2a492247ff2be4
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Signed-off-by: Nicolas Pernas Maradei <nicolasx.pernas.maradei@intel.com>
tests: remove code duplication

Remove code duplication between ovs-vport unit tests and
vports-info-mock dummy app. Common functions were moved to
dpdk-vport-stub.c.

Change-Id: I9904a0d56080da7dcafe36923f8499b87a21eb80
Signed-off-by: Nicolas Pernas Maradei <nicolasx.pernas.maradei@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
args: Fix truncation of ovs_dpdk command line args

The ovs_dpdk application accepts numerous command line parameters,
as defined in init.h.  Said values are of type uint32_t, yet upon
parsing, they are cast to type uint8_t, resulting in a loss of data.

Resolve this issue by casting to the correct data type in
parse_num_clients.

Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>

Reviewed-By: stephen.finucane@intel.com
Reviewed-By: meghan.halton@intel.com

Change-Id: I24b5a5ab0ac9c43541ad16363627583f8cd6c36c
docs: Update documentation per external review

A number of typos existed in many of the sample configurations in
'docs'. Additionally, formatting was inconsistent among some files.
Correct both issues.

Change-Id: I99ffab63df3166f64f84849735a4b3af6da0c31f
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Reviewed-by: Mark B. Kavanagh <mark.b.kavanagh@intel.com>
ovdk_messages: Fix typo

Change-Id: I59ae6799933f81fff8d17bb1322c573942a00101
Reviewed-by: Mark B. Kavanagh <mark.b.kavanagh@intel.com>
Signed-off-by: Mark D. Gray <mark.d.gray@intel.com>
docs: Add summary of US-vHost to config doc

Add a small summary line for US-vHost in the US-vHost sample
configuration document.

Change-Id: I088386dbcfb46a866e18e45ed681c38dd0450c27
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
Reviewed-by: Ciara Loftus <ciara.loftus@intel.com>