[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAO0uZ+9N9zwt07EdQzz6KjGcpRT7rdmpaBvHoE0TLDXe-0kxMg@mail.gmail.com>
Date: Sun, 13 Nov 2011 22:19:49 +0100
From: Miroslav Kratochvil <exa.exa@...il.com>
To: netdev@...r.kernel.org
Subject: tc: deleting single entry from filter hashtable
Hello,
I have following problem: For performance reasons I've been using a
setup known from LARTC as 'hashing filters', just like here:
http://lartc.org/howto/lartc.adv-filter.hashing.html
For the same performance reasons, I'd like to be able to delete or
change a _single_ entry from the hash table, so I don't need to refill
the whole table on every change I need to do (which can get pretty
slow for amount of entries over 10k, even when using a C program that
pushes the commands right into 'tc -batch')
Question: Is the single deletion/modification possible? If not --
judging from the lack of the documentation on given subject I kindof
expect that it's not possible -- is there any other possibility to
delete at least some reasonably small subset of the hash table that
could be modified and recreated quickly?
Also, here's my (failed) approach: I tried to assign different prio's
to all hashtable entries so they could be deleted by reference to that
prio, but after passing through TC they got created with the same prio
anyway..
Thanks for any help with this problem,
-mk
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists