All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Ryan Johnston <ryan@mediapixel.co.nz>
Cc: Florian Westphal <fw@strlen.de>, netfilter-devel@vger.kernel.org
Subject: Re: netlink multi-thread / libmnl / nfq
Date: Wed, 3 Jun 2015 00:23:09 +0200	[thread overview]
Message-ID: <20150602222309.GC11015@breakpoint.cc> (raw)
In-Reply-To: <CAJ0j+bpKjLYH7jQRL3QTkrhn36-5uOst9O-Ymh8eZ6BUY5uNWA@mail.gmail.com>

Ryan Johnston <ryan@mediapixel.co.nz> 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.

  reply	other threads:[~2015-06-02 22:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 21:17 netlink multi-thread / libmnl / nfq Ryan Johnston
2015-06-02 21:22 ` Florian Westphal
2015-06-02 21:55   ` Ryan Johnston
2015-06-02 22:23     ` Florian Westphal [this message]
2015-06-02 22:25       ` Ryan Johnston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150602222309.GC11015@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=ryan@mediapixel.co.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.