Re: netlink multi-thread / libmnl / nfq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Okay, is there any performance loss by havin more sockets connected to
the kernel? Or does --queue-balance just rotate each packet to each
socket/thread?

On Wed, Jun 3, 2015 at 10:23 AM, Florian Westphal <fw@xxxxxxxxx> wrote:
> Ryan Johnston <ryan@xxxxxxxxxxxxxxxx> wrote:
>> Yes with --queue-balance do I open a socket via nfq_open() per thread
>> or do I just have the one nfq_open() and have each thread call
>> nfq_create_queue only?
>
> Apparently both is possible (I had to look it up :-/)
> but i'd suggest to have one fd per queue, i.e. nfq_open() per thread.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux