get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/28602/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 28602,
    "url": "https://patches.dpdk.org/api/patches/28602/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1505184211-36728-4-git-send-email-jiayu.hu@intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1505184211-36728-4-git-send-email-jiayu.hu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1505184211-36728-4-git-send-email-jiayu.hu@intel.com",
    "date": "2017-09-12T02:43:29",
    "name": "[dpdk-dev,v3,3/5] gso: add VxLAN GSO support",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a9fbc2a9dea65072a7f191aa2da57e04de9e9733",
    "submitter": {
        "id": 539,
        "url": "https://patches.dpdk.org/api/people/539/?format=api",
        "name": "Hu, Jiayu",
        "email": "jiayu.hu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1505184211-36728-4-git-send-email-jiayu.hu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28602/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/28602/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 01F6B1AEE9;\n\tTue, 12 Sep 2017 04:40:59 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 451382B84\n\tfor <dev@dpdk.org>; Tue, 12 Sep 2017 04:40:53 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t11 Sep 2017 19:40:49 -0700",
            "from dpdk15.sh.intel.com ([10.67.111.77])\n\tby fmsmga001.fm.intel.com with ESMTP; 11 Sep 2017 19:40:48 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.42,381,1500966000\"; d=\"scan'208\";\n\ta=\"1194022481\"",
        "From": "Jiayu Hu <jiayu.hu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "konstantin.ananyev@intel.com, mark.b.kavanagh@intel.com,\n\tjianfeng.tan@intel.com, Jiayu Hu <jiayu.hu@intel.com>",
        "Date": "Tue, 12 Sep 2017 10:43:29 +0800",
        "Message-Id": "<1505184211-36728-4-git-send-email-jiayu.hu@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1505184211-36728-1-git-send-email-jiayu.hu@intel.com>",
        "References": "<1504598270-60080-1-git-send-email-jiayu.hu@intel.com>\n\t<1505184211-36728-1-git-send-email-jiayu.hu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 3/5] gso: add VxLAN GSO support",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Mark Kavanagh <mark.b.kavanagh@intel.com>\n\nThis patch adds GSO support for VxLAN-encapsulated packets. Supported\nVxLAN packets must have an outer IPv4 header (prepended by an optional\nVLAN tag), and contain an inner TCP/IPv4 packet (with an optional inner\nVLAN tag).\n\nVxLAN GSO assumes that all input packets have correct checksums and\ndoesn't update checksums for output packets. Additionally, it doesn't\nprocess IP fragmented packets.\n\nAs with TCP/IPv4 GSO, VxLAN GSO uses a two-segment MBUF to organize each\noutput packet, which mandates support for multi-segment mbufs in the TX\nfunctions of the NIC driver. Also, if a packet is GSOed, VxLAN GSO\nreduces its MBUF refcnt by 1. As a result, when all of its GSOed\nsegments are freed, the packet is freed automatically.\n\nSigned-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>\nSigned-off-by: Jiayu Hu <jiayu.hu@intel.com>\n---\n lib/librte_gso/Makefile          |  1 +\n lib/librte_gso/gso_common.c      | 48 ++++++++++++++++++++++-\n lib/librte_gso/gso_common.h      | 33 ++++++++++++++++\n lib/librte_gso/gso_tunnel_tcp4.c | 85 ++++++++++++++++++++++++++++++++++++++++\n lib/librte_gso/gso_tunnel_tcp4.h | 76 +++++++++++++++++++++++++++++++++++\n lib/librte_gso/rte_gso.c         |  7 +++-\n 6 files changed, 248 insertions(+), 2 deletions(-)\n create mode 100644 lib/librte_gso/gso_tunnel_tcp4.c\n create mode 100644 lib/librte_gso/gso_tunnel_tcp4.h",
    "diff": "diff --git a/lib/librte_gso/Makefile b/lib/librte_gso/Makefile\nindex 2be64d1..e6d41df 100644\n--- a/lib/librte_gso/Makefile\n+++ b/lib/librte_gso/Makefile\n@@ -44,6 +44,7 @@ LIBABIVER := 1\n SRCS-$(CONFIG_RTE_LIBRTE_GSO) += rte_gso.c\n SRCS-$(CONFIG_RTE_LIBRTE_GSO) += gso_common.c\n SRCS-$(CONFIG_RTE_LIBRTE_GSO) += gso_tcp4.c\n+SRCS-$(CONFIG_RTE_LIBRTE_GSO) += gso_tunnel_tcp4.c\n \n # install this header file\n SYMLINK-$(CONFIG_RTE_LIBRTE_GSO)-include += rte_gso.h\ndiff --git a/lib/librte_gso/gso_common.c b/lib/librte_gso/gso_common.c\nindex 7c32e03..c6779d0 100644\n--- a/lib/librte_gso/gso_common.c\n+++ b/lib/librte_gso/gso_common.c\n@@ -39,6 +39,7 @@\n #include <rte_ether.h>\n #include <rte_ip.h>\n #include <rte_tcp.h>\n+#include <rte_udp.h>\n \n #include \"gso_common.h\"\n \n@@ -193,10 +194,55 @@ update_inner_tcp4_header(struct rte_mbuf *pkt, uint8_t ipid_delta,\n \t}\n }\n \n+static inline void\n+update_outer_ipv4_header(struct rte_mbuf *pkt, uint16_t id)\n+{\n+\tstruct ipv4_hdr *ipv4_hdr;\n+\n+\tipv4_hdr = (struct ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) +\n+\t\t\tpkt->outer_l2_len);\n+\tipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len -\n+\t\t\tpkt->outer_l2_len);\n+\tipv4_hdr->packet_id = rte_cpu_to_be_16(id);\n+}\n+\n+static inline void\n+update_outer_udp_header(struct rte_mbuf *pkt)\n+{\n+\tstruct udp_hdr *udp_hdr;\n+\tuint16_t length;\n+\n+\tlength = pkt->outer_l2_len + pkt->outer_l3_len;\n+\tudp_hdr = (struct udp_hdr *)(rte_pktmbuf_mtod(pkt, char *) +\n+\t\t\tlength);\n+\tudp_hdr->dgram_len = rte_cpu_to_be_16(pkt->pkt_len - length);\n+}\n+\n+static inline void\n+update_ipv4_vxlan_tcp4_header(struct rte_mbuf *pkt, uint8_t ipid_delta,\n+\t\tstruct rte_mbuf **segs, uint16_t nb_segs)\n+{\n+\tstruct ipv4_hdr *ipv4_hdr;\n+\tuint16_t i, id;\n+\n+\tipv4_hdr = (struct ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) +\n+\t\t\tpkt->outer_l2_len);\n+\tid = rte_be_to_cpu_16(ipv4_hdr->packet_id);\n+\tfor (i = 0; i < nb_segs; i++) {\n+\t\tupdate_outer_ipv4_header(segs[i], id);\n+\t\tid += ipid_delta;\n+\t\tupdate_outer_udp_header(segs[i]);\n+\t}\n+\t/* Update inner TCP/IPv4 headers */\n+\tupdate_inner_tcp4_header(pkt, ipid_delta, segs, nb_segs);\n+}\n+\n void\n gso_update_pkt_headers(struct rte_mbuf *pkt, uint8_t ipid_delta,\n \t\tstruct rte_mbuf **segs, uint16_t nb_segs)\n {\n-\tif (is_ipv4_tcp(pkt->packet_type))\n+\tif (is_ipv4_vxlan_ipv4_tcp(pkt->packet_type))\n+\t\tupdate_ipv4_vxlan_tcp4_header(pkt, ipid_delta, segs, nb_segs);\n+\telse if (is_ipv4_tcp(pkt->packet_type))\n \t\tupdate_inner_tcp4_header(pkt, ipid_delta, segs, nb_segs);\n }\ndiff --git a/lib/librte_gso/gso_common.h b/lib/librte_gso/gso_common.h\nindex 3c76520..2377a1d 100644\n--- a/lib/librte_gso/gso_common.h\n+++ b/lib/librte_gso/gso_common.h\n@@ -56,6 +56,39 @@ static inline uint8_t is_ipv4_tcp(uint32_t ptype)\n \t}\n }\n \n+#define IS_INNER_IPV4_HDR(ptype) (((ptype) == RTE_PTYPE_INNER_L3_IPV4) | \\\n+\t\t\t((ptype) == RTE_PTYPE_INNER_L3_IPV4_EXT) | \\\n+\t\t\t((ptype) == RTE_PTYPE_INNER_L3_IPV4_EXT_UNKNOWN))\n+\n+#define ETHER_UDP_VXLAN_ETHER_TCP_PKT (RTE_PTYPE_L2_ETHER | \\\n+\t\tRTE_PTYPE_L4_UDP | RTE_PTYPE_TUNNEL_VXLAN | \\\n+\t\tRTE_PTYPE_INNER_L2_ETHER | RTE_PTYPE_INNER_L4_TCP)\n+#define ETHER_VLAN_UDP_VXLAN_ETHER_TCP_PKT (RTE_PTYPE_L2_ETHER_VLAN | \\\n+\t\tRTE_PTYPE_L4_UDP | RTE_PTYPE_TUNNEL_VXLAN | \\\n+\t\tRTE_PTYPE_INNER_L2_ETHER | RTE_PTYPE_INNER_L4_TCP)\n+#define ETHER_UDP_VXLAN_ETHER_VLAN_TCP_PKT (RTE_PTYPE_L2_ETHER | \\\n+\t\tRTE_PTYPE_L4_UDP | RTE_PTYPE_TUNNEL_VXLAN | \\\n+\t\tRTE_PTYPE_INNER_L2_ETHER_VLAN | RTE_PTYPE_INNER_L4_TCP)\n+#define ETHER_VLAN_UDP_VXLAN_ETHER_VLAN_TCP_PKT (RTE_PTYPE_L2_ETHER_VLAN | \\\n+\t\tRTE_PTYPE_L4_UDP | RTE_PTYPE_TUNNEL_VXLAN | \\\n+\t\tRTE_PTYPE_INNER_L2_ETHER_VLAN | RTE_PTYPE_INNER_L4_TCP)\n+static inline uint8_t is_ipv4_vxlan_ipv4_tcp(uint32_t ptype)\n+{\n+\tuint32_t type;\n+\n+\ttype = ptype & (~(RTE_PTYPE_L3_MASK | RTE_PTYPE_INNER_L3_MASK));\n+\tswitch (type) {\n+\tcase ETHER_UDP_VXLAN_ETHER_TCP_PKT:\n+\tcase ETHER_VLAN_UDP_VXLAN_ETHER_TCP_PKT:\n+\tcase ETHER_UDP_VXLAN_ETHER_VLAN_TCP_PKT:\n+\tcase ETHER_VLAN_UDP_VXLAN_ETHER_VLAN_TCP_PKT:\n+\t\treturn (RTE_ETH_IS_IPV4_HDR(ptype) > 0) ?\n+\t\t\tIS_INNER_IPV4_HDR(ptype & RTE_PTYPE_INNER_L3_MASK) : 0;\n+\tdefault:\n+\t\treturn 0;\n+\t}\n+}\n+\n /**\n  * Internal function which updates relevant packet headers, following\n  * segmentation. This is required to update, for example, the IPv4\ndiff --git a/lib/librte_gso/gso_tunnel_tcp4.c b/lib/librte_gso/gso_tunnel_tcp4.c\nnew file mode 100644\nindex 0000000..8ca52d1\n--- /dev/null\n+++ b/lib/librte_gso/gso_tunnel_tcp4.c\n@@ -0,0 +1,85 @@\n+/*-\n+ *   BSD LICENSE\n+ *\n+ *   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+ *   All rights reserved.\n+ *\n+ *   Redistribution and use in source and binary forms, with or without\n+ *   modification, are permitted provided that the following conditions\n+ *   are met:\n+ *\n+ *     * Redistributions of source code must retain the above copyright\n+ *       notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above copyright\n+ *       notice, this list of conditions and the following disclaimer in\n+ *       the documentation and/or other materials provided with the\n+ *       distribution.\n+ *     * Neither the name of Intel Corporation nor the names of its\n+ *       contributors may be used to endorse or promote products derived\n+ *       from this software without specific prior written permission.\n+ *\n+ *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ *   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+#include <rte_ether.h>\n+#include <rte_ip.h>\n+\n+#include \"gso_common.h\"\n+#include \"gso_tunnel_tcp4.h\"\n+\n+int\n+gso_tunnel_tcp4_segment(struct rte_mbuf *pkt,\n+\t\tuint16_t gso_size,\n+\t\tuint8_t ipid_delta,\n+\t\tstruct rte_mempool *direct_pool,\n+\t\tstruct rte_mempool *indirect_pool,\n+\t\tstruct rte_mbuf **pkts_out,\n+\t\tuint16_t nb_pkts_out)\n+{\n+\tstruct ipv4_hdr *inner_ipv4_hdr;\n+\tuint16_t pyld_unit_size, hdr_offset;\n+\tuint16_t tcp_dl;\n+\tint ret = 1;\n+\n+\thdr_offset = pkt->outer_l2_len + pkt->outer_l3_len + pkt->l2_len;\n+\tinner_ipv4_hdr = (struct ipv4_hdr *)(rte_pktmbuf_mtod(pkt, char *) +\n+\t\t\thdr_offset);\n+\t/*\n+\t * Don't process the packet whose DF bit of the inner IPv4\n+\t * header isn't set.\n+\t */\n+\tif (unlikely((inner_ipv4_hdr->fragment_offset & rte_cpu_to_be_16(\n+\t\t\t\t\t\tIPV4_HDR_DF_MASK)) == 0)) {\n+\t\tpkts_out[0] = pkt;\n+\t\treturn ret;\n+\t}\n+\n+\ttcp_dl = rte_be_to_cpu_16(inner_ipv4_hdr->total_length) -\n+\t\tpkt->l3_len - pkt->l4_len;\n+\t/* Don't process the packet without data */\n+\tif (unlikely(tcp_dl == 0)) {\n+\t\tpkts_out[0] = pkt;\n+\t\treturn ret;\n+\t}\n+\n+\thdr_offset += pkt->l3_len + pkt->l4_len;\n+\tpyld_unit_size = gso_size - hdr_offset - ETHER_CRC_LEN;\n+\n+\t/* Segment the payload */\n+\tret = gso_do_segment(pkt, hdr_offset, pyld_unit_size, direct_pool,\n+\t\t\tindirect_pool, pkts_out, nb_pkts_out);\n+\tif (ret > 1)\n+\t\tgso_update_pkt_headers(pkt, ipid_delta, pkts_out, ret);\n+\n+\treturn ret;\n+}\ndiff --git a/lib/librte_gso/gso_tunnel_tcp4.h b/lib/librte_gso/gso_tunnel_tcp4.h\nnew file mode 100644\nindex 0000000..0280b38\n--- /dev/null\n+++ b/lib/librte_gso/gso_tunnel_tcp4.h\n@@ -0,0 +1,76 @@\n+/*-\n+ *   BSD LICENSE\n+ *\n+ *   Copyright(c) 2017 Intel Corporation. All rights reserved.\n+ *   All rights reserved.\n+ *\n+ *   Redistribution and use in source and binary forms, with or without\n+ *   modification, are permitted provided that the following conditions\n+ *   are met:\n+ *\n+ *     * Redistributions of source code must retain the above copyright\n+ *       notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above copyright\n+ *       notice, this list of conditions and the following disclaimer in\n+ *       the documentation and/or other materials provided with the\n+ *       distribution.\n+ *     * Neither the name of Intel Corporation nor the names of its\n+ *       contributors may be used to endorse or promote products derived\n+ *       from this software without specific prior written permission.\n+ *\n+ *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ *   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+#ifndef _GSO_TUNNEL_TCP4_H_\n+#define _GSO_TUNNEL_TCP4_H_\n+\n+#include <stdint.h>\n+#include <rte_mbuf.h>\n+\n+/**\n+ * Segment an tunneling packet with inner TCP/IPv4 headers. This function\n+ * assumes the input packet has correct checksums and doesn't update\n+ * checksums for GSO segment. Furthermore, it doesn't process IP fragment\n+ * packets.\n+ *\n+ * @param pkt\n+ *  The packet mbuf to segment.\n+ * @param gso_size\n+ *  The max length of a GSO segment, measured in bytes.\n+ * @param ipid_delta\n+ *  The increasing uint of IP ids.\n+ * @param direct_pool\n+ *  MBUF pool used for allocating direct buffers for output segments.\n+ * @param indirect_pool\n+ *  MBUF pool used for allocating indirect buffers for output segments.\n+ * @param pkts_out\n+ *  Pointer array used to store the MBUF addresses of output GSO\n+ *  segments, when gso_tunnel_tcp4_segment() successes. If the memory\n+ *  space in pkts_out is insufficient, gso_tcp4_segment() fails and\n+ *  returns -EINVAL.\n+ * @param nb_pkts_out\n+ *  The max number of items that 'pkts_out' can keep.\n+ *\n+ * @return\n+ *   - The number of GSO segments filled in pkts_out on success.\n+ *   - Return -ENOMEM if run out of memory in MBUF pools.\n+ *   - Return -EINVAL for invalid parameters.\n+ */\n+int gso_tunnel_tcp4_segment(struct rte_mbuf *pkt,\n+\t\tuint16_t gso_size,\n+\t\tuint8_t ipid_delta,\n+\t\tstruct rte_mempool *direct_pool,\n+\t\tstruct rte_mempool *indirect_pool,\n+\t\tstruct rte_mbuf **pkts_out,\n+\t\tuint16_t nb_pkts_out);\n+#endif\ndiff --git a/lib/librte_gso/rte_gso.c b/lib/librte_gso/rte_gso.c\nindex 95f6ea6..226c75a 100644\n--- a/lib/librte_gso/rte_gso.c\n+++ b/lib/librte_gso/rte_gso.c\n@@ -38,6 +38,7 @@\n #include \"rte_gso.h\"\n #include \"gso_common.h\"\n #include \"gso_tcp4.h\"\n+#include \"gso_tunnel_tcp4.h\"\n \n int\n rte_gso_segment(struct rte_mbuf *pkt,\n@@ -66,7 +67,11 @@ rte_gso_segment(struct rte_mbuf *pkt,\n \tgso_size = gso_ctx.gso_size;\n \tipid_delta = gso_ctx.ipid_flag == RTE_GSO_IPID_INCREASE;\n \n-\tif (is_ipv4_tcp(pkt->packet_type)) {\n+\tif (is_ipv4_vxlan_ipv4_tcp(pkt->packet_type)) {\n+\t\tret = gso_tunnel_tcp4_segment(pkt, gso_size, ipid_delta,\n+\t\t\t\tdirect_pool, indirect_pool,\n+\t\t\t\tpkts_out, nb_pkts_out);\n+\t} else if (is_ipv4_tcp(pkt->packet_type)) {\n \t\tret = gso_tcp4_segment(pkt, gso_size, ipid_delta,\n \t\t\t\tdirect_pool, indirect_pool,\n \t\t\t\tpkts_out, nb_pkts_out);\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "3/5"
    ]
}