netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft] src: allow for updating devices on existing netdev chain - Test result
@ 2023-01-06 15:17 Martin Zaharinov
  2023-01-06 15:23 ` Martin Zaharinov
  2023-01-12 12:06 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Zaharinov @ 2023-01-06 15:17 UTC (permalink / raw)
  To: 20230106010251.27038-1-pablo, pablo, netfilter, netfilter-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-12 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-06 15:17 [nft] src: allow for updating devices on existing netdev chain - Test result Martin Zaharinov
2023-01-06 15:23 ` 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

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).