diff options
author | Martin <martin.varghese@nokia.com> | 2020-06-28 20:48:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-29 06:48:20 +0300 |
commit | fe80536acf8397827be77f9b8ada384b90e790d0 (patch) | |
tree | 16ea20ba97db6c96f59f537b007516238bbfde42 /Documentation | |
parent | 8930449628f7f66a0d368ff9eb92146f7f424431 (diff) | |
download | linux-fe80536acf8397827be77f9b8ada384b90e790d0.tar.xz |
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')
-rw-r--r-- | Documentation/networking/bareudp.rst | 6 |
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. |