From: Vincenzo Maffione <v.maffione@gmail.com>
To: qemu-devel@nongnu.org
Cc: jasowang@redhat.com, rizzo@iet.unipi.it, g.lettieri@iet.unipi.it,
Vincenzo Maffione <v.maffione@gmail.com>
Subject: [Qemu-devel] [PATCH] net: netmap: implement virtio-net header probe
Date: Fri, 5 Feb 2016 11:30:02 +0100 [thread overview]
Message-ID: <cover.1454667697.git.v.maffione@gmail.com> (raw)
Current implementation for netmap backend does not really probe the netmap
kernel module to know whether virtio-net header is supported for a specific
netmap port. This is only correct for VALE ports, but it is not correct for
hardware ports, pipes, etc.
This patch properly implements the missing probe mechanism, fixing the
implementation of the involved hooks (has_vnet_hdr, has_vnet_hdr_len, has_ufo,
...).
Vincenzo Maffione (1):
net: netmap: probe netmap interface for virtio-net header
net/netmap.c | 70 ++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 44 insertions(+), 26 deletions(-)
--
2.7.0
next reply other threads:[~2016-02-05 10:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 10:30 Vincenzo Maffione [this message]
2016-02-05 10:30 ` [Qemu-devel] [PATCH] net: netmap: probe netmap interface for virtio-net header Vincenzo Maffione
2016-02-18 2:52 ` Jason Wang
2016-02-18 13:34 ` Vincenzo Maffione
2016-02-23 3:29 ` Jason Wang
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.1454667697.git.v.maffione@gmail.com \
--to=v.maffione@gmail.com \
--cc=g.lettieri@iet.unipi.it \
--cc=jasowang@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rizzo@iet.unipi.it \
/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).