All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] ipset patches for nf-next, v3
@ 2014-12-12 21:58 Jozsef Kadlecsik
  2014-12-12 21:58 ` [PATCH 1/8] netfilter: ipset: Remove rbtree from hash:net,iface in order to run under RCU Jozsef Kadlecsik
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Jozsef Kadlecsik @ 2014-12-12 21:58 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Pablo Neira Ayuso

Hi Pablo,

Please review and consider to apply the second part of the patches for
ipset:

- Fix sparse warning "cast to restricted __be32"
- Fix parallel resizing and listing of the same set: when adding elements
  and listing of the same set were executed parallel, listing could start
  to list the original set (before resizing) and continue with the new one.
- Styles warned by checkpatch.pl fixed
- Introduce RCU locking in the hash types. The patch was
  performance tested by Jesper Dangaard Brouer:

  Generator: sending 12.2Mpps (tx:12264083 pps)
  Drop performance in "raw" with ipset: 8Mpps
  Drop performance in "raw" with ipset with RCU-locking: 11.3Mpps
- Introduce RCU locking in the list type
- Introduce RCU locking in the bitmap types
- Introduce RCU locking instead of rwlock per set in the core
- Remove rbtree from hash:net,iface for RCU locking

You can pull the changes from

        git://blackhole.kfki.hu/nf-next master

Best regards,
Jozsef
============================================================================
The following changes since commit d6b00fec5dbbe976904b4d77e7d4f9493df5c2ec:

  macvlan: play well with ipvlan device (2014-12-09 16:10:06 -0500)

are available in the git repository at:

  git://blackhole.kfki.hu/nf-next master

for you to fetch changes up to 57a7e2fd6403f1dac986c045a453412a3cf7dd40:

  netfilter: ipset: Fix sparse warning (2014-12-12 13:21:59 +0100)

----------------------------------------------------------------
Jozsef Kadlecsik (8):
      netfilter: ipset: Remove rbtree from hash:net,iface in order to run under RCU
      netfilter: ipset: Prepare ipset core for RCU locking instead of rwlock per set
      netfilter: ipset: Introduce RCU locking in the bitmap types
      netfilter: ipset: Introduce RCU locking in the list type
      netfilter: ipset: Introduce RCU locking in the hash types
      netfilter: ipset: styles warned by checkpatch.pl fixed
      netfilter: ipset: Fix parallel resizing and listing of the same set
      netfilter: ipset: Fix sparse warning

 include/linux/netfilter/ipset/ip_set.h         |  21 +-
 include/linux/netfilter/ipset/ip_set_timeout.h |  27 +-
 net/netfilter/ipset/ip_set_bitmap_gen.h        |  20 +-
 net/netfilter/ipset/ip_set_bitmap_ip.c         |  10 +-
 net/netfilter/ipset/ip_set_bitmap_ipmac.c      |   6 +-
 net/netfilter/ipset/ip_set_bitmap_port.c       |   7 +-
 net/netfilter/ipset/ip_set_core.c              | 179 +++----
 net/netfilter/ipset/ip_set_getport.c           |   3 +-
 net/netfilter/ipset/ip_set_hash_gen.h          | 661 +++++++++++++++----------
 net/netfilter/ipset/ip_set_hash_ip.c           |   5 +-
 net/netfilter/ipset/ip_set_hash_ipmark.c       |  14 +-
 net/netfilter/ipset/ip_set_hash_ipport.c       |  15 +-
 net/netfilter/ipset/ip_set_hash_ipportip.c     |  17 +-
 net/netfilter/ipset/ip_set_hash_ipportnet.c    |  20 +-
 net/netfilter/ipset/ip_set_hash_mac.c          |   3 +-
 net/netfilter/ipset/ip_set_hash_net.c          |   9 +-
 net/netfilter/ipset/ip_set_hash_netiface.c     | 175 ++-----
 net/netfilter/ipset/ip_set_hash_netnet.c       |  45 +-
 net/netfilter/ipset/ip_set_hash_netport.c      |  20 +-
 net/netfilter/ipset/ip_set_hash_netportnet.c   |  55 +-
 net/netfilter/ipset/ip_set_list_set.c          | 393 +++++++--------
 net/netfilter/ipset/pfxlen.c                   |  16 +-
 net/netfilter/xt_set.c                         |   7 +
 net/sched/em_ipset.c                           |   5 +-
 24 files changed, 896 insertions(+), 837 deletions(-)

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

end of thread, other threads:[~2014-12-21 12:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-12 21:58 [PATCH 0/8] ipset patches for nf-next, v3 Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 1/8] netfilter: ipset: Remove rbtree from hash:net,iface in order to run under RCU Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 2/8] netfilter: ipset: Prepare ipset core for RCU locking instead of rwlock per set Jozsef Kadlecsik
2014-12-18 18:38   ` Pablo Neira Ayuso
2014-12-21 11:52     ` Jozsef Kadlecsik
2014-12-21 12:23       ` Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 3/8] netfilter: ipset: Introduce RCU locking in the bitmap types Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 4/8] netfilter: ipset: Introduce RCU locking in the list type Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 5/8] netfilter: ipset: Introduce RCU locking in the hash types Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 6/8] netfilter: ipset: styles warned by checkpatch.pl fixed Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 7/8] netfilter: ipset: Fix parallel resizing and listing of the same set Jozsef Kadlecsik
2014-12-12 21:58 ` [PATCH 8/8] netfilter: ipset: Fix sparse warning Jozsef Kadlecsik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.