summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/bareudp.rst
diff options
context:
space:
mode:
authorMartin <martin.varghese@nokia.com>2020-06-28 23:18:23 +0530
committerDavid S. Miller <davem@davemloft.net>2020-06-28 20:48:20 -0700
commitfe80536acf8397827be77f9b8ada384b90e790d0 (patch)
tree16ea20ba97db6c96f59f537b007516238bbfde42 /Documentation/networking/bareudp.rst
parent8930449628f7f66a0d368ff9eb92146f7f424431 (diff)
bareudp: Added attribute to enable & disable rx metadata collection
Metadata need not be collected in receive if the packet from bareudp device is not targeted to openvswitch. Signed-off-by: Martin <martin.varghese@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/bareudp.rst')
-rw-r--r--Documentation/networking/bareudp.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/networking/bareudp.rst b/Documentation/networking/bareudp.rst
index 465a8b251bfe..0e00636d8d74 100644
--- a/Documentation/networking/bareudp.rst
+++ b/Documentation/networking/bareudp.rst
@@ -48,5 +48,7 @@ enabled.
The bareudp device could be used along with OVS or flower filter in TC.
The OVS or TC flower layer must set the tunnel information in SKB dst field before
sending packet buffer to the bareudp device for transmission. On reception the
-bareudp device extracts and stores the tunnel information in SKB dst field before
-passing the packet buffer to the network stack.
+bareudp device decapsulates the udp header and passes the inner packet to the
+network stack. If RX_COLLECT_METADATA flag is enabled in the device the tunnel
+information will be stored in the SKB dst field before the packet buffer is
+passed to the network stack.