netmap: understanding pkg-gen.c
Luigi Rizzo
rizzo at iet.unipi.it
Thu Oct 3 07:04:56 UTC 2013
On Thu, Oct 3, 2013 at 8:51 AM, hiren panchasara <hiren.panchasara at gmail.com
> wrote:
>
> But you will still see traffic only to one queue, because
>> pkt-gen by default uses the same DST-MAC address so the
>> way you configure RSS is irrelevant.
>>
> What/where is the exact logic/code of how card determines what traffic
> goes to what queue?
> Is it based on DST-MAC always?
>
i think it depends on how you configure it. the NIC has some
flexible filters, and i do not know exactly how it is used.
> What you could do is, when prefilling the buffers, use
>> different mac or ip addresses. There is some unfinished
>> code in pkt-gen.c to implement that.
>>
>
> I see we are not playing with g.dst_mac.name much.
> Let me know if you have unfinished code sitting somewhere I can look.
>
all i have is unfinished and is in the pkt-gen.c in the freebsd source tree
(src/tools/netmap i believe)
cheers
luigi
More information about the freebsd-net
mailing list