qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jason Baron <jbaron@akamai.com>
To: mst@redhat.com
Cc: jasowang@redhat.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/4] virtio-net: allow linkspeed and duplex setting
Date: Thu,  1 Mar 2018 22:46:32 -0500	[thread overview]
Message-ID: <cover.1519961667.git.jbaron@akamai.com> (raw)

Hi,

Linux can now read linkspeed and duplex settings as set by the
hypervisor:

faa9b39 virtio_net: propagate linkspeed/duplex settings from the hypervisor

This series thus adds qemu support. Michael Tsirkin requested that we pull
in the linkspeed/duplex defines from include/linux/ethtool.h. I started to
do that and it seems to require a number of addtional headers. It seemed
like a lot of extra headers for only a few defines so I've added them all
to include/net/eth.h.

Also, this patchset depends on this header sync:

https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg07072.html

Thanks,

-Jason

Jason Baron (4):
  eth: add speed and duplex definitions
  rocker: drop local duplex definitions
  virtio-net: use 64-bit values for feature flags
  virtio-net: add linkspeed and duplex settings to virtio-net

 hw/net/rocker/rocker_fp.c      |  6 +---
 hw/net/virtio-net.c            | 81 ++++++++++++++++++++++++++++--------------
 include/hw/virtio/virtio-net.h |  5 ++-
 include/net/eth.h              |  7 ++++
 4 files changed, 66 insertions(+), 33 deletions(-)

-- 
2.7.4

             reply	other threads:[~2018-03-02  3:47 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02  3:46 Jason Baron [this message]
2018-03-02  3:46 ` [Qemu-devel] [PATCH 1/4] eth: add speed and duplex definitions Jason Baron
2018-03-02 17:54   ` Michael S. Tsirkin
2018-03-06 17:53     ` Jason Baron
2018-03-06 18:15       ` Michael S. Tsirkin
2018-03-08  3:46         ` Jason Baron
2018-03-02  3:46 ` [Qemu-devel] [PATCH 2/4] rocker: drop local " Jason Baron
2018-03-02 17:57   ` Michael S. Tsirkin
2018-03-02  3:46 ` [Qemu-devel] [PATCH 3/4] virtio-net: use 64-bit values for feature flags Jason Baron
2018-03-02  3:46 ` [Qemu-devel] [PATCH 4/4] virtio-net: add linkspeed and duplex settings to virtio-net Jason Baron
2018-03-02  7:14   ` Jason Wang
2018-03-02 16:59     ` Jason Baron
2018-03-02 20:22       ` Michael S. Tsirkin
2018-03-06 17:57         ` Jason Baron
2018-03-02 20:19     ` Michael S. Tsirkin
2018-03-04 13:05       ` [Qemu-devel] [virtio-dev] " Yan Vugenfirer
2018-03-06 18:02         ` Jason Baron
2018-03-06 18:13           ` Michael S. Tsirkin
2018-03-08 12:48             ` Yan Vugenfirer
2018-03-02  3:56 ` [Qemu-devel] [PATCH 0/4] virtio-net: allow linkspeed and duplex setting no-reply
2018-03-02  3:56 ` no-reply
2018-03-02  3:58 ` no-reply
2018-03-02  3:59 ` no-reply
2018-03-02  4:24 ` no-reply
2018-03-02  4:25 ` no-reply

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=cover.1519961667.git.jbaron@akamai.com \
    --to=jbaron@akamai.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).