[nf-next,v5,0/8] netfilter: nf_flow_offload: support bridge family offload for both
mbox series

Message ID 1563238066-3105-1-git-send-email-wenxu@ucloud.cn
Headers show
Series
  • netfilter: nf_flow_offload: support bridge family offload for both
Related show

Message

wenxu July 16, 2019, 12:47 a.m. UTC
From: wenxu <wenxu@ucloud.cn>

wenxu (8):
  netfilter:nf_flow_table: Refactor flow_offload_tuple to destination
  netfilter:nf_flow_table_core: Separate inet operation to single
    function
  netfilter:nf_flow_table_ip: Separate inet operation to single function
  bridge: add br_vlan_get_info_rcu()
  netfilter:nf_flow_table_core: Support bridge family flow offload
  netfilter:nf_flow_table_ip: Support bridge family flow offload
  netfilter:nft_flow_offload: Support bridge family flow offload
  netfilter: Support the bridge family in flow table

 include/linux/if_bridge.h                   |   7 ++
 include/net/netfilter/nf_flow_table.h       |  39 +++++++-
 net/bridge/br_vlan.c                        |  25 +++++
 net/bridge/netfilter/Kconfig                |   8 ++
 net/bridge/netfilter/Makefile               |   1 +
 net/bridge/netfilter/nf_flow_table_bridge.c |  48 ++++++++++
 net/netfilter/nf_flow_table_core.c          | 102 ++++++++++++++++----
 net/netfilter/nf_flow_table_ip.c            | 127 +++++++++++++++++++------
 net/netfilter/nft_flow_offload.c            | 142 ++++++++++++++++++++++++++--
 9 files changed, 440 insertions(+), 59 deletions(-)
 create mode 100644 net/bridge/netfilter/nf_flow_table_bridge.c

Comments

Florian Westphal July 16, 2019, 9:11 a.m. UTC | #1
wenxu@ucloud.cn <wenxu@ucloud.cn> wrote:
> From: wenxu <wenxu@ucloud.cn>
> 
> wenxu (8):
>   netfilter:nf_flow_table: Refactor flow_offload_tuple to destination
>   netfilter:nf_flow_table_core: Separate inet operation to single
>     function
>   netfilter:nf_flow_table_ip: Separate inet operation to single function
>   bridge: add br_vlan_get_info_rcu()
>   netfilter:nf_flow_table_core: Support bridge family flow offload
>   netfilter:nf_flow_table_ip: Support bridge family flow offload
>   netfilter:nft_flow_offload: Support bridge family flow offload
>   netfilter: Support the bridge family in flow table

Note that net-next is closed, and therefore nf-next, so it may
take longer than usual for this series to get feedback.
wenxu July 17, 2019, 9:32 a.m. UTC | #2
Hi Florian& pablo,


Kernel already support nft_tunnel for sometime, There are some pre patch for nftables. I want to do some test but not so familiar with nftables(Add new expr nft_tunnel_type and  new obj type nft_tunnel_obj_type)



BR

wenxu