DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/2] examples/l2fwd: Add option to enable/disable MAC addresses updating
@ 2016-09-23 13:50 Maxime Coquelin
  2016-09-23 13:50 ` [dpdk-dev] [PATCH v2 1/2] examples/l2fwd: Add new " Maxime Coquelin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Maxime Coquelin @ 2016-09-23 13:50 UTC (permalink / raw)
  To: bruce.richardson, pablo.de.lara.guarch, john.mcnamara, dev
  Cc: maxime.coquelin

This series adds a new option to enable/disable MAC addresses updating in
l2fwd example.

Doing that, we can enable basic VM 2 VM communication easily, without
external projects dependencies, nor real NIC (as with vhost example).

Example of cli with vhost-user:

#l2fwd -c f --socket-mem=1024 \
	--vdev 'eth_vhost0,iface=/tmp/vhost-user1,queues=1' \
	--vdev 'eth_vhost1,iface=/tmp/vhost-user2,queues=1' \
	-- -p3 --no-mac-updating

By default, MAC addresses updating remains enabled, but maybe we could
consider having it disabled by default to be consistent with l2fwd-cat
for example.

Changes since v1:
-----------------
 - Rebased on top of master branch
 - s/tweaking/updating/g (John)
 - Re-organize text around images
 - Apply John's Ack

Maxime Coquelin (2):
  examples/l2fwd: Add new option to enable/disable MAC addresses
    updating
  doc: l2fwd: document new --[no-]mac-updating option

 doc/guides/sample_app_ug/img/l2_fwd_vm2vm.svg      | 311 +++++++++++++++++++++
 .../sample_app_ug/l2_forward_real_virtual.rst      |  31 +-
 examples/l2fwd/main.c                              |  39 ++-
 3 files changed, 361 insertions(+), 20 deletions(-)
 create mode 100644 doc/guides/sample_app_ug/img/l2_fwd_vm2vm.svg

-- 
2.7.4

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

end of thread, other threads:[~2016-10-13  7:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 13:50 [dpdk-dev] [PATCH v2 0/2] examples/l2fwd: Add option to enable/disable MAC addresses updating Maxime Coquelin
2016-09-23 13:50 ` [dpdk-dev] [PATCH v2 1/2] examples/l2fwd: Add new " Maxime Coquelin
2016-09-23 13:50 ` [dpdk-dev] [PATCH v2 2/2] doc: l2fwd: document new --[no-]mac-updating option Maxime Coquelin
2016-09-26 10:33   ` Mcnamara, John
2016-09-26 15:36     ` Mcnamara, John
2016-09-26 15:40       ` Maxime Coquelin
2016-10-13  7:26 ` [dpdk-dev] [PATCH v2 0/2] examples/l2fwd: Add option to enable/disable MAC addresses updating Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).