diff options
author | Bodong Wang <bodong@mellanox.com> | 2020-04-21 10:04:16 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-04-26 23:54:35 +0200 |
commit | 74f99482eae03195ced512b440b31d62bdb6e943 (patch) | |
tree | 8d3af2496e79a7565f6ffac85df157c3e5c04179 /.gitignore | |
parent | 3fd8dc269ff0647819589c21b2ce60af6fc0a455 (diff) | |
download | linux-74f99482eae03195ced512b440b31d62bdb6e943.tar.bz2 |
netfilter: nf_conntrack: add IPS_HW_OFFLOAD status bit
This bit indicates that the conntrack entry is offloaded to hardware
flow table. nf_conntrack entry will be tagged with [HW_OFFLOAD] if
it's offload to hardware.
cat /proc/net/nf_conntrack
ipv4 2 tcp 6 \
src=1.1.1.17 dst=1.1.1.16 sport=56394 dport=5001 \
src=1.1.1.16 dst=1.1.1.17 sport=5001 dport=56394 [HW_OFFLOAD] \
mark=0 zone=0 use=3
Note that HW_OFFLOAD/OFFLOAD/ASSURED are mutually exclusive.
Changelog:
* V1->V2:
- Remove check of lastused from stats. It was meant for cases such
as removing driver module while traffic still running. Better to
handle such cases from garbage collector.
Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions