From: Matt Bennett <Matt.Bennett@alliedtelesis.co.nz>
To: "fw@strlen.de" <fw@strlen.de>
Cc: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>
Subject: Re: Extending connmark to 64 bits
Date: Thu, 19 Nov 2015 03:35:16 +0000 [thread overview]
Message-ID: <1447904116.12623.2.camel@mattb-dl> (raw)
In-Reply-To: <20151119030011.GA6710@breakpoint.cc>
On Thu, 2015-11-19 at 04:00 +0100, Florian Westphal wrote:
> Matt Bennett <Matt.Bennett@alliedtelesis.co.nz> wrote:
> > Currently we have a number of router features making use of connection
> > tracking. As such we now require more than the 32 bits connmark
> > currently has. Our first inclination is to extend this field to 64 bits
> > and update related areas of code appropriately.
> >
> > The major question we have is whether there is a reason this field is 32
> > bits (performance reasons or other)?
>
> Its meant to align with skb->mark.
I thought that could be the case. Probably the wrong mailing-list to be
asking this on but is increasing the number of bits for the skb->mark
then a possibility? The number of bits available for marking becomes the
limiting factor when you have a number of applications needing to mark
packets.
>
> > If it is not possible to extend this field then perhaps there are other
> > options (beyond disabling some features making use of connection
> > tracking)?
>
> Have you looked at using conntrack labels?
>
> Its a 128bit storage area.
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-11-19 3:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-17 23:14 Extending connmark to 64 bits Matt Bennett
2015-11-19 3:00 ` Florian Westphal
2015-11-19 3:35 ` Matt Bennett [this message]
2015-11-19 21:32 ` Florian Westphal
2015-11-19 22:55 ` Matt Bennett
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=1447904116.12623.2.camel@mattb-dl \
--to=matt.bennett@alliedtelesis.co.nz \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).