Commit 794d9b25 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso Committed by David S. Miller

docs: nf_flowtable: fix compilation and warnings

... cannot be used in block quote, it breaks compilation, remove it.

Fix warnings due to missing blank line such as:

net-next/Documentation/networking/nf_flowtable.rst:142: WARNING: Block quote ends without a blank line; unexpected unindent.

Fixes: 143490cd ("docs: nf_flowtable: update documentation with enhancements")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9874b620
...@@ -112,6 +112,7 @@ You can identify offloaded flows through the [OFFLOAD] tag when listing your ...@@ -112,6 +112,7 @@ You can identify offloaded flows through the [OFFLOAD] tag when listing your
connection tracking table. connection tracking table.
:: ::
# conntrack -L # conntrack -L
tcp 6 src=10.141.10.2 dst=192.168.10.2 sport=52728 dport=5201 src=192.168.10.2 dst=192.168.10.1 sport=5201 dport=52728 [OFFLOAD] mark=0 use=2 tcp 6 src=10.141.10.2 dst=192.168.10.2 sport=52728 dport=5201 src=192.168.10.2 dst=192.168.10.1 sport=5201 dport=52728 [OFFLOAD] mark=0 use=2
...@@ -138,6 +139,7 @@ allows the flowtable to define a fastpath bypass between the bridge ports ...@@ -138,6 +139,7 @@ allows the flowtable to define a fastpath bypass between the bridge ports
device (represented as eth0) in your switch/router. device (represented as eth0) in your switch/router.
:: ::
fastpath bypass fastpath bypass
.-------------------------. .-------------------------.
/ \ / \
...@@ -168,12 +170,12 @@ connection tracking entry by specifying the counter statement in your flowtable ...@@ -168,12 +170,12 @@ connection tracking entry by specifying the counter statement in your flowtable
definition, e.g. definition, e.g.
:: ::
table inet x { table inet x {
flowtable f { flowtable f {
hook ingress priority 0; devices = { eth0, eth1 }; hook ingress priority 0; devices = { eth0, eth1 };
counter counter
} }
...
} }
Counter support is available since Linux kernel 5.7. Counter support is available since Linux kernel 5.7.
...@@ -185,12 +187,12 @@ If your network device provides hardware offload support, you can turn it on by ...@@ -185,12 +187,12 @@ If your network device provides hardware offload support, you can turn it on by
means of the 'offload' flag in your flowtable definition, e.g. means of the 'offload' flag in your flowtable definition, e.g.
:: ::
table inet x { table inet x {
flowtable f { flowtable f {
hook ingress priority 0; devices = { eth0, eth1 }; hook ingress priority 0; devices = { eth0, eth1 };
flags offload; flags offload;
} }
...
} }
There is a workqueue that adds the flows to the hardware. Note that a few There is a workqueue that adds the flows to the hardware. Note that a few
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment