docs: networking: Remove VLAN_TAG_PRESENT from openvswitch doc
Subsystems (4)
PATCH 1/1 docs: networking: Remove VLAN_TAG_PRESENT from openvswitch doc
Since commit 0c4b2d370514 ("net: remove VLAN_TAG_PRESENT"), the kernel no longer uses VLAN_TAG_PRESENT.
Update the openvswitch documentation which still contained an outdated reference to VLAN_TAG_PRESENT.
--- Documentation/networking/openvswitch.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/networking/openvswitch.rst +2 -3
@@ -230,9 +230,8 @@ an all-zero-bits vlan and an empty encap attribute, like this:: eth(...), eth_type(0x8100), vlan(0), encap() Unlike a TCP packet with source and destination ports 0, an -all-zero-bits VLAN TCI is not that rare, so the CFI bit (aka -VLAN_TAG_PRESENT inside the kernel) is ordinarily set in a vlan -attribute expressly to allow this situation to be distinguished. +all-zero-bits VLAN TCI is not that rare, so the CFI bit is ordinarily set +in a vlan attribute expressly to allow this situation to be distinguished. Thus, the flow key in this second example unambiguously indicates a missing or malformed VLAN TCI.
Signature · 1 line
2.48.1
Quoted 4 lines · Andreas Karis
Since commit
0c4b2d370514("net: removeVLAN_TAG_PRESENT"), the kernel no longer usesVLAN_TAG_PRESENT.
Update the openvswitch documentation which still contained an outdated reference toVLAN_TAG_PRESENT.
Hi, it would be best to extend this doc saying that the CFI bit is not usable in openvswitch (unlike in other parts of kernel).
Nevertheless,
Quoted 25 lines
Signed-off-by Andreas Karis <[email protected]>--- Documentation/networking/openvswitch.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)Documentation/networking/openvswitch.rst +2
-3@@ -230,9 +230,8 @@ an all-zero-bits vlan and an empty encap attribute, like this:: eth(...), eth_type(0x8100), vlan(0), encap() Unlike a TCP packet with source and destination ports 0, an -all-zero-bits VLAN TCI is not that rare, so the CFI bit (aka -VLAN_TAG_PRESENT inside the kernel) is ordinarily set in a vlan -attribute expressly to allow this situation to be distinguished. +all-zero-bits VLAN TCI is not that rare, so the CFI bit is ordinarily set +in a vlan attribute expressly to allow this situation to be distinguished. Thus, the flow key in this second example unambiguously indicates a missing or malformed VLAN TCI.Signature · 1 line
2.48.1
Signature · 1 line
Michał Mirosław
Ilya Maximets
maintainerQuoted 8 lines · Michał Mirosław
Quoted 4 lines · Andreas Karis
Since commit
0c4b2d370514("net: removeVLAN_TAG_PRESENT"), the kernel no longer usesVLAN_TAG_PRESENT.
Update the openvswitch documentation which still contained an outdated reference toVLAN_TAG_PRESENT.Hi, it would be best to extend this doc saying that the CFI bit is not usable in openvswitch (unlike in other parts of kernel).
FWIW, sch_frag does the same thing. So, it's not only openvswitch. Though, yes, sch_frag is probably doing that because TC mimics what OVS does.
Quoted 30 lines
Nevertheless,
Acked-by Michał Mirosław <[email protected]>Quoted 25 lines
Signed-off-by Andreas Karis <[email protected]>--- Documentation/networking/openvswitch.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)Documentation/networking/openvswitch.rst +2
-3@@ -230,9 +230,8 @@ an all-zero-bits vlan and an empty encap attribute, like this:: eth(...), eth_type(0x8100), vlan(0), encap() Unlike a TCP packet with source and destination ports 0, an -all-zero-bits VLAN TCI is not that rare, so the CFI bit (aka -VLAN_TAG_PRESENT inside the kernel) is ordinarily set in a vlan -attribute expressly to allow this situation to be distinguished. +all-zero-bits VLAN TCI is not that rare, so the CFI bit is ordinarily set +in a vlan attribute expressly to allow this situation to be distinguished. Thus, the flow key in this second example unambiguously indicates a missing or malformed VLAN TCI.Signature · 1 line
2.48.1