netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Zaharinov <micron10@gmail.com>
To: 20230106010251.27038-1-pablo@netfilter.org, pablo@netfilter.org,
	netfilter <netfilter@vger.kernel.org>,
	netfilter-devel@vger.kernel.org
Subject: [nft] src: allow for updating devices on existing netdev chain - Test result
Date: Fri, 6 Jan 2023 17:17:51 +0200	[thread overview]
Message-ID: <DD658C3B-2FB9-451E-893C-EE37ABDC678A@gmail.com> (raw)

Hi Pablo

Patch look good and work but in my test after try to add ppp0 on over chain 1024 receive : Error: Could not process rule: Argument list too long


Test is make like this :


create chain :

for i in `seq 2 9999`; do nft create chain netdev x int$i \{ type filter hook egress priority -500\; policy accept\; \}; done


after that add device: 

for i in `seq 2 9999`; do nft add chain netdev qos int$i '{ devices = { ppp0 }; }'; done


when reach int1023 all is fine but in next 1024 receive this error .

change device from ppp0 to eth0 add device on int1024.

—————

And one more when run add device line this for 1023 line added for 30 sec

Is there options to optimize little more.


Best regards,
Martin

             reply	other threads:[~2023-01-06 15:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 15:17 Martin Zaharinov [this message]
2023-01-06 15:23 ` [nft] src: allow for updating devices on existing netdev chain - Test result Martin Zaharinov
2023-01-12 11:50   ` Martin Zaharinov
2023-01-12 11:53     ` Pablo Neira Ayuso
2023-01-12 12:06 ` Pablo Neira Ayuso

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=DD658C3B-2FB9-451E-893C-EE37ABDC678A@gmail.com \
    --to=micron10@gmail.com \
    --cc=20230106010251.27038-1-pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.org \
    --cc=pablo@netfilter.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).