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

next in thread | previous in thread | raw e-mail | index | archive | help
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?CA%2B_eA9jRKDFJnCrOyNjQFK2FXPV3E6s=D7yA0w-5k4gTBDLqqA>