mbox series

[net-next,0/3] netfilter: flowtable: Support offload of tuples in parallel

Message ID 1585055841-14256-1-git-send-email-paulb@mellanox.com
Headers show
Series netfilter: flowtable: Support offload of tuples in parallel | expand

Message

Paul Blakey March 24, 2020, 1:17 p.m. UTC
The following patchset opens support for offloading tuples in parallel.

Patches for netfilter replace the flow table block lock with rw sem,
and use a work entry per offload command, so they can be run in
parallel under rw sem read lock.

MLX5 patch removes the unguarded ct entries list, and instead uses
rhashtable's iterator to support the above.


Paul Blakey (3):
  netfilter: flowtable: Use rw sem as flow block lock
  netfilter: flowtable: Use work entry per offload command
  net/mlx5: CT: Use rhashtable's ct entries instead of a seperate list

 drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 19 +++-----
 include/net/netfilter/nf_flow_table.h              |  2 +-
 net/netfilter/nf_flow_table_core.c                 | 11 +++--
 net/netfilter/nf_flow_table_offload.c              | 50 ++++++++--------------
 4 files changed, 30 insertions(+), 52 deletions(-)

Comments

David Miller March 27, 2020, 3:10 a.m. UTC | #1
From: Paul Blakey <paulb@mellanox.com>
Date: Tue, 24 Mar 2020 15:17:18 +0200

> The following patchset opens support for offloading tuples in parallel.
> 
> Patches for netfilter replace the flow table block lock with rw sem,
> and use a work entry per offload command, so they can be run in
> parallel under rw sem read lock.
> 
> MLX5 patch removes the unguarded ct entries list, and instead uses
> rhashtable's iterator to support the above.

This doesn't apply cleanly, please respin.

Thank you.