[v3,09/18] net: fix spelling error in gtp comment

Message ID 20211014215631.181747-10-stephen@networkplumber.org (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series fix spelling errors |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Stephen Hemminger Oct. 14, 2021, 9:56 p.m. UTC
  More codespell finds.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/net/rte_gtp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Olivier Matz Oct. 15, 2021, 12:41 p.m. UTC | #1
On Thu, Oct 14, 2021 at 02:56:22PM -0700, Stephen Hemminger wrote:
> More codespell finds.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Olivier Matz <olivier.matz@6wind.com>

Thanks!
  

Patch

diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h
index 9f6deb9c7ef3..dca940c2c5ab 100644
--- a/lib/net/rte_gtp.h
+++ b/lib/net/rte_gtp.h
@@ -142,9 +142,9 @@  struct rte_gtp_psc_type1_hdr {
 /** GTP header length */
 #define RTE_ETHER_GTP_HLEN \
 	(sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
-/* GTP next protocal type */
-#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */
-#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */
+/* GTP next protocol type */
+#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */
+#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */
 /* GTP destination port number */
 #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */
 #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */