Date: Tue, 27 May 2014 11:49:53 +0200 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Jack Vogel <jfvogel@gmail.com> Cc: FreeBSD Net <freebsd-net@freebsd.org>, Prashant Upadhyaya <praupadhyaya@gmail.com> Subject: Re: Regarding Netmap in VM Message-ID: <CA%2BhQ2%2BhLyB1Obvj1u4oHPFS5To_g4hq9LunH7u4TLNQGXk_zGA@mail.gmail.com> In-Reply-To: <CAFOYbckX72sn0fb%2BMbLtN3bjEcHBtFn0US8GGJs5bmKmbGAE-w@mail.gmail.com> References: <CAPBAu3XfYXV8Y0y2pudvRtprwh0VzpSqK%2BiR_yi5EmMVrC6MOw@mail.gmail.com> <20140526170643.GE40172@onelab2.iet.unipi.it> <CAFOYbckX72sn0fb%2BMbLtN3bjEcHBtFn0US8GGJs5bmKmbGAE-w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 27, 2014 at 5:00 AM, Jack Vogel <jfvogel@gmail.com> wrote: > I don't think we've ever tried this at Intel either. I had meant to check > the ixv code to > see if it had your code in it Luigi but got distracted, if it doesn't the= n > it obviously can't > work for the case of a VM. > =E2=80=8Bixv.c does not contain the netmap hooks though it might be relatively straightforward to add them, possibly reusing the same netmap hooks and support functions used in ixgbe.c As a matter of fact, there seems to be a large amount of duplicated code between ixv.c and ixgbe.c, so i wonder whether it makes sense to remove the duplication and use just a single copy of the common parts ? cheers luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2BhLyB1Obvj1u4oHPFS5To_g4hq9LunH7u4TLNQGXk_zGA>