Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 09:33:26 +0200
From:      Vincenzo Maffione <v.maffione@gmail.com>
To:        Paras Jha <dreadiscool@gmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Netmap zero-copy with multiple NICs
Message-ID:  <CA%2B_eA9heLF3VcBss%2BJOi%2Bmzk9tTaKivENX0MX24xhEvTcBEWUQ@mail.gmail.com>
In-Reply-To: <CAMs8r4MDNainhr-j8XA7oWMkvtXvoP47oSPfF6CnsdWW3TvzVg@mail.gmail.com>
References:  <CAMs8r4MDNainhr-j8XA7oWMkvtXvoP47oSPfF6CnsdWW3TvzVg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
  Yes, by default netmap packet buffers for all physical nics on your
machine are allocated from the same memory area. This means that you can do
zcopy with the usual swap of netmap slots.

The bridge application is an example. It does zcopy if possible, otherwise
it falls back to copying.

Cheers,
  Vincenzo


Il 18 apr 2017 1:49 AM, "Paras Jha" <dreadiscool@gmail.com> ha scritto:

Is it still possible to share ring buffers across multiple physical network
cards for zero-copy mode, or does the application need to take this into
account and perform a one-copy?
_______________________________________________
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9heLF3VcBss%2BJOi%2Bmzk9tTaKivENX0MX24xhEvTcBEWUQ>