get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99803,
    "url": "http://patches.dpdk.org/api/patches/99803/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210927133450.10653-7-srikanth.k@oneconvergence.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20210927133450.10653-7-srikanth.k@oneconvergence.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210927133450.10653-7-srikanth.k@oneconvergence.com",
    "date": "2021-09-27T13:34:37",
    "name": "[06/19] common/mlx5: define PF_INET socket",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "24de236c8d36273bbafe88d364b54ea2469de817",
    "submitter": {
        "id": 2368,
        "url": "http://patches.dpdk.org/api/people/2368/?format=api",
        "name": "Srikanth Kaka",
        "email": "srikanth.k@oneconvergence.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210927133450.10653-7-srikanth.k@oneconvergence.com/mbox/",
    "series": [
        {
            "id": 19193,
            "url": "http://patches.dpdk.org/api/series/19193/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19193",
            "date": "2021-09-27T13:34:31",
            "name": "MLX5 FreeBSD support",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/19193/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/99803/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/99803/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id DA838A0C46;\n\tMon, 27 Sep 2021 16:58:52 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 42376410DA;\n\tMon, 27 Sep 2021 16:58:15 +0200 (CEST)",
            "from mail-pj1-f51.google.com (mail-pj1-f51.google.com\n [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id D52F340E3C\n for <dev@dpdk.org>; Mon, 27 Sep 2021 15:36:20 +0200 (CEST)",
            "by mail-pj1-f51.google.com with SMTP id h12so2113367pjj.1\n for <dev@dpdk.org>; Mon, 27 Sep 2021 06:36:20 -0700 (PDT)",
            "from srikanth-ThinkPad-T450.domain.name ([223.178.22.200])\n by smtp.gmail.com with ESMTPSA id t6sm17342274pfh.63.2021.09.27.06.36.16\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Sep 2021 06:36:19 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oneconvergence.com; s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=q9PGoBLdjhciMRPyM+w/EEsmxr57HymS94kyY9DxHjY=;\n b=DUkch7/9tpI1O+g9iC6fVoMNn0B1YPSVSIO5lA2Gl7lAHPx3xGdJzJCxUqsyMJBP09\n pfb4ZzW/iLrpQokJA0PScB3x1oZl8j5ff+Gd+XQPakl365RsN0hRN/VeDYzoLFypicVj\n 4Rb2JFmTxgHVSONeHsR8JZi7uqSKPUvU9249E=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=q9PGoBLdjhciMRPyM+w/EEsmxr57HymS94kyY9DxHjY=;\n b=KikuHqR9fTL/K1wrHyvofPbLBHZCXSyp5RIWbbjUgge6vy/KZbS9CXbjy43sjsXTXy\n NZwje53disxXf/xMqSeVcKIULQJMtBTGPCqHYTtfQp5DsZPeAJp6T4pb9OC/zgdHHI88\n L/YO5MIiza6c3LY52QRkc2DVdiYdcaKBsuZksRqTVRpU8FPWkW9BlSI5Ac3bqrAfSRgR\n LALNZjXwimjQR3ALchuUaA1Cq9OVcVA5eBABhKFuItCZjPOT0DnuleLN/2yPb/G7kL11\n aDZqrqG2l6lvFOkgU6wtuTT20ZpCsdnh/f2wB0dr3nwe4fgADExBlWrljagyANqnlu6z\n uOmg==",
        "X-Gm-Message-State": "AOAM533QQ1HGuw1hiZJehuhhVwwLGbYE8I+guHQUYB2/uJevPiBX5grN\n AXU9LuNDQT3Ew/kzn4/4bUhRxw==",
        "X-Google-Smtp-Source": "\n ABdhPJyzl3wzZD9MljO4yNA+KhoQ84dazSHXmvcRQR0tBby99iz9Yx+h8ZOME3NRHBA+By4XBEv9pw==",
        "X-Received": "by 2002:a17:90b:38c5:: with SMTP id\n nn5mr20035589pjb.139.1632749779960;\n Mon, 27 Sep 2021 06:36:19 -0700 (PDT)",
        "From": "Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "To": "Matan Azrad <matan@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>",
        "Cc": "dev@dpdk.org, Vag Singh <vag.singh@oneconvergence.com>,\n Anand Thulasiram <avelu@juniper.net>,\n Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "Date": "Mon, 27 Sep 2021 19:04:37 +0530",
        "Message-Id": "<20210927133450.10653-7-srikanth.k@oneconvergence.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210927133450.10653-1-srikanth.k@oneconvergence.com>",
        "References": "<20210927133450.10653-1-srikanth.k@oneconvergence.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Mon, 27 Sep 2021 16:58:07 +0200",
        "Subject": "[dpdk-dev] [PATCH 06/19] common/mlx5: define PF_INET socket",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Similar to NETLINK ROUTE socket in Linux implementation, PF_INET sockets\nare used to communicate with FreeBSD network stack\n\nSigned-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>\nSigned-off-by: Vag Singh <vag.singh@oneconvergence.com>\nSigned-off-by: Anand Thulasiram <avelu@juniper.net>\n---\n drivers/common/mlx5/freebsd/mlx5_inet.c | 306 ++++++++++++++++++++++++\n drivers/common/mlx5/freebsd/mlx5_inet.h |  75 ++++++\n 2 files changed, 381 insertions(+)\n create mode 100644 drivers/common/mlx5/freebsd/mlx5_inet.c\n create mode 100644 drivers/common/mlx5/freebsd/mlx5_inet.h",
    "diff": "diff --git a/drivers/common/mlx5/freebsd/mlx5_inet.c b/drivers/common/mlx5/freebsd/mlx5_inet.c\nnew file mode 100644\nindex 0000000000..5b21e7414e\n--- /dev/null\n+++ b/drivers/common/mlx5/freebsd/mlx5_inet.c\n@@ -0,0 +1,306 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright 2018 Mellanox Technologies, Ltd\n+ */\n+\n+#include <sys/ioctl.h>\n+#include <sys/socket.h>\n+#include <net/if.h>\n+#include <net/if_types.h>\n+#include <err.h>\n+#include <errno.h>\n+\n+#include <rte_errno.h>\n+\n+#include \"mlx5_inet.h\"\n+#include \"mlx5_common_log.h\"\n+#include \"mlx5_common_utils.h\"\n+#include \"mlx5_malloc.h\"\n+\n+/**\n+ * Check all multicast mode is enabled in driver through Socket.\n+ *\n+ * @param inetsk_fd\n+ *   Inet socket file descriptor.\n+ * @param ifname\n+ *   ifname buffer of mlx5_get_ifname(dev, ifname) function.\n+ * @param port_id\n+ *  port_id of the port .\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_inet_check_allmulti_flag(int inetsk_fd, char *ifname, uint16_t port_id)\n+{\n+\tstruct ifreq ifr;\n+\tint value;\n+\n+\tif (inetsk_fd < 0)\n+\t\treturn 0;\n+\n+\tmemset(&ifr, 0, sizeof(ifr));\n+\t(void)strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));\n+\n+\tif (ioctl(inetsk_fd, SIOCGIFFLAGS, (caddr_t)&ifr) < 0)\n+\t\treturn -errno;\n+\n+\tvalue = (ifr.ifr_flags & 0xffff) | (ifr.ifr_flagshigh << 16);\n+\tif (!(value & IFF_ALLMULTI)) {\n+\t\tDRV_LOG(WARNING,\n+\t\t\t\"port %u allmulti mode not enabled from kernel, \"\n+\t\t\t\"please disable it from DPDK\", port_id);\n+\t\treturn -1;\n+\t}\n+\treturn 0;\n+}\n+\n+/**\n+ * Enable promiscuous / all multicast mode through Socket.\n+ * We make a copy of ifreq to avoid SIOCIGIFFLAGS overwriting on the union\n+ * portion of the ifreq structure.\n+ *\n+ * @param inetsk_fd\n+ *   Inet socket file descriptor.\n+ * @param ifname_output\n+ *   ifname buffer of mlx5_get_ifname(dev, ifname) function.\n+ * @param flags\n+ *   IFF_PPROMISC for promiscuous, IFF_ALLMULTI for allmulti.\n+ * @param enable\n+ *   Nonzero to enable, disable otherwise.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_inet_device_flags(int inetsk_fd, char *ifname, int flags, int enable)\n+{\n+\tstruct ifreq ifr;\n+\tint value;\n+\n+\tassert(!(flags & ~(IFF_PPROMISC)));\n+\tif (inetsk_fd < 0)\n+\t\treturn 0;\n+\n+\tmemset(&ifr, 0, sizeof(ifr));\n+\t(void)strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));\n+\n+\tif (ioctl(inetsk_fd, SIOCGIFFLAGS, (caddr_t)&ifr) < 0)\n+\t\treturn -errno;\n+\n+\tvalue = (ifr.ifr_flags & 0xffff) | (ifr.ifr_flagshigh << 16);\n+\tif (enable)\n+\t\tvalue |= flags;\n+\telse\n+\t\tvalue &= ~flags;\n+\n+\tifr.ifr_flags = value & 0xffff;\n+\tifr.ifr_flagshigh = value >> 16;\n+\n+\tif (ioctl(inetsk_fd, SIOCSIFFLAGS, (caddr_t)&ifr) < 0)\n+\t\treturn -errno;\n+\n+\treturn 0;\n+}\n+\n+/**\n+ * Enable promiscuous mode through INET Socket.\n+ *\n+ * @param inetsk_fd\n+ *   Inet socket file descriptor.\n+ * @param ifname_output\n+ *   ifname buffer of mlx5_get_ifname(dev, ifname) function.\n+ * @param enable\n+ *   Nonzero to enable, disable otherwise.\n+ * @param port_id\n+ *   port_id of the interface\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_inet_promisc(int inetsk_fd, char *ifname, int enable, uint16_t port_id)\n+{\n+\tint ret = mlx5_inet_device_flags(inetsk_fd, ifname, IFF_PPROMISC, enable);\n+\n+\tif (ret)\n+\t\tDRV_LOG(DEBUG,\n+\t\t\t\"port %u cannot %s promisc mode: Socket error %s\",\n+\t\t\tport_id, enable ? \"enable\" : \"disable\",\n+\t\t\tstrerror(rte_errno));\n+\treturn ret;\n+}\n+\n+/**\n+ * Modify the MAC address neighbour table with INET Socket.\n+ *\n+ * @param inetsk_fd\n+ *   Inet socket file descriptor.\n+ * @param ifname_output\n+ *   ifname buffer of mlx5_get_ifname(dev, ifname) function.\n+ * @param mac\n+ *   MAC address to consider.\n+ * @param port_id\n+ *   port_id of the interface\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_inet_mac_addr_modify(int inetsk_fd, char *ifname, struct rte_ether_addr *mac, uint16_t port_id)\n+{\n+\tstruct ifreq ifr;\n+\n+\tif (inetsk_fd < 0)\n+\t\treturn 0;\n+\n+\tmemset(&ifr, 0, sizeof(ifr));\n+\t(void)strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));\n+\tifr.ifr_addr.sa_family = AF_LINK;\n+\tmemcpy(ifr.ifr_addr.sa_data, mac, RTE_ETHER_ADDR_LEN);\n+\tifr.ifr_addr.sa_len = RTE_ETHER_ADDR_LEN;\n+\n+\tif (ioctl(inetsk_fd, SIOCSIFLLADDR, &ifr) < 0) {\n+\t\trte_errno = errno;\n+\t\tgoto error;\n+\t}\n+\n+\treturn 0;\n+error:\n+\tDRV_LOG(DEBUG,\n+\t\t\"port %u cannot add MAC address %02X:%02X:%02X:%02X:%02X:%02X %s\",\n+\t\tport_id,\n+\t\tmac->addr_bytes[0], mac->addr_bytes[1],\n+\t\tmac->addr_bytes[2], mac->addr_bytes[3],\n+\t\tmac->addr_bytes[4], mac->addr_bytes[5],\n+\t\tstrerror(rte_errno));\n+\treturn -rte_errno;\n+}\n+\n+/**\n+ * Set a MAC address.\n+ *\n+ * @param inetsk_fd\n+ *   Inet socket file descriptor.\n+ * @param ifname_output\n+ *   ifname buffer of mlx5_get_ifname(dev, ifname) function.\n+ * @param mac\n+ *   MAC address to register.\n+ * @param index\n+ *   MAC address index.\n+ * @param port_id\n+ *   port_id of the interface\n+ * @param mac_own\n+ *   Current MAC address.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_inet_mac_addr_set(int inetsk_fd, char *ifname,\n+\t\tstruct rte_ether_addr *mac, uint32_t index,\n+\t\tuint16_t port_id, uint64_t *mac_own)\n+{\n+\tint ret;\n+\n+\tret = mlx5_inet_mac_addr_modify(inetsk_fd, ifname, mac, port_id);\n+\tif (!ret)\n+\t\tBITFIELD_SET(mac_own, index);\n+\tif (ret == -EEXIST)\n+\t\treturn 0;\n+\treturn ret;\n+}\n+\n+/**\n+ * DPDK callback to add a MAC address.\n+ *\n+ * @param dev\n+ *   Pointer to Ethernet device structure.\n+ * @param mac_addr\n+ *   MAC address to register.\n+ * @param index\n+ *   MAC address index.\n+ * @param vmdq\n+ *   VMDq pool index to associate address with (ignored).\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_inet_mac_addr_add(struct rte_ether_addr *mac __rte_unused,\n+\t\t\tuint32_t index __rte_unused,\n+\t\t\tuint32_t vmdq __rte_unused,\n+\t\t\tuint16_t port_id)\n+{\n+\tDRV_LOG(INFO, \"port %u add MAC not supported in FreeBSD\",\n+\t\tport_id);\n+\treturn -EOPNOTSUPP;\n+}\n+\n+/**\n+ * Before exiting, make interface LLADDR same as HWADDR\n+ *\n+ * @param inetsk_fd\n+ *   Inet socket file descriptor.\n+ * @param ifname_output\n+ *   ifname buffer of mlx5_get_ifname(dev, ifname) function.\n+ * @param lladdr\n+ * @param port_id\n+ *   port_id of the interface\n+ */\n+void\n+mlx5_inet_mac_addr_flush(int inetsk_fd, char *ifname,\n+\t\t\tstruct rte_ether_addr *lladdr,\n+\t\t\tuint16_t port_id)\n+{\n+\tstruct ifreq ifr;\n+\n+\tif (inetsk_fd < 0)\n+\t\treturn;\n+\n+\tmemset(&ifr, 0, sizeof(ifr));\n+\t(void)strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));\n+\tifr.ifr_addr.sa_family = AF_LINK;\n+\n+\tif (ioctl(inetsk_fd, SIOCGHWADDR, &ifr) < 0)\n+\t\treturn;\n+\n+\tif (memcmp(ifr.ifr_addr.sa_data, lladdr, RTE_ETHER_ADDR_LEN) == 0)\n+\t\treturn;\n+\n+\tmlx5_inet_mac_addr_modify(inetsk_fd, ifname,\n+\t\t\t\t  (struct rte_ether_addr *)&ifr.ifr_addr.sa_data,\n+\t\t\t\t  port_id);\n+}\n+\n+/**\n+ * Remove a MAC address.\n+ *\n+ * @param mac\n+ *   MAC address to remove.\n+ * @param index\n+ *   MAC address index.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+void\n+mlx5_inet_mac_addr_remove(uint16_t port_id, uint32_t index __rte_unused)\n+{\n+\tDRV_LOG(INFO,\n+\t\t\"port %u cannot remove MAC. Operation not supported in FreeBSD\",\n+\t\tport_id);\n+}\n+\n+/* No bind required on this socket as there are no incoming messages */\n+int\n+mlx5_inet_init(void)\n+{\n+\tint s;\n+\n+\ts = socket(PF_INET, SOCK_DGRAM, 0);\n+\tif (s < 0) {\n+\t\trte_errno = errno;\n+\t\treturn -rte_errno;\n+\t}\n+\n+\treturn s;\n+}\ndiff --git a/drivers/common/mlx5/freebsd/mlx5_inet.h b/drivers/common/mlx5/freebsd/mlx5_inet.h\nnew file mode 100644\nindex 0000000000..1bbf4ffb47\n--- /dev/null\n+++ b/drivers/common/mlx5/freebsd/mlx5_inet.h\n@@ -0,0 +1,75 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright 2019 Mellanox Technologies, Ltd\n+ */\n+\n+#ifndef RTE_PMD_MLX5_INET_H_\n+#define RTE_PMD_MLX5_INET_H_\n+\n+#include <net/if.h>\n+#include <netinet/in.h>\n+\n+#include <rte_ether.h>\n+\n+#include \"mlx5_common.h\"\n+\n+\n+/* VLAN netdev for VLAN workaround. */\n+struct mlx5_nl_vlan_dev {\n+\tuint32_t refcnt;\n+\tuint32_t ifindex; /**< Own interface index. */\n+};\n+\n+/*\n+ * Array of VLAN devices created on the base of VF\n+ * used for workaround in virtual environments.\n+ */\n+\n+struct mlx5_nl_vlan_vmwa_context {\n+\tint nl_socket;\n+\tuint32_t vf_ifindex;\n+\trte_spinlock_t sl;\n+\tstruct mlx5_nl_vlan_dev vlan_dev[4096];\n+};\n+\n+__rte_internal\n+void mlx5_nl_vlan_vmwa_delete(struct mlx5_nl_vlan_vmwa_context *vmwa,\n+\t\t\t      uint32_t ifindex);\n+\n+__rte_internal\n+uint32_t mlx5_nl_vlan_vmwa_create(struct mlx5_nl_vlan_vmwa_context *vmwa,\n+\t\t\t\t  uint32_t ifindex, uint16_t tag);\n+int\n+mlx5_inet_check_allmulti_flag(int inetsk_fd, char *ifname, uint16_t port_id);\n+\n+int\n+mlx5_inet_device_flags(int inetsk_fd, char *ifname, int flags, int enable);\n+\n+int\n+mlx5_inet_promisc(int inetsk_fd, char *ifname, int enable, uint16_t port_id);\n+\n+int\n+mlx5_inet_mac_addr_modify(int inetsk_fd, char *ifname,\n+\t\t\tstruct rte_ether_addr *mac, uint16_t port_id);\n+\n+int\n+mlx5_inet_mac_addr_set(int inetsk_fd, char *ifname,\n+\t\t\tstruct rte_ether_addr *mac, uint32_t index,\n+\t\t\tuint16_t port_id, uint64_t *mac_own);\n+\n+int\n+mlx5_inet_mac_addr_add(struct rte_ether_addr *mac __rte_unused,\n+\t\t\tuint32_t index __rte_unused,\n+\t\t\tuint32_t vmdq __rte_unused,\n+\t\t\tuint16_t port_id);\n+\n+void\n+mlx5_inet_mac_addr_flush(int inetsk_fd, char *ifname,\n+\t\t\tstruct rte_ether_addr *lladdr,\n+\t\t\tuint16_t port_id);\n+\n+void\n+mlx5_inet_mac_addr_remove(uint16_t port_id, uint32_t index __rte_unused);\n+\n+int\n+mlx5_inet_init(void);\n+#endif /* RTE_PMD_MLX5_INET_H_ */\n",
    "prefixes": [
        "06/19"
    ]
}