Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/48863/?format=api
http://patches.dpdk.org/api/patches/48863/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20181214131846.22439-6-mk@semihalf.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": "<20181214131846.22439-6-mk@semihalf.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20181214131846.22439-6-mk@semihalf.com", "date": "2018-12-14T13:18:31", "name": "[05/20] net/ena: skip packet with wrong req_id", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "479ff5f1b34ec826bdd0e12d2cca2c8ec64b43af", "submitter": { "id": 786, "url": "http://patches.dpdk.org/api/people/786/?format=api", "name": "Michal Krawczyk", "email": "mk@semihalf.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20181214131846.22439-6-mk@semihalf.com/mbox/", "series": [ { "id": 2783, "url": "http://patches.dpdk.org/api/series/2783/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2783", "date": "2018-12-14T13:18:26", "name": "net/ena: ENAv2 release", "version": 1, "mbox": "http://patches.dpdk.org/series/2783/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/48863/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/48863/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 4C6D71BB71;\n\tFri, 14 Dec 2018 14:19:07 +0100 (CET)", "from mail-lj1-f194.google.com (mail-lj1-f194.google.com\n\t[209.85.208.194]) by dpdk.org (Postfix) with ESMTP id 5DEC81BB43\n\tfor <dev@dpdk.org>; Fri, 14 Dec 2018 14:19:03 +0100 (CET)", "by mail-lj1-f194.google.com with SMTP id s5-v6so4846080ljd.12\n\tfor <dev@dpdk.org>; Fri, 14 Dec 2018 05:19:03 -0800 (PST)", "from mkPC.semihalf.local (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.gmail.com with ESMTPSA id\n\to25sm873884lfd.29.2018.12.14.05.19.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 14 Dec 2018 05:19:01 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=EuyI/XdksgNbjTKERvJ3HMF0JYYHdZo/dr8/e87qIJE=;\n\tb=pWqjUWvDwb5yzVHftfijsdMcN9GTMvFbKV4hT96+esYChZ1H6B27Pb6Ay0uuMjV4Rw\n\toFSvkWgiS0BxLXMs6HkhNNCwgO81F17hjqE8xXSzMVFwVfHy/r0ljqEqH3EkP0JzY7Lo\n\tmJ5Q/pVl1w71iSPGM0hQysPWW2zLRTq1ohgJb/Qg3sjtlHgWrC5vlpfeZiil2YZg5kc+\n\tD4CFdP3nRpYOoyJN7McXjG7nND8PLZCaMYKEtEPLN6ysz9h2KYkWshjqxECLFZ7QljY2\n\tnS7JcGGbM4tI/SufpIpErVswvi0OkIW9JPGgG2McbypvtVUVB9zXLBiAp6J99p75oWFi\n\tlJmA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=EuyI/XdksgNbjTKERvJ3HMF0JYYHdZo/dr8/e87qIJE=;\n\tb=b/N6GpzYS9HzL5tMzo7L+aiRZe7+zVlUK3ECakRBKSZSKqZGsMHOaAh43V5ePqggLb\n\tkN/aZcVv9MQ/RVHWu1VwZm6D1pPVlRmzH6uPCFGWRWh+KAQUcxbJoJ+/jgrG+70OGd8w\n\twP47wQ8L6A7uVD0Fv1hJvgpWtQkeRTDZpRnRvdByhURw0Mm4GWZLoBuKpqgB5JcH3QEr\n\tIC24q+LSPZ9pBEWWHOtMDmUO0JxJgSrDxHfccJ6it6C7A98OSoW9TOawHULWODZGgOQm\n\tyKEMfqeetvL7T8aJdwAwO8UyFylAP/EglpWj6sEtCTLuqv82cZ5VFbKVaIhxt4TD+raO\n\tfE1g==", "X-Gm-Message-State": "AA+aEWZy7xw+AlpTmLY5aNHSAjejFqCjdA/f6QbQwwM6JV7gLZYQe12T\n\tixGP3gqW+we35o/KnzMfd1D1gfzaDec=", "X-Google-Smtp-Source": "AFSGD/XM7AvtxjjHnVIhitbQ3qUIj0jshxwlQYEdQ+07nwbmIJoAPspyHMEKCjIZuRn3xWCiVQetnA==", "X-Received": "by 2002:a2e:c41:: with SMTP id\n\to1-v6mr1871151ljd.152.1544793542606; \n\tFri, 14 Dec 2018 05:19:02 -0800 (PST)", "From": "Michal Krawczyk <mk@semihalf.com>", "To": "dev@dpdk.org", "Cc": "gtzalik@dpdk.org, mw@dpdk.org, matua@amazon.com, rk@semihalf.com,\n\tstable@dpdk.org", "Date": "Fri, 14 Dec 2018 14:18:31 +0100", "Message-Id": "<20181214131846.22439-6-mk@semihalf.com>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20181214131846.22439-1-mk@semihalf.com>", "References": "<20181214131846.22439-1-mk@semihalf.com>", "Subject": "[dpdk-dev] [PATCH 05/20] net/ena: skip packet with wrong req_id", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Rafal Kozik <rk@semihalf.com>\n\nWhen invalid req_id is received, the reset should be handled by the\napplication, as it is indicating invalid rings state, so further Rx\nis not making any sense.\n\nFixes: c2034976673d (\"net/ena: add Rx out of order completion\")\nCc: stable@dpdk.org\n\nSigned-off-by: Rafal Kozik <rk@semihalf.com>\nAcked-by: Michal Krawczyk <mk@semihalf.com>\n---\n drivers/net/ena/ena_ethdev.c | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c\nindex 617f85f02..505d9bf30 100644\n--- a/drivers/net/ena/ena_ethdev.c\n+++ b/drivers/net/ena/ena_ethdev.c\n@@ -1988,6 +1988,8 @@ static uint16_t eth_ena_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,\n \t\t\tsegments++;\n \t\t\tnext_to_clean++;\n \t\t}\n+\t\tif (unlikely(rc))\n+\t\t\tbreak;\n \n \t\t/* fill mbuf attributes if any */\n \t\tena_rx_mbuf_prepare(mbuf_head, &ena_rx_ctx);\n", "prefixes": [ "05/20" ] }{ "id": 48863, "url": "