Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2017 22:04:54 -0400
From:      Paras Jha <dreadiscool@gmail.com>
To:        Vincenzo Maffione <v.maffione@gmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Netmap pipe zero-copy with NIC buffer?
Message-ID:  <CAMs8r4M1wV4C5CCZcF=uTag8fd5cfBD6ovgabOt0VDKC6=9Qew@mail.gmail.com>
In-Reply-To: <CA%2B_eA9jRKDFJnCrOyNjQFK2FXPV3E6s=D7yA0w-5k4gTBDLqqA@mail.gmail.com>
References:  <CAMs8r4O6TmHnkoMJRTKV2LZ-BejCeyvj%2BWLvc8DJAfAUWxgscQ@mail.gmail.com> <CA%2B_eA9jRKDFJnCrOyNjQFK2FXPV3E6s=D7yA0w-5k4gTBDLqqA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Apologies, by KB I meant kernel bypass, since it is possible to open a
netmap port without bypassing the kernel. I didn't know if this would
affect it or not.

On Sun, Apr 9, 2017 at 3:20 AM, Vincenzo Maffione <v.maffione@gmail.com>
wrote:

> Hi,
>   Yes, when you nm_open("netmap:em3{2", ...), you're opening a netmap pipe
> in the same netmap memory area as the one used by nm_open("netmap:em3",
> ...).
> As a result, you can zero-copy packets from NIC rings to pipe rings.
>
> What do you mean by "KB mode"?
>
> Cheers,
>   Vincenzo
>
> 2017-04-08 19:56 GMT+02:00 Paras Jha <dreadiscool@gmail.com>:
>
>> Hi all,
>>
>> Is it possible to have a netmap pipe share memory with a netmap port
>> opened
>> in KB mode for zero-copy purposes?
>>
>> All the best
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>
>
>
>
> --
> Vincenzo Maffione
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMs8r4M1wV4C5CCZcF=uTag8fd5cfBD6ovgabOt0VDKC6=9Qew>