Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 20:55:19 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        Navdeep Parhar <np@freebsd.org>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: netmap custom RSS and custom packet info
Message-ID:  <20150629175519.GJ1647@zxy.spb.ru>
In-Reply-To: <CAJ-VmonCC6ZDyFR6ix58LHmgra-dWAZ22bXur_0kJJpg=ySd3A@mail.gmail.com>
References:  <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> <CAJ-Vmo=OY3rjTR%2Bc-WMT2k7_gNNrY-bBEKB=%2BAhnZ6t5aa1Jzw@mail.gmail.com> <20150629173402.GI1647@zxy.spb.ru> <CAJ-VmonCC6ZDyFR6ix58LHmgra-dWAZ22bXur_0kJJpg=ySd3A@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Mon, Jun 29, 2015 at 10:41:39AM -0700, Adrian Chadd wrote:

> Hi,
> 
> PPPoE will not be hashed according to RSS on the 1g/10g (igb, ixgbe)
> intel hardware. you're going to have to figure out some other method
> for traffic redistribution.

I propose ephemeral but permanent NETMAP RX pipe with redistribution
function from user-loadable kernel module.

Hardware RxRing(i) => loadable hash => user-visible RxRing(j).

As I perceive overhead is packet-parsing and hash computation +
swaping of slot indexes (zero-copying between hardware ring and
user-visible ring).

In other (Tx) direction user-visible direct mapped to hardware ring.

> If it's inside GRE, then it's IPv4/IPv6 and thus yes, you can do
> symmetric hashing. But if it's raw pppoe coming in, you're SoL.

This is will be only hashed tunnel IPs, yes?
Not sessions inside tunnel.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150629175519.GJ1647>