get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139792,
    "url": "http://patchwork.dpdk.org/api/patches/139792/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240502025201.28322-9-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20240502025201.28322-9-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240502025201.28322-9-stephen@networkplumber.org",
    "date": "2024-05-02T02:49:27",
    "name": "[v11,8/9] net/tap: simplify internals",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "85b9415d84f7c7f6bafa4f252d03f37fc5468956",
    "submitter": {
        "id": 27,
        "url": "http://patchwork.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240502025201.28322-9-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31862,
            "url": "http://patchwork.dpdk.org/api/series/31862/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31862",
            "date": "2024-05-02T02:49:19",
            "name": "net/tap fix RSS (BPF) flow support",
            "version": 11,
            "mbox": "http://patchwork.dpdk.org/series/31862/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/139792/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/139792/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 319E843F63;\n\tThu,  2 May 2024 04:53:05 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2EAE3406B4;\n\tThu,  2 May 2024 04:52:26 +0200 (CEST)",
            "from mail-pf1-f179.google.com (mail-pf1-f179.google.com\n [209.85.210.179])\n by mails.dpdk.org (Postfix) with ESMTP id 99E06402E8\n for <dev@dpdk.org>; Thu,  2 May 2024 04:52:18 +0200 (CEST)",
            "by mail-pf1-f179.google.com with SMTP id\n d2e1a72fcca58-6f4302187c0so344646b3a.1\n for <dev@dpdk.org>; Wed, 01 May 2024 19:52:18 -0700 (PDT)",
            "from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])\n by smtp.gmail.com with ESMTPSA id\n z19-20020aa78893000000b006ecfc3a8d6csm104818pfe.124.2024.05.01.19.52.17\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 01 May 2024 19:52:17 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1714618338;\n x=1715223138; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=qMJk0/wUyC+YkUBTmkm9rHnDdJr/2BD43yaivOSfRfU=;\n b=AcvqrkZlJh+FkHNEko3IF/+FUkL1d0CKPFh8+UbibdiQzQCoDyG9+xP17Jb5CrDsYc\n ag5kkAGmd4+c/BIE04r6Oc2kJsSuqnNznv4pwP5woNYmtYc0/F0T6TCe7rPfnjJ9HdI0\n wc1Vx6l6/K7Rpcj3wmqHi0rJYzMKzv8oj9RS0lgr3MmA5Rw3MXTX8uo3xOpf9o7a2fXu\n Uz4JKSMPfMJeKwlbuhpLUHjBGlnpG/twgxYXBc9S8bQQxs3P0NDR2B/Wth2O2wWJAkV6\n DEaPuA4xYGyvUzIuB7bU0WUei12er80amdSVf9BJGt2Brnj1ve2kyIe+q479CNpxkd9F\n 7Buw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1714618338; x=1715223138;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=qMJk0/wUyC+YkUBTmkm9rHnDdJr/2BD43yaivOSfRfU=;\n b=ArgfGBJVN0KttlGPWpAqwbd5ogl/e33SWENOlwbIhWyjc9IWduADNXPMB6iWlV1K/g\n rnE7CZFksXHMPFAKj3NofIl+SyA51mypTW47vZnxqG9MBBKcdcJyMNmBZbNd/+32qAle\n ZC64MO/ANrPpIcr/SQXPnfHNjRDyqIAH4qXW7xIK8if2xtVNHJqmem7EflgTwWvgSnZ+\n mRAqvPau37RmrKqJRzwdDwdQop7azWU+crl2Q2M1MmwMCFCDhb7r/ZJb18AhUE/CL4vw\n 04+FFnseTtzoDnYdtCaFLE6degd45pkJ7Cz0EF576buNUXtmC6/3EEQ7wfSFqsb6Kwp5\n OI+Q==",
        "X-Gm-Message-State": "AOJu0YxmQtlEaNIhFFLgfoI9hsVMNqOvGX4SVPiP1CKbx4r0iAb2m+7J\n zzZP//zz0vaB8YY363yQMgKPLiHe/FeXjEIcX+BakKJWhlLnFqWA+zruTlXPvPDp/dlWWfmQo1M\n KQ64=",
        "X-Google-Smtp-Source": "\n AGHT+IHjPExGKZDjl/C366cNJRktiOnGN05OpmFZ9wLVd96ee9tmkneh3ClB2RjSTuzwLSYjqUIdXw==",
        "X-Received": "by 2002:a05:6a21:594:b0:1af:6088:10fc with SMTP id\n lw20-20020a056a21059400b001af608810fcmr2293984pzb.13.1714618337694;\n Wed, 01 May 2024 19:52:17 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Subject": "[PATCH v11 8/9] net/tap: simplify internals",
        "Date": "Wed,  1 May 2024 19:49:27 -0700",
        "Message-ID": "<20240502025201.28322-9-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240502025201.28322-1-stephen@networkplumber.org>",
        "References": "<20240130034925.44869-1-stephen@networkplumber.org>\n <20240502025201.28322-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "The names of Linux network devices are IFNAMSIZ(16) not the\nsame as DPDK which has up to 64 characters. Don't need to\nhold onto the whole ifreq to save the remote interface flags.\n\nMake sure packet and byte counters are read once, so that global\nand per-queue values add up. No need for separate rx_nombuf counter\nsince there is an alloc_failed value in ethdev.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/tap/rte_eth_tap.c | 114 +++++++++++++++++++---------------\n drivers/net/tap/rte_eth_tap.h |  12 ++--\n 2 files changed, 71 insertions(+), 55 deletions(-)",
    "diff": "diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c\nindex d847565073..2af6b763e6 100644\n--- a/drivers/net/tap/rte_eth_tap.c\n+++ b/drivers/net/tap/rte_eth_tap.c\n@@ -46,6 +46,11 @@\n #include <tap_netlink.h>\n #include <tap_tcmsgs.h>\n \n+/* Used to snapshot statistics */\n+#ifndef READ_ONCE\n+#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))\n+#endif\n+\n /* Linux based path to the TUN device */\n #define TUN_TAP_DEV_PATH        \"/dev/net/tun\"\n #define DEFAULT_TAP_NAME        \"dtap\"\n@@ -212,7 +217,7 @@ tun_alloc(struct pmd_internals *pmd, int is_keepalive, int persistent)\n \t * and need to find the resulting device.\n \t */\n \tTAP_LOG(DEBUG, \"Device name is '%s'\", ifr.ifr_name);\n-\tstrlcpy(pmd->name, ifr.ifr_name, RTE_ETH_NAME_MAX_LEN);\n+\tstrlcpy(pmd->name, ifr.ifr_name, IFNAMSIZ);\n \n \tif (is_keepalive) {\n \t\t/*\n@@ -466,7 +471,8 @@ pmd_rx_burst(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts)\n \t\t\tstruct rte_mbuf *buf = rte_pktmbuf_alloc(rxq->mp);\n \n \t\t\tif (unlikely(!buf)) {\n-\t\t\t\trxq->stats.rx_nombuf++;\n+\t\t\t\trte_eth_devices[rxq->in_port].data->rx_mbuf_alloc_failed++;\n+\n \t\t\t\t/* No new buf has been allocated: do nothing */\n \t\t\t\tif (!new_tail || !seg)\n \t\t\t\t\tgoto end;\n@@ -1047,43 +1053,44 @@ tap_dev_info(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n static int\n tap_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *tap_stats)\n {\n-\tunsigned int i, imax;\n-\tunsigned long rx_total = 0, tx_total = 0, tx_err_total = 0;\n-\tunsigned long rx_bytes_total = 0, tx_bytes_total = 0;\n-\tunsigned long rx_nombuf = 0, ierrors = 0;\n+\tunsigned int i;\n \tconst struct pmd_internals *pmd = dev->data->dev_private;\n+\tuint64_t bytes, packets;\n \n \t/* rx queue statistics */\n-\timax = (dev->data->nb_rx_queues < RTE_ETHDEV_QUEUE_STAT_CNTRS) ?\n-\t\tdev->data->nb_rx_queues : RTE_ETHDEV_QUEUE_STAT_CNTRS;\n-\tfor (i = 0; i < imax; i++) {\n-\t\ttap_stats->q_ipackets[i] = pmd->rxq[i].stats.ipackets;\n-\t\ttap_stats->q_ibytes[i] = pmd->rxq[i].stats.ibytes;\n-\t\trx_total += tap_stats->q_ipackets[i];\n-\t\trx_bytes_total += tap_stats->q_ibytes[i];\n-\t\trx_nombuf += pmd->rxq[i].stats.rx_nombuf;\n-\t\tierrors += pmd->rxq[i].stats.ierrors;\n+\tfor (i = 0; i < dev->data->nb_rx_queues; i++) {\n+\t\tconst struct rx_queue *rxq = &pmd->rxq[i];\n+\n+\t\tpackets = READ_ONCE(rxq->stats.ipackets);\n+\t\tbytes = READ_ONCE(rxq->stats.ibytes);\n+\n+\t\ttap_stats->ipackets += packets;\n+\t\ttap_stats->ibytes += bytes;\n+\t\ttap_stats->ierrors += rxq->stats.ierrors;\n+\n+\t\tif (i < RTE_ETHDEV_QUEUE_STAT_CNTRS) {\n+\t\t\ttap_stats->q_ipackets[i] = packets;\n+\t\t\ttap_stats->q_ibytes[i] =  bytes;\n+\t\t}\n \t}\n \n \t/* tx queue statistics */\n-\timax = (dev->data->nb_tx_queues < RTE_ETHDEV_QUEUE_STAT_CNTRS) ?\n-\t\tdev->data->nb_tx_queues : RTE_ETHDEV_QUEUE_STAT_CNTRS;\n-\n-\tfor (i = 0; i < imax; i++) {\n-\t\ttap_stats->q_opackets[i] = pmd->txq[i].stats.opackets;\n-\t\ttap_stats->q_obytes[i] = pmd->txq[i].stats.obytes;\n-\t\ttx_total += tap_stats->q_opackets[i];\n-\t\ttx_err_total += pmd->txq[i].stats.errs;\n-\t\ttx_bytes_total += tap_stats->q_obytes[i];\n-\t}\n-\n-\ttap_stats->ipackets = rx_total;\n-\ttap_stats->ibytes = rx_bytes_total;\n-\ttap_stats->ierrors = ierrors;\n-\ttap_stats->rx_nombuf = rx_nombuf;\n-\ttap_stats->opackets = tx_total;\n-\ttap_stats->oerrors = tx_err_total;\n-\ttap_stats->obytes = tx_bytes_total;\n+\tfor (i = 0; i < dev->data->nb_tx_queues; i++) {\n+\t\tconst struct tx_queue *txq = &pmd->txq[i];\n+\n+\t\tpackets = READ_ONCE(txq->stats.opackets);\n+\t\tbytes = READ_ONCE(txq->stats.obytes);\n+\n+\t\ttap_stats->opackets += packets;\n+\t\ttap_stats->obytes += bytes;\n+\t\ttap_stats->oerrors += txq->stats.errs;\n+\n+\t\tif (i < RTE_ETHDEV_QUEUE_STAT_CNTRS) {\n+\t\t\ttap_stats->q_opackets[i] = packets;\n+\t\t\ttap_stats->q_obytes[i] = bytes;\n+\t\t}\n+\t}\n+\n \treturn 0;\n }\n \n@@ -1097,7 +1104,6 @@ tap_stats_reset(struct rte_eth_dev *dev)\n \t\tpmd->rxq[i].stats.ipackets = 0;\n \t\tpmd->rxq[i].stats.ibytes = 0;\n \t\tpmd->rxq[i].stats.ierrors = 0;\n-\t\tpmd->rxq[i].stats.rx_nombuf = 0;\n \n \t\tpmd->txq[i].stats.opackets = 0;\n \t\tpmd->txq[i].stats.errs = 0;\n@@ -1156,9 +1162,13 @@ tap_dev_close(struct rte_eth_dev *dev)\n \t}\n \n \tif (internals->remote_if_index) {\n+\t\tstruct ifreq remote_ifr;\n+\n+\t\tstrlcpy(remote_ifr.ifr_name, internals->remote_iface, IFNAMSIZ);\n+\t\tremote_ifr.ifr_flags = internals->remote_flags;\n+\n \t\t/* Restore initial remote state */\n-\t\tint ret = ioctl(internals->ioctl_sock, SIOCSIFFLAGS,\n-\t\t\t\t&internals->remote_initial_flags);\n+\t\tint ret = ioctl(internals->ioctl_sock, SIOCSIFFLAGS, &remote_ifr);\n \t\tif (ret)\n \t\t\tTAP_LOG(ERR, \"restore remote state failed: %d\", ret);\n \n@@ -2067,16 +2077,22 @@ eth_dev_tap_create(struct rte_vdev_device *vdev, const char *tap_name,\n \tLIST_INIT(&pmd->flows);\n \n \tif (strlen(remote_iface)) {\n+\t\tstruct ifreq remote_ifr;\n+\n \t\tpmd->remote_if_index = if_nametoindex(remote_iface);\n \t\tif (!pmd->remote_if_index) {\n \t\t\tTAP_LOG(ERR, \"%s: failed to get %s if_index.\",\n \t\t\t\tpmd->name, remote_iface);\n \t\t\tgoto error_remote;\n \t\t}\n-\t\tstrlcpy(pmd->remote_iface, remote_iface, RTE_ETH_NAME_MAX_LEN);\n+\t\tstrlcpy(pmd->remote_iface, remote_iface, IFNAMSIZ);\n+\n+\t\tmemset(&remote_ifr, 0, sizeof(ifr));\n+\t\tstrlcpy(remote_ifr.ifr_name, remote_iface, IFNAMSIZ);\n \n \t\t/* Save state of remote device */\n-\t\ttap_ioctl(pmd, SIOCGIFFLAGS, &pmd->remote_initial_flags, 0, REMOTE_ONLY);\n+\t\ttap_ioctl(pmd, SIOCGIFFLAGS, &remote_ifr, 0, REMOTE_ONLY);\n+\t\tpmd->remote_flags = remote_ifr.ifr_flags;\n \n \t\t/* Replicate remote MAC address */\n \t\tif (tap_ioctl(pmd, SIOCGIFHWADDR, &ifr, 0, REMOTE_ONLY) < 0) {\n@@ -2190,10 +2206,10 @@ set_interface_name(const char *key __rte_unused,\n \t\t\t\tvalue);\n \t\t\treturn -1;\n \t\t}\n-\t\tstrlcpy(name, value, RTE_ETH_NAME_MAX_LEN);\n+\t\tstrlcpy(name, value, IFNAMSIZ);\n \t} else {\n \t\t/* use tap%d which causes kernel to choose next available */\n-\t\tstrlcpy(name, DEFAULT_TAP_NAME \"%d\", RTE_ETH_NAME_MAX_LEN);\n+\t\tstrlcpy(name, DEFAULT_TAP_NAME \"%d\", IFNAMSIZ);\n \t}\n \treturn 0;\n }\n@@ -2211,7 +2227,7 @@ set_remote_iface(const char *key __rte_unused,\n \t\t\t\tvalue);\n \t\t\treturn -1;\n \t\t}\n-\t\tstrlcpy(name, value, RTE_ETH_NAME_MAX_LEN);\n+\t\tstrlcpy(name, value, IFNAMSIZ);\n \t}\n \n \treturn 0;\n@@ -2262,13 +2278,13 @@ rte_pmd_tun_probe(struct rte_vdev_device *dev)\n \tconst char *name, *params;\n \tint ret;\n \tstruct rte_kvargs *kvlist = NULL;\n-\tchar tun_name[RTE_ETH_NAME_MAX_LEN];\n-\tchar remote_iface[RTE_ETH_NAME_MAX_LEN];\n+\tchar tun_name[IFNAMSIZ];\n+\tchar remote_iface[IFNAMSIZ];\n \tstruct rte_eth_dev *eth_dev;\n \n \tname = rte_vdev_device_name(dev);\n \tparams = rte_vdev_device_args(dev);\n-\tmemset(remote_iface, 0, RTE_ETH_NAME_MAX_LEN);\n+\tmemset(remote_iface, 0, IFNAMSIZ);\n \n \tif (rte_eal_process_type() == RTE_PROC_SECONDARY &&\n \t    strlen(params) == 0) {\n@@ -2284,7 +2300,7 @@ rte_pmd_tun_probe(struct rte_vdev_device *dev)\n \t}\n \n \t/* use tun%d which causes kernel to choose next available */\n-\tstrlcpy(tun_name, DEFAULT_TUN_NAME \"%d\", RTE_ETH_NAME_MAX_LEN);\n+\tstrlcpy(tun_name, DEFAULT_TUN_NAME \"%d\", IFNAMSIZ);\n \n \tif (params && (params[0] != '\\0')) {\n \t\tTAP_LOG(DEBUG, \"parameters (%s)\", params);\n@@ -2424,8 +2440,8 @@ rte_pmd_tap_probe(struct rte_vdev_device *dev)\n \tint ret;\n \tstruct rte_kvargs *kvlist = NULL;\n \tint speed;\n-\tchar tap_name[RTE_ETH_NAME_MAX_LEN];\n-\tchar remote_iface[RTE_ETH_NAME_MAX_LEN];\n+\tchar tap_name[IFNAMSIZ];\n+\tchar remote_iface[IFNAMSIZ];\n \tstruct rte_ether_addr user_mac = { .addr_bytes = {0} };\n \tstruct rte_eth_dev *eth_dev;\n \tint tap_devices_count_increased = 0;\n@@ -2479,8 +2495,8 @@ rte_pmd_tap_probe(struct rte_vdev_device *dev)\n \tspeed = RTE_ETH_SPEED_NUM_10G;\n \n \t/* use tap%d which causes kernel to choose next available */\n-\tstrlcpy(tap_name, DEFAULT_TAP_NAME \"%d\", RTE_ETH_NAME_MAX_LEN);\n-\tmemset(remote_iface, 0, RTE_ETH_NAME_MAX_LEN);\n+\tstrlcpy(tap_name, DEFAULT_TAP_NAME \"%d\", IFNAMSIZ);\n+\tmemset(remote_iface, 0, IFNAMSIZ);\n \n \tif (params && (params[0] != '\\0')) {\n \t\tTAP_LOG(DEBUG, \"parameters (%s)\", params);\ndiff --git a/drivers/net/tap/rte_eth_tap.h b/drivers/net/tap/rte_eth_tap.h\nindex ce4322ad04..ca510e2c6b 100644\n--- a/drivers/net/tap/rte_eth_tap.h\n+++ b/drivers/net/tap/rte_eth_tap.h\n@@ -68,15 +68,16 @@ struct tx_queue {\n \n struct pmd_internals {\n \tstruct rte_eth_dev *dev;          /* Ethernet device. */\n-\tchar remote_iface[RTE_ETH_NAME_MAX_LEN]; /* Remote netdevice name */\n-\tchar name[RTE_ETH_NAME_MAX_LEN];  /* Internal Tap device name */\n+\tchar remote_iface[IFNAMSIZ];\t  /* Remote netdevice name */\n+\tchar name[IFNAMSIZ];\t\t  /* Internal Tap device name */\n \tint type;                         /* Type field - TUN|TAP */\n \tint persist;\t\t\t  /* 1 if keep link up, else 0 */\n \tstruct rte_ether_addr eth_addr;   /* Mac address of the device port */\n-\tstruct ifreq remote_initial_flags;/* Remote netdevice flags on init */\n+\tuint16_t remote_flags;\t\t  /* Remote netdevice flags on init */\n \tint remote_if_index;              /* remote netdevice IF_INDEX */\n \tint if_index;                     /* IF_INDEX for the port */\n \tint ioctl_sock;                   /* socket for ioctl calls */\n+\tint ka_fd;                        /* keep-alive file descriptor */\n \n #ifdef HAVE_TCA_FLOWER\n \tint nlsk_fd;                      /* Netlink socket fd */\n@@ -88,12 +89,11 @@ struct pmd_internals {\n \t/* implicit rte_flow rules set when a remote device is active */\n \tLIST_HEAD(tap_implicit_flows, rte_flow) implicit_flows;\n #endif\n+\tstruct rte_intr_handle *intr_handle;         /* LSC interrupt handle. */\n+\tstruct rte_mempool *gso_ctx_mp;     /* Mempool for GSO packets */\n \n \tstruct rx_queue rxq[RTE_PMD_TAP_MAX_QUEUES]; /* List of RX queues */\n \tstruct tx_queue txq[RTE_PMD_TAP_MAX_QUEUES]; /* List of TX queues */\n-\tstruct rte_intr_handle *intr_handle;         /* LSC interrupt handle. */\n-\tint ka_fd;                        /* keep-alive file descriptor */\n-\tstruct rte_mempool *gso_ctx_mp;     /* Mempool for GSO packets */\n };\n \n struct pmd_process_private {\n",
    "prefixes": [
        "v11",
        "8/9"
    ]
}