Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: net: bareudp: fix spelling and grammar mistakes

The BareUDP documentation had several grammar and spelling mistakes,
making it harder to read. This patch fixes those errors to improve
clarity and readability for developers.

Signed-off-by: Vyshnav Ajith <puthen1977@gmail.com>
Link: https://patch.msgid.link/20241121224827.12293-1-puthen1977@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Vyshnav Ajith and committed by
Jakub Kicinski
16ed4545 eedcad2f

+6 -5
+6 -5
Documentation/networking/bareudp.rst
··· 6 6 7 7 There are various L3 encapsulation standards using UDP being discussed to 8 8 leverage the UDP based load balancing capability of different networks. 9 - MPLSoUDP (__ https://tools.ietf.org/html/rfc7510) is one among them. 9 + MPLSoUDP (https://tools.ietf.org/html/rfc7510) is one among them. 10 10 11 11 The Bareudp tunnel module provides a generic L3 encapsulation support for 12 12 tunnelling different L3 protocols like MPLS, IP, NSH etc. inside a UDP tunnel. 13 13 14 14 Special Handling 15 15 ---------------- 16 + 16 17 The bareudp device supports special handling for MPLS & IP as they can have 17 18 multiple ethertypes. 18 - MPLS procotcol can have ethertypes ETH_P_MPLS_UC (unicast) & ETH_P_MPLS_MC (multicast). 19 + The MPLS protocol can have ethertypes ETH_P_MPLS_UC (unicast) & ETH_P_MPLS_MC (multicast). 19 20 IP protocol can have ethertypes ETH_P_IP (v4) & ETH_P_IPV6 (v6). 20 21 This special handling can be enabled only for ethertypes ETH_P_IP & ETH_P_MPLS_UC 21 22 with a flag called multiproto mode. ··· 53 52 3) Device Usage 54 53 55 54 The bareudp device could be used along with OVS or flower filter in TC. 56 - The OVS or TC flower layer must set the tunnel information in SKB dst field before 57 - sending packet buffer to the bareudp device for transmission. On reception the 58 - bareudp device extracts and stores the tunnel information in SKB dst field before 55 + The OVS or TC flower layer must set the tunnel information in the SKB dst field before 56 + sending the packet buffer to the bareudp device for transmission. On reception, the 57 + bareUDP device extracts and stores the tunnel information in the SKB dst field before 59 58 passing the packet buffer to the network stack.