netmap scatter/gather?

K. Macy kmacy at freebsd.org
Sun Nov 12 04:30:52 UTC 2017


On Tue, Nov 7, 2017 at 9:32 AM, Vincenzo Maffione <v.maffione at gmail.com> wrote:
> Hi,
>   In general netmap adapters (i.e. netmap ports) may support NS_MOREFRAG.
> But in practice this is mainly supported on VALE ports.
> So if you don't want to add the missing support by yourself you can simply
> change the netmap buffer size by tuning the sysctl dev.netmap.buf_size, and
> increase it to 9600.
>

When doing vxlan that allows me to avoid copies on encap, but I don't
see any mechanism to avoid a (second) copy on decap where what I'd
like to do is to indicate to VALE that the packet starts at a certain
offset. Am I missing something?


Thanks.


More information about the freebsd-net mailing list