qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: sfeldma@gmail.com
To: qemu-devel@nongnu.org
Cc: stefanha@gmail.com, jiri@resnulli.us, dsahern@gmail.com
Subject: [Qemu-devel] [PATCH v3 0/4] rocker device updates
Date: Fri, 29 May 2015 07:01:45 -0700	[thread overview]
Message-ID: <1432908109-31559-1-git-send-email-sfeldma@gmail.com> (raw)

From: Scott Feldman <sfeldma@gmail.com>

v3:

Address review comments from Stefan Hajnoczi:

 - Add missing hw/net/rocker/qmp-norocker.c file.
 - Add missing curly brackets to a for loop

v2:

Address some review comments by Stefan Hajnoczi: see individual patches for
v1->v2 changes.

v1:

Some rocker device updates we've been holding onto waiting for base rocker
device to be pulled into 2.4.  David added support for the device to return the
physical port name, which in turn can be used by the OS to name the interface.
I added a small change the bringe link up/down when port is enabled/disabled.

The big addition is adding qmp/hmp support to rocker.  This was included in the
original rocker device patch set, but pulled as there where last-minute issues
with building on non-PCI targets.  These issues have been addressed by stubbing
out qmp/hmp support when rocker device is built for non-PCI targets.

David Ahern (1):
  rocker: Add support for phys name

Scott Feldman (3):
  rocker: update tests using hw-derived interface names
  rocker: bring link up/down on PHY enable/disable
  qmp/hmp: add rocker device support

 docs/specs/rocker.txt         |    1 +
 hmp-commands.hx               |   24 ++++
 hmp.c                         |  303 +++++++++++++++++++++++++++++++++++++++
 hmp.h                         |    4 +
 hw/net/Makefile.objs          |    1 +
 hw/net/rocker/qmp-norocker.c  |   50 +++++++
 hw/net/rocker/rocker.c        |   68 ++++++++-
 hw/net/rocker/rocker_fp.c     |   29 +++-
 hw/net/rocker/rocker_fp.h     |    2 +
 hw/net/rocker/rocker_hw.h     |    1 +
 hw/net/rocker/rocker_of_dpa.c |  312 +++++++++++++++++++++++++++++++++++++++++
 monitor.c                     |   28 ++++
 qapi-schema.json              |    3 +
 qapi/rocker.json              |  286 +++++++++++++++++++++++++++++++++++++
 qmp-commands.hx               |   97 +++++++++++++
 tests/rocker/bridge           |   25 ++--
 tests/rocker/bridge-stp       |   25 ++--
 tests/rocker/bridge-vlan      |   37 +++--
 tests/rocker/bridge-vlan-stp  |   37 +++--
 tests/rocker/port             |    8 +-
 20 files changed, 1263 insertions(+), 78 deletions(-)
 create mode 100644 hw/net/rocker/qmp-norocker.c
 create mode 100644 qapi/rocker.json

-- 
1.7.10.4

             reply	other threads:[~2015-05-29 14:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29 14:01 sfeldma [this message]
2015-05-29 14:01 ` [Qemu-devel] [PATCH v3 1/4] rocker: Add support for phys name sfeldma
2015-06-02 16:27   ` Eric Blake
2015-05-29 14:01 ` [Qemu-devel] [PATCH v3 2/4] rocker: update tests using hw-derived interface names sfeldma
2015-05-29 14:01 ` [Qemu-devel] [PATCH v3 3/4] rocker: bring link up/down on PHY enable/disable sfeldma
2015-05-29 14:01 ` [Qemu-devel] [PATCH v3 4/4] qmp/hmp: add rocker device support sfeldma
2015-06-02 15:07   ` Stefan Hajnoczi
2015-06-02 16:32   ` Eric Blake
2015-06-02 15:09 ` [Qemu-devel] [PATCH v3 0/4] rocker device updates Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432908109-31559-1-git-send-email-sfeldma@gmail.com \
    --to=sfeldma@gmail.com \
    --cc=dsahern@gmail.com \
    --cc=jiri@resnulli.us \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).