From: "Michael S. Tsirkin" <mst@redhat.com>
To: David Miller <davem@davemloft.net>
Cc: herbert.xu@redhat.com, netdev@vger.kernel.org
Subject: Re: dhclient, checksum and tap
Date: Sun, 27 Jun 2010 11:24:40 +0300 [thread overview]
Message-ID: <20100627082439.GA8472@redhat.com> (raw)
In-Reply-To: <20100626.200320.43025947.davem@davemloft.net>
On Sat, Jun 26, 2010 at 08:03:20PM -0700, David Miller wrote:
> From: "Michael S. Tsirkin" <mst@redhat.com>
> Date: Sun, 27 Jun 2010 00:14:19 +0300
>
> > On Fri, Jun 25, 2010 at 11:21:52AM -0700, David Miller wrote:
> >> We added the af_packet status as the migration path to deal with
> >> this issue in the cleanest manner possible. Putting a new hack
> >> into the TAP driver works contrary to that goal.
> >
> > Hmm, problem is, using the af_packets status requires
> > userspace changes, and so does not help old clients.
> > And for virt, clients might be running old kernels without this support.
> > qemu has a hack to make old guests running within qemu work.
> > I guess I can copy that hack into vhost - a bit ugly as I don't have
> > access to the original skb there, so I will have to duplcate some logic,
> > but doable. Is this what you suggest? OTOH if we had the workaround in
> > tap, this could replace hacks in both vhost and qemu.
>
> If you add the TAP thing you can _never_ remove it. Exactly for the
> same reason that the qemu thing can never be removed. It'll always be
> needed for the sake of old guests running old stuff.
>
> This is why I truly believe that keeping the af_packet status thing as
> the only kernel side assist is likely best in the long run.
Just to spell it out for me, you think the hack should be done
in vhost-net?
--
MST
next prev parent reply other threads:[~2010-06-27 8:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 15:10 dhclient, checksum and tap Michael S. Tsirkin
2010-06-25 18:21 ` David Miller
2010-06-26 21:14 ` Michael S. Tsirkin
2010-06-27 3:03 ` David Miller
2010-06-27 8:24 ` Michael S. Tsirkin [this message]
2010-06-28 4:59 ` David Miller
2010-06-27 15:46 ` [PATCH RFC] vhost-net: add dhclient work-around from userspace Michael S. Tsirkin
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=20100627082439.GA8472@redhat.com \
--to=mst@redhat.com \
--cc=davem@davemloft.net \
--cc=herbert.xu@redhat.com \
--cc=netdev@vger.kernel.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).