docs: networking: convert nf_flowtable.txt to ReST
- add SPDX header; - adjust title markup; - mark code blocks and literals as such; - add notes markups; - adjust identation, whitespaces and blank lines; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
13df433f8c
commit
aa3764276a
@@ -86,6 +86,7 @@ Contents:
|
|||||||
netfilter-sysctl
|
netfilter-sysctl
|
||||||
netif-msg
|
netif-msg
|
||||||
nf_conntrack-sysctl
|
nf_conntrack-sysctl
|
||||||
|
nf_flowtable
|
||||||
|
|
||||||
.. only:: subproject and html
|
.. only:: subproject and html
|
||||||
|
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
|
.. SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
====================================
|
||||||
Netfilter's flowtable infrastructure
|
Netfilter's flowtable infrastructure
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
@@ -31,6 +34,8 @@ to use this new alternative forwarding path via nftables policy.
|
|||||||
This is represented in Fig.1, which describes the classic forwarding path
|
This is represented in Fig.1, which describes the classic forwarding path
|
||||||
including the Netfilter hooks and the flowtable fastpath bypass.
|
including the Netfilter hooks and the flowtable fastpath bypass.
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
userspace process
|
userspace process
|
||||||
^ |
|
^ |
|
||||||
| |
|
| |
|
||||||
@@ -72,7 +77,7 @@ Example configuration
|
|||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Enabling the flowtable bypass is relatively easy, you only need to create a
|
Enabling the flowtable bypass is relatively easy, you only need to create a
|
||||||
flowtable and add one rule to your forward chain.
|
flowtable and add one rule to your forward chain::
|
||||||
|
|
||||||
table inet x {
|
table inet x {
|
||||||
flowtable f {
|
flowtable f {
|
||||||
@@ -101,12 +106,12 @@ forwarding bypass.
|
|||||||
More reading
|
More reading
|
||||||
------------
|
------------
|
||||||
|
|
||||||
This documentation is based on the LWN.net articles [1][2]. Rafal Milecki also
|
This documentation is based on the LWN.net articles [1]_\ [2]_. Rafal Milecki
|
||||||
made a very complete and comprehensive summary called "A state of network
|
also made a very complete and comprehensive summary called "A state of network
|
||||||
acceleration" that describes how things were before this infrastructure was
|
acceleration" that describes how things were before this infrastructure was
|
||||||
mailined [3] and it also makes a rough summary of this work [4].
|
mailined [3]_ and it also makes a rough summary of this work [4]_.
|
||||||
|
|
||||||
[1] https://lwn.net/Articles/738214/
|
.. [1] https://lwn.net/Articles/738214/
|
||||||
[2] https://lwn.net/Articles/742164/
|
.. [2] https://lwn.net/Articles/742164/
|
||||||
[3] http://lists.infradead.org/pipermail/lede-dev/2018-January/010830.html
|
.. [3] http://lists.infradead.org/pipermail/lede-dev/2018-January/010830.html
|
||||||
[4] http://lists.infradead.org/pipermail/lede-dev/2018-January/010829.html
|
.. [4] http://lists.infradead.org/pipermail/lede-dev/2018-January/010829.html
|
Reference in New Issue
Block a user