Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2014 10:19:04 -0700
From:      Jack Vogel <jfvogel@gmail.com>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, Prashant Upadhyaya <praupadhyaya@gmail.com>
Subject:   Re: Regarding Netmap in VM
Message-ID:  <CAFOYbckgqs3K=vJof=2Qx0qfH2qDjiMewHsCz8Ybi%2BH7%2Ba2KCQ@mail.gmail.com>
In-Reply-To: <CA%2BhQ2%2BhLyB1Obvj1u4oHPFS5To_g4hq9LunH7u4TLNQGXk_zGA@mail.gmail.com>
References:  <CAPBAu3XfYXV8Y0y2pudvRtprwh0VzpSqK%2BiR_yi5EmMVrC6MOw@mail.gmail.com> <20140526170643.GE40172@onelab2.iet.unipi.it> <CAFOYbckX72sn0fb%2BMbLtN3bjEcHBtFn0US8GGJs5bmKmbGAE-w@mail.gmail.com> <CA%2BhQ2%2BhLyB1Obvj1u4oHPFS5To_g4hq9LunH7u4TLNQGXk_zGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ya, it might be nice to do a bunch of cleanup like that,  maybe once the
i40e
release happens I'll have some time to look into that.

Jack



On Tue, May 27, 2014 at 2:49 AM, Luigi Rizzo <rizzo@iet.unipi.it> wrote:

>
>
>
> 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
>> then it obviously can't
>> work for the case of a VM.
>>
>
> ixv.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?CAFOYbckgqs3K=vJof=2Qx0qfH2qDjiMewHsCz8Ybi%2BH7%2Ba2KCQ>