From: Jason Baron <jbaron@akamai.com>
To: mst@redhat.com, davem@davemloft.net
Cc: jasowang@redhat.com, netdev@vger.kernel.org,
virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org,
virtio-dev@lists.oasis-open.org
Subject: [virtio-dev] [PATCH v3 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
Date: Thu, 4 Jan 2018 00:16:42 -0500 [thread overview]
Message-ID: <cover.1515041373.git.jbaron@akamai.com> (raw)
We have found it useful to be able to set the linkspeed and duplex
settings from the host-side for virtio_net. This obviates the need
for guest changes and settings for these fields, and does not require
custom ethtool commands for virtio_net.
The ability to set linkspeed and duplex is useful in various cases
as described here:
16032be virtio_net: add ethtool support for set and get of settings
Using 'ethtool -s' continues to over-write the linkspeed/duplex
settings with this patch.
The 1/3 patch is against net-next, while the 2-3/3 patch are the associated
qemu changes that would go in after as update-linux-headers.sh should
be run first. So the qemu patches are a demonstration of how I intend this
to work.
Thanks,
-Jason
linux changes:
changes from v2:
* move speed/duplex read into virtnet_config_changed_work() so link up changes
are detected
Jason Baron (1):
virtio_net: propagate linkspeed/duplex settings from the hypervisor
drivers/net/virtio_net.c | 19 ++++++++++++++++++-
include/uapi/linux/virtio_net.h | 13 +++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
qemu changes:
changes from v2:
* if link up return configured speed/duplex, else return UNKNOWN speed and duplex
Jason Baron (2):
qemu: virtio-net: use 64-bit values for feature flags
qemu: add linkspeed and duplex settings to virtio-net
hw/net/virtio-net.c | 89 ++++++++++++++++++++---------
include/hw/virtio/virtio-net.h | 5 +-
include/standard-headers/linux/virtio_net.h | 13 +++++
3 files changed, 79 insertions(+), 28 deletions(-)
--
2.6.1
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
WARNING: multiple messages have this Message-ID (diff)
From: Jason Baron <jbaron@akamai.com>
To: mst@redhat.com, davem@davemloft.net
Cc: jasowang@redhat.com, netdev@vger.kernel.org,
virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org,
virtio-dev@lists.oasis-open.org
Subject: [PATCH v3 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
Date: Thu, 4 Jan 2018 00:16:42 -0500 [thread overview]
Message-ID: <cover.1515041373.git.jbaron@akamai.com> (raw)
We have found it useful to be able to set the linkspeed and duplex
settings from the host-side for virtio_net. This obviates the need
for guest changes and settings for these fields, and does not require
custom ethtool commands for virtio_net.
The ability to set linkspeed and duplex is useful in various cases
as described here:
16032be virtio_net: add ethtool support for set and get of settings
Using 'ethtool -s' continues to over-write the linkspeed/duplex
settings with this patch.
The 1/3 patch is against net-next, while the 2-3/3 patch are the associated
qemu changes that would go in after as update-linux-headers.sh should
be run first. So the qemu patches are a demonstration of how I intend this
to work.
Thanks,
-Jason
linux changes:
changes from v2:
* move speed/duplex read into virtnet_config_changed_work() so link up changes
are detected
Jason Baron (1):
virtio_net: propagate linkspeed/duplex settings from the hypervisor
drivers/net/virtio_net.c | 19 ++++++++++++++++++-
include/uapi/linux/virtio_net.h | 13 +++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
qemu changes:
changes from v2:
* if link up return configured speed/duplex, else return UNKNOWN speed and duplex
Jason Baron (2):
qemu: virtio-net: use 64-bit values for feature flags
qemu: add linkspeed and duplex settings to virtio-net
hw/net/virtio-net.c | 89 ++++++++++++++++++++---------
include/hw/virtio/virtio-net.h | 5 +-
include/standard-headers/linux/virtio_net.h | 13 +++++
3 files changed, 79 insertions(+), 28 deletions(-)
--
2.6.1
WARNING: multiple messages have this Message-ID (diff)
From: Jason Baron <jbaron@akamai.com>
To: mst@redhat.com, davem@davemloft.net
Cc: jasowang@redhat.com, netdev@vger.kernel.org,
virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org,
virtio-dev@lists.oasis-open.org
Subject: [Qemu-devel] [PATCH v3 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
Date: Thu, 4 Jan 2018 00:16:42 -0500 [thread overview]
Message-ID: <cover.1515041373.git.jbaron@akamai.com> (raw)
We have found it useful to be able to set the linkspeed and duplex
settings from the host-side for virtio_net. This obviates the need
for guest changes and settings for these fields, and does not require
custom ethtool commands for virtio_net.
The ability to set linkspeed and duplex is useful in various cases
as described here:
16032be virtio_net: add ethtool support for set and get of settings
Using 'ethtool -s' continues to over-write the linkspeed/duplex
settings with this patch.
The 1/3 patch is against net-next, while the 2-3/3 patch are the associated
qemu changes that would go in after as update-linux-headers.sh should
be run first. So the qemu patches are a demonstration of how I intend this
to work.
Thanks,
-Jason
linux changes:
changes from v2:
* move speed/duplex read into virtnet_config_changed_work() so link up changes
are detected
Jason Baron (1):
virtio_net: propagate linkspeed/duplex settings from the hypervisor
drivers/net/virtio_net.c | 19 ++++++++++++++++++-
include/uapi/linux/virtio_net.h | 13 +++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
qemu changes:
changes from v2:
* if link up return configured speed/duplex, else return UNKNOWN speed and duplex
Jason Baron (2):
qemu: virtio-net: use 64-bit values for feature flags
qemu: add linkspeed and duplex settings to virtio-net
hw/net/virtio-net.c | 89 ++++++++++++++++++++---------
include/hw/virtio/virtio-net.h | 5 +-
include/standard-headers/linux/virtio_net.h | 13 +++++
3 files changed, 79 insertions(+), 28 deletions(-)
--
2.6.1
next reply other threads:[~2018-01-04 5:17 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 5:16 Jason Baron [this message]
2018-01-04 5:16 ` [Qemu-devel] [PATCH v3 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting Jason Baron
2018-01-04 5:16 ` Jason Baron
2018-01-04 5:16 ` [virtio-dev] [PATCH v3 2/3] qemu: virtio-net: use 64-bit values for feature flags Jason Baron
2018-01-04 5:16 ` [Qemu-devel] " Jason Baron
2018-01-04 5:16 ` Jason Baron
2018-01-04 5:16 ` Jason Baron via Virtualization
2018-01-04 5:16 ` [PATCH net-next v3 1/3] virtio_net: propagate linkspeed/duplex settings from the hypervisor Jason Baron via Virtualization
2018-01-04 5:16 ` [virtio-dev] " Jason Baron
2018-01-04 5:16 ` [Qemu-devel] " Jason Baron
2018-01-04 5:16 ` Jason Baron
2018-01-04 16:27 ` Michael S. Tsirkin
2018-01-04 16:27 ` [virtio-dev] " Michael S. Tsirkin
2018-01-04 16:27 ` [Qemu-devel] " Michael S. Tsirkin
2018-01-04 16:27 ` Michael S. Tsirkin
2018-01-04 16:57 ` Jason Baron via Virtualization
2018-01-04 16:57 ` [virtio-dev] " Jason Baron
2018-01-04 16:57 ` [Qemu-devel] " Jason Baron
2018-01-04 16:57 ` Jason Baron
2018-01-04 17:02 ` [virtio-dev] " Michael S. Tsirkin
2018-01-04 17:02 ` [Qemu-devel] " Michael S. Tsirkin
2018-01-04 17:02 ` Michael S. Tsirkin
2018-01-04 17:02 ` Michael S. Tsirkin
2018-01-04 17:05 ` [virtio-dev] " Michael S. Tsirkin
2018-01-04 17:05 ` [Qemu-devel] " Michael S. Tsirkin
2018-01-04 17:05 ` Michael S. Tsirkin
2018-01-04 18:12 ` [virtio-dev] " Jason Baron
2018-01-04 18:12 ` [Qemu-devel] " Jason Baron
2018-01-04 18:12 ` Jason Baron
2018-01-04 18:22 ` [virtio-dev] " Michael S. Tsirkin
2018-01-04 18:22 ` [Qemu-devel] " Michael S. Tsirkin
2018-01-04 18:22 ` Michael S. Tsirkin
2018-01-04 18:23 ` Michael S. Tsirkin
2018-01-04 18:23 ` [Qemu-devel] " Michael S. Tsirkin
2018-01-04 18:23 ` Michael S. Tsirkin
2018-01-04 19:34 ` Jason Baron via Virtualization
2018-01-04 19:34 ` [virtio-dev] " Jason Baron
2018-01-04 19:34 ` [Qemu-devel] " Jason Baron
2018-01-04 19:34 ` Jason Baron
2018-01-04 18:12 ` Jason Baron via Virtualization
2018-01-04 17:05 ` Michael S. Tsirkin
2018-01-04 5:16 ` [PATCH v3 3/3] qemu: add linkspeed and duplex settings to virtio-net Jason Baron via Virtualization
2018-01-04 5:16 ` [virtio-dev] " Jason Baron
2018-01-04 5:16 ` [Qemu-devel] " Jason Baron
2018-01-04 5:16 ` Jason Baron
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.1515041373.git.jbaron@akamai.com \
--to=jbaron@akamai.com \
--cc=davem@davemloft.net \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=virtio-dev@lists.oasis-open.org \
--cc=virtualization@lists.linux-foundation.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 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.