DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow
@ 2017-03-31 11:40 Zhiyong Yang
  2017-03-31 11:40 ` [dpdk-dev] [PATCH 1/2] net/virtio: add data elements to turn on/off " Zhiyong Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Zhiyong Yang @ 2017-03-31 11:40 UTC (permalink / raw)
  To: dev; +Cc: yuanhan.liu, maxime.coquelin

Current dpdk code virtio_dev_stop only disables interrupt and marks link down,
When it is invoked, tx/rx traffic flows still work. This is a strange behavior.
The patchset supports the switch of flow by calling virtio_dev_start/stop.

The implementation refers to vhost pmd.

Zhiyong Yang (2):
  net/virtio: add data elements to turn on/off traffic flow
  net/virtio: support to turn on/off the traffic flow

 drivers/net/virtio/virtio_ethdev.c           | 37 +++++++++++++++++++++++++++-
 drivers/net/virtio/virtio_pci.h              |  1 +
 drivers/net/virtio/virtio_rxtx.c             | 12 +++++++++
 drivers/net/virtio/virtio_rxtx.h             |  6 +++++
 drivers/net/virtio/virtio_rxtx_simple.c      |  4 +++
 drivers/net/virtio/virtio_rxtx_simple_neon.c |  5 +++-
 drivers/net/virtio/virtio_rxtx_simple_sse.c  |  5 +++-
 drivers/net/virtio/virtio_user_ethdev.c      |  1 +
 8 files changed, 68 insertions(+), 3 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-04-26  8:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 11:40 [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow Zhiyong Yang
2017-03-31 11:40 ` [dpdk-dev] [PATCH 1/2] net/virtio: add data elements to turn on/off " Zhiyong Yang
2017-04-19  6:29   ` [dpdk-dev] [PATCH v2] net/virtio: support " Zhiyong Yang
2017-04-26  7:45     ` Maxime Coquelin
2017-04-26  7:56       ` Yuanhan Liu
2017-04-26  8:02         ` Maxime Coquelin
2017-03-31 11:40 ` [dpdk-dev] [PATCH 2/2] net/virtio: support to turn on/off the " Zhiyong Yang
2017-04-06  3:59 ` [dpdk-dev] [PATCH 0/2] " Yuanhan Liu
2017-04-17  8:50   ` Yang, Zhiyong
2017-04-19  2:03     ` Yuanhan Liu
2017-04-19  2:31       ` Yang, Zhiyong
2017-04-19  2:58         ` Yuanhan Liu
2017-04-19  5:27           ` Yang, Zhiyong

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).