All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] app/testpmd: introduce new commands in forward topology
@ 2018-05-09 12:34 Wisam Jaddo
  2018-05-09 12:34 ` [PATCH 1/2] app/testpmd: add custom topology command Wisam Jaddo
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Wisam Jaddo @ 2018-05-09 12:34 UTC (permalink / raw)
  To: jingjing.wu, wenzhuo.lu, thomas; +Cc: rasland, dev, shahafs, wisamm

1- Add new forward topology (custom): This toplogy will
allow to create any topoloy you may need.
2- Add new command to set the custom toplogy.
3- Add new command to set the topoly on the fly.

Wisam Jaddo (2):
  app/testpmd: add custom topology command
  app/testpmd: add set topology on the fly command

 app/test-pmd/cmdline.c                      | 91 +++++++++++++++++++++++++++++
 app/test-pmd/config.c                       | 65 +++++++++++++++++++++
 app/test-pmd/parameters.c                   |  6 +-
 app/test-pmd/testpmd.h                      |  9 ++-
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 16 +++++
 5 files changed, 184 insertions(+), 3 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] app/testpmd: add custom topology command
@ 2018-05-15 14:05 Wisam Monther
  2018-05-16 12:40 ` Kevin Traynor
  0 siblings, 1 reply; 8+ messages in thread
From: Wisam Monther @ 2018-05-15 14:05 UTC (permalink / raw)
  To: jingjing.wu, wenzhuo.lu, Thomas Monjalon, Kevin Traynor
  Cc: Raslan Darawsheh, dev, Shahaf Shuler

Hey Kevin,

What if I have 10 ports and want all 9 ports to forward packets to port 0, this cannot done in paired.
But with this topo the user can overwrite the topo.
E.g:
- Set custom-topo 1 0
Will make those paired and those two as active only.

- set custom-topo 2 0
Will make those two as paired, but still port one will forward packets to 0.
And the active ports will be 3 ports (0,1,2)
And so on...
With this topo you can create your own topo. (Mixed between all topos or even non-pattern topo for any usage)
In my case its needed for representors and virtio.

Any traffic coming from representors/vhost (from VM) need to be forwarded from PF/phy port to the wire.

This new topo is useful for such cases.

BRs,
Wisam jaddo

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

end of thread, other threads:[~2018-05-16 14:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 12:34 [PATCH 0/2] app/testpmd: introduce new commands in forward topology Wisam Jaddo
2018-05-09 12:34 ` [PATCH 1/2] app/testpmd: add custom topology command Wisam Jaddo
2018-05-15 13:15   ` Kevin Traynor
2018-05-09 12:34 ` [PATCH 2/2] app/testpmd: add set topology on the fly command Wisam Jaddo
2018-05-16 14:55 ` [PATCH 0/2] app/testpmd: introduce new commands in forward topology Gaëtan Rivet
2018-05-15 14:05 [PATCH 1/2] app/testpmd: add custom topology command Wisam Monther
2018-05-16 12:40 ` Kevin Traynor
2018-05-16 12:43   ` Wisam Monther

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.