get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 29493,
    "url": "https://patches.dpdk.org/api/patches/29493/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1506962749-106779-2-git-send-email-mark.b.kavanagh@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": "<1506962749-106779-2-git-send-email-mark.b.kavanagh@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1506962749-106779-2-git-send-email-mark.b.kavanagh@intel.com",
    "date": "2017-10-02T16:45:44",
    "name": "[dpdk-dev,v6,1/6] gso: add Generic Segmentation Offload API framework",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "db40344ad4005ac2297fd759f0c103061542e2fc",
    "submitter": {
        "id": 133,
        "url": "https://patches.dpdk.org/api/people/133/?format=api",
        "name": "Mark Kavanagh",
        "email": "mark.b.kavanagh@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1506962749-106779-2-git-send-email-mark.b.kavanagh@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/29493/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/29493/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 6EA001B285;\n\tMon,  2 Oct 2017 18:46:03 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 60DF21B270\n\tfor <dev@dpdk.org>; Mon,  2 Oct 2017 18:46:02 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t02 Oct 2017 09:46:01 -0700",
            "from silpixa00380299.ir.intel.com ([10.237.222.17])\n\tby orsmga001.jf.intel.com with ESMTP; 02 Oct 2017 09:46:00 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.42,470,1500966000\"; d=\"scan'208\";\n\ta=\"1177834573\"",
        "From": "Mark Kavanagh <mark.b.kavanagh@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "jiayu.hu@intel.com, jianfeng.tan@intel.com, konstantin.ananyev@intel.com,\n\tferruh.yigit@intel.com, thomas@monjalon.net,\n\tMark Kavanagh <mark.b.kavanagh@intel.com>",
        "Date": "Mon,  2 Oct 2017 17:45:44 +0100",
        "Message-Id": "<1506962749-106779-2-git-send-email-mark.b.kavanagh@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "In-Reply-To": "<1506962749-106779-1-git-send-email-mark.b.kavanagh@intel.com>",
        "References": "<1506636833-25851-1-git-send-email-mark.b.kavanagh@intel.com>\n\t<1506962749-106779-1-git-send-email-mark.b.kavanagh@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v6 1/6] gso: add Generic Segmentation Offload API\n\tframework",
        "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: Jiayu Hu <jiayu.hu@intel.com>\n\nGeneric Segmentation Offload (GSO) is a SW technique to split large\npackets into small ones. Akin to TSO, GSO enables applications to\noperate on large packets, thus reducing per-packet processing overhead.\n\nTo enable more flexibility to applications, DPDK GSO is implemented\nas a standalone library. Applications explicitly use the GSO library\nto segment packets. To segment a packet requires two steps. The first\nis to set proper flags to mbuf->ol_flags, where the flags are the same\nas that of TSO. The second is to call the segmentation API,\nrte_gso_segment(). This patch introduces the GSO API framework to DPDK.\n\nrte_gso_segment() splits an input packet into small ones in each\ninvocation. The GSO library refers to these small packets generated\nby rte_gso_segment() as GSO segments. Each of the newly-created GSO\nsegments is organized as a two-segment MBUF, where the first segment is a\nstandard MBUF, which stores a copy of packet header, and the second is an\nindirect MBUF which points to a section of data in the input packet.\nrte_gso_segment() reduces the refcnt of the input packet by 1. Therefore,\nwhen all GSO segments are freed, the input packet is freed automatically.\nAdditionally, since each GSO segment has multiple MBUFs (i.e. 2 MBUFs),\nthe driver of the interface which the GSO segments are sent to should\nsupport to transmit multi-segment packets.\n\nThe GSO framework clears the PKT_TX_TCP_SEG flag for both the input\npacket, and all produced GSO segments in the event of success, since\nsegmentation in hardware is no longer required at that point.\n\nSigned-off-by: Jiayu Hu <jiayu.hu@intel.com>\nSigned-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>\n---\n config/common_base                     |   5 ++\n doc/api/doxy-api-index.md              |   1 +\n doc/api/doxy-api.conf                  |   1 +\n doc/guides/rel_notes/release_17_11.rst |   1 +\n lib/Makefile                           |   2 +\n lib/librte_gso/Makefile                |  49 +++++++++++\n lib/librte_gso/rte_gso.c               |  52 ++++++++++++\n lib/librte_gso/rte_gso.h               | 145 +++++++++++++++++++++++++++++++++\n lib/librte_gso/rte_gso_version.map     |   7 ++\n mk/rte.app.mk                          |   1 +\n 10 files changed, 264 insertions(+)\n create mode 100644 lib/librte_gso/Makefile\n create mode 100644 lib/librte_gso/rte_gso.c\n create mode 100644 lib/librte_gso/rte_gso.h\n create mode 100644 lib/librte_gso/rte_gso_version.map",
    "diff": "diff --git a/config/common_base b/config/common_base\nindex 12f6be9..58ca5c0 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -653,6 +653,11 @@ CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=n\n CONFIG_RTE_LIBRTE_GRO=y\n \n #\n+# Compile GSO library\n+#\n+CONFIG_RTE_LIBRTE_GSO=y\n+\n+#\n # Compile librte_meter\n #\n CONFIG_RTE_LIBRTE_METER=y\ndiff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md\nindex 19e0d4f..6512918 100644\n--- a/doc/api/doxy-api-index.md\n+++ b/doc/api/doxy-api-index.md\n@@ -101,6 +101,7 @@ The public API headers are grouped by topics:\n   [TCP]                (@ref rte_tcp.h),\n   [UDP]                (@ref rte_udp.h),\n   [GRO]                (@ref rte_gro.h),\n+  [GSO]                (@ref rte_gso.h),\n   [frag/reass]         (@ref rte_ip_frag.h),\n   [LPM IPv4 route]     (@ref rte_lpm.h),\n   [LPM IPv6 route]     (@ref rte_lpm6.h),\ndiff --git a/doc/api/doxy-api.conf b/doc/api/doxy-api.conf\nindex 823554f..408f2e6 100644\n--- a/doc/api/doxy-api.conf\n+++ b/doc/api/doxy-api.conf\n@@ -47,6 +47,7 @@ INPUT                   = doc/api/doxy-api-index.md \\\n                           lib/librte_ether \\\n                           lib/librte_eventdev \\\n                           lib/librte_gro \\\n+                          lib/librte_gso \\\n                           lib/librte_hash \\\n                           lib/librte_ip_frag \\\n                           lib/librte_jobstats \\\ndiff --git a/doc/guides/rel_notes/release_17_11.rst b/doc/guides/rel_notes/release_17_11.rst\nindex 8bf91bd..7508be7 100644\n--- a/doc/guides/rel_notes/release_17_11.rst\n+++ b/doc/guides/rel_notes/release_17_11.rst\n@@ -174,6 +174,7 @@ The libraries prepended with a plus sign were incremented in this version.\n      librte_ethdev.so.7\n      librte_eventdev.so.2\n      librte_gro.so.1\n+   + librte_gso.so.1\n      librte_hash.so.2\n      librte_ip_frag.so.1\n      librte_jobstats.so.1\ndiff --git a/lib/Makefile b/lib/Makefile\nindex 86caba1..3d123f4 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -108,6 +108,8 @@ DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += librte_reorder\n DEPDIRS-librte_reorder := librte_eal librte_mempool librte_mbuf\n DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += librte_pdump\n DEPDIRS-librte_pdump := librte_eal librte_mempool librte_mbuf librte_ether\n+DIRS-$(CONFIG_RTE_LIBRTE_GSO) += librte_gso\n+DEPDIRS-librte_gso := librte_eal librte_mbuf librte_ether librte_net\n \n ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)\n DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni\ndiff --git a/lib/librte_gso/Makefile b/lib/librte_gso/Makefile\nnew file mode 100644\nindex 0000000..aeaacbc\n--- /dev/null\n+++ b/lib/librte_gso/Makefile\n@@ -0,0 +1,49 @@\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+include $(RTE_SDK)/mk/rte.vars.mk\n+\n+# library name\n+LIB = librte_gso.a\n+\n+CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3\n+\n+EXPORT_MAP := rte_gso_version.map\n+\n+LIBABIVER := 1\n+\n+#source files\n+SRCS-$(CONFIG_RTE_LIBRTE_GSO) += rte_gso.c\n+\n+# install this header file\n+SYMLINK-$(CONFIG_RTE_LIBRTE_GSO)-include += rte_gso.h\n+\n+include $(RTE_SDK)/mk/rte.lib.mk\ndiff --git a/lib/librte_gso/rte_gso.c b/lib/librte_gso/rte_gso.c\nnew file mode 100644\nindex 0000000..b773636\n--- /dev/null\n+++ b/lib/librte_gso/rte_gso.c\n@@ -0,0 +1,52 @@\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 <errno.h>\n+\n+#include \"rte_gso.h\"\n+\n+int\n+rte_gso_segment(struct rte_mbuf *pkt,\n+\t\tconst struct rte_gso_ctx *gso_ctx,\n+\t\tstruct rte_mbuf **pkts_out,\n+\t\tuint16_t nb_pkts_out)\n+{\n+\tif (pkt == NULL || pkts_out == NULL || gso_ctx == NULL ||\n+\t\t\tnb_pkts_out < 1)\n+\t\treturn -EINVAL;\n+\n+\tpkt->ol_flags &= (~PKT_TX_TCP_SEG);\n+\tpkts_out[0] = pkt;\n+\n+\treturn 1;\n+}\ndiff --git a/lib/librte_gso/rte_gso.h b/lib/librte_gso/rte_gso.h\nnew file mode 100644\nindex 0000000..53725e6\n--- /dev/null\n+++ b/lib/librte_gso/rte_gso.h\n@@ -0,0 +1,145 @@\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 _RTE_GSO_H_\n+#define _RTE_GSO_H_\n+\n+/**\n+ * @file\n+ * Interface to GSO library\n+ */\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include <stdint.h>\n+#include <rte_mbuf.h>\n+\n+/* GSO IP id flags for the IPv4 header */\n+#define RTE_GSO_IPID_FIXED (1ULL << 0)\n+/**< Use fixed IP ids for output GSO segments. Setting\n+ * !RTE_GSO_IPID_FIXED indicates using incremental IP ids.\n+ */\n+\n+/**\n+ * GSO context structure.\n+ */\n+struct rte_gso_ctx {\n+\tstruct rte_mempool *direct_pool;\n+\t/**< MBUF pool for allocating direct buffers, which are used\n+\t * to store packet headers for GSO segments.\n+\t */\n+\tstruct rte_mempool *indirect_pool;\n+\t/**< MBUF pool for allocating indirect buffers, which are used\n+\t * to locate packet payloads for GSO segments. The indirect\n+\t * buffer doesn't contain any data, but simply points to an\n+\t * offset within the packet to segment.\n+\t */\n+\tuint64_t ipid_flag;\n+\t/**< flag to indicate GSO uses fixed or incremental IP ids for\n+\t * IPv4 headers of output GSO segments. If applications want\n+\t * fixed IP ids, set RTE_GSO_IPID_FIXED to ipid_flag. Conversely,\n+\t * if applications want incremental IP ids, set !RTE_GSO_IPID_FIXED.\n+\t */\n+\tuint32_t gso_types;\n+\t/**< the bit mask of required GSO types. The GSO library\n+\t * uses the same macros as that of describing device TX\n+\t * offloading capabilities (i.e. DEV_TX_OFFLOAD_*_TSO) for\n+\t * gso_types.\n+\t *\n+\t * For example, if applications want to segment TCP/IPv4\n+\t * packets, set DEV_TX_OFFLOAD_TCP_TSO in gso_types.\n+\t */\n+\tuint16_t gso_size;\n+\t/**< maximum size of an output GSO segment, including packet\n+\t * header and payload, measured in bytes.\n+\t */\n+};\n+\n+/**\n+ * Segmentation function, which supports processing of both single- and\n+ * multi- MBUF packets.\n+ *\n+ * Note that we refer to the packets that are segmented from the input\n+ * packet as 'GSO segments'. rte_gso_segment() doesn't check if the\n+ * input packet has correct checksums, and doesn't update checksums for\n+ * output GSO segments. Additionally, it doesn't process IP fragment\n+ * packets.\n+ *\n+ * Before calling rte_gso_segment(), applications must set proper ol_flags\n+ * for the packet. The GSO library uses the same macros as that of TSO.\n+ * For example, set PKT_TX_TCP_SEG and PKT_TX_IPV4 in ol_flags to segment\n+ * a TCP/IPv4 packet. If rte_gso_segment() succceds, the PKT_TX_TCP_SEG\n+ * flag is removed for all GSO segments and the input packet.\n+ *\n+ * Each of the newly-created GSO segments is organized as a two-segment\n+ * MBUF, where the first segment is a standard MBUF, which stores a copy\n+ * of packet header, and the second is an indirect MBUF which points to\n+ * a section of data in the input packet. Since each GSO segment has\n+ * multiple MBUFs (i.e. typically 2 MBUFs), the driver of the interface which\n+ * the GSO segments are sent to should support transmission of multi-segment\n+ * packets.\n+ *\n+ * If the input packet is GSO'd, its mbuf refcnt reduces by 1. Therefore,\n+ * when all GSO segments are freed, the input packet is freed automatically.\n+ *\n+ * If the memory space in pkts_out or MBUF pools is insufficient, this\n+ * function fails, and it returns (-1) * errno. Otherwise, GSO succeeds,\n+ * and this function returns the number of output GSO segments filled in\n+ * pkts_out.\n+ *\n+ * @param pkt\n+ *  The packet mbuf to segment.\n+ * @param ctx\n+ *  GSO context object pointer.\n+ * @param pkts_out\n+ *  Pointer array used to store the MBUF addresses of output GSO\n+ *  segments, when rte_gso_segment() succeeds.\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 rte_gso_segment(struct rte_mbuf *pkt,\n+\t\tconst struct rte_gso_ctx *ctx,\n+\t\tstruct rte_mbuf **pkts_out,\n+\t\tuint16_t nb_pkts_out);\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_GSO_H_ */\ndiff --git a/lib/librte_gso/rte_gso_version.map b/lib/librte_gso/rte_gso_version.map\nnew file mode 100644\nindex 0000000..e1fd453\n--- /dev/null\n+++ b/lib/librte_gso/rte_gso_version.map\n@@ -0,0 +1,7 @@\n+DPDK_17.11 {\n+\tglobal:\n+\n+\trte_gso_segment;\n+\n+\tlocal: *;\n+};\ndiff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex c25fdd9..d4c9873 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -66,6 +66,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PDUMP)          += -lrte_pdump\n _LDLIBS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR)    += -lrte_distributor\n _LDLIBS-$(CONFIG_RTE_LIBRTE_IP_FRAG)        += -lrte_ip_frag\n _LDLIBS-$(CONFIG_RTE_LIBRTE_GRO)            += -lrte_gro\n+_LDLIBS-$(CONFIG_RTE_LIBRTE_GSO)            += -lrte_gso\n _LDLIBS-$(CONFIG_RTE_LIBRTE_METER)          += -lrte_meter\n _LDLIBS-$(CONFIG_RTE_LIBRTE_SCHED)          += -lrte_sched\n _LDLIBS-$(CONFIG_RTE_LIBRTE_LPM)            += -lrte_lpm\n",
    "prefixes": [
        "dpdk-dev",
        "v6",
        "1/6"
    ]
}