netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC iproute2 0/4] Revert tc batchsize feature
@ 2019-08-01  0:45 Stephen Hemminger
  2019-08-01  0:45 ` [RFC iproute2 1/4] Revert "tc: Remove pointless assignments in batch()" Stephen Hemminger
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Stephen Hemminger @ 2019-08-01  0:45 UTC (permalink / raw)
  To: jiri, chrism; +Cc: netdev, Stephen Hemminger

The batchsize feature of tc might save a few cycles but it
is a maintaince nightmare, it has uninitialized variables and
poor error handling. 

This patch set reverts back to the original state.
Please don't resubmit original code. Go back to the drawing
board and do something generic.  For example, the routing
daemons have figured out that by using multiple threads and
turning off the netlink ACK they can update millions of routes
quickly.

Stephen Hemminger (4):
  Revert "tc: Remove pointless assignments in batch()"
  Revert "tc: flush after each command in batch mode"
  Revert "tc: fix batch force option"
  Revert "tc: Add batchsize feature for filter and actions"

 tc/m_action.c  |  65 ++++++----------
 tc/tc.c        | 201 ++++---------------------------------------------
 tc/tc_common.h |   7 +-
 tc/tc_filter.c | 129 ++++++++++++-------------------
 4 files changed, 87 insertions(+), 315 deletions(-)


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

end of thread, other threads:[~2019-08-01  1:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-01  0:45 [RFC iproute2 0/4] Revert tc batchsize feature Stephen Hemminger
2019-08-01  0:45 ` [RFC iproute2 1/4] Revert "tc: Remove pointless assignments in batch()" Stephen Hemminger
2019-08-01  0:45 ` [RFC iproute2 2/4] Revert "tc: flush after each command in batch mode" Stephen Hemminger
2019-08-01  0:45 ` [RFC iproute2 3/4] Revert "tc: fix batch force option" Stephen Hemminger
2019-08-01  0:45 ` [RFC iproute2 4/4] Revert "tc: Add batchsize feature for filter and actions" Stephen Hemminger
2019-08-01  1:11 ` [RFC iproute2 0/4] Revert tc batchsize feature Dave Taht

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