Hi, The handiest way to try flexible flow distribution is using Flow Director.I've confirmed that the patch posted to this list two years ago works with netmap/ixgbe.http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sysctls-to-ixgbe-4-td4769489.html Cheers,- Michio
> Date: Wed, 25 Sep 2013 02:12:54 -0700 > Subject: Re: netmap: traffic distribution > From: [email protected] > To: [email protected] > CC: [email protected] > > On Wed, Sep 25, 2013 at 2:05 AM, Luigi Rizzo <[email protected]> wrote: > > > On Wed, Sep 25, 2013 at 10:53 AM, hiren panchasara > > <[email protected]> wrote: > > > > > > > > > > > > On Wed, Sep 25, 2013 at 1:22 AM, Luigi Rizzo <[email protected]> wrote: > > >> > > >> On Wed, Sep 25, 2013 at 10:07 AM, hiren panchasara > > >> <[email protected]> wrote: > > >> > > > >> > I am providing line rate traffic (via pkg-gen.c) to my 10gig ix > > >> > interface. > > >> > > > >> > Now on receiving side, is there a way to sub-divide the traffic into > > >> > multiple workloads using netmap? > > >> > > > >> > For example, can I get two 5G flows from 10Gbps traffic? > > >> > > >> not directly. You'd need to send packets with different addresses that > > >> match > > >> the way the filters on the NIC (RSS or similar) are programmed. > > > > > > > > > Thanks for quick responses, Liugi. > > > > > > So, FreeBSD needs PF_RING like thing? Any other way we can do it? > > > > no, > > PF_RING does nothing more than netmap. > > > Okay. > > > > > the partitioning of traffic into queues is done by the NIC's hardware, > > through some filters that i mentioned and are NIC specific. > > They are often named RSS (receive side scaling), RFS (receive flow > > steering), > > Flow Director, and so on. Some NICs compute a hash of various header > > fields > > and use the result to direct packets to specific queues. Others have > > "exact match" filters where you can map certain mac headers to > > specific queues, and so on. > > > > Alright. I will investigate more about RSS/RFS for ixgbe. > > Thanks a bunch, > Hiren > > > > > A software demultiplexer that sits on top of a netmap ring > > may certainly be useful, but i have not yet designed it. > > > > > > cheers > > luigi > > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[email protected]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[email protected]"
