Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/48871/?format=api
http://patchwork.dpdk.org/api/patches/48871/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20181214131846.22439-14-mk@semihalf.com/", "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": "<20181214131846.22439-14-mk@semihalf.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20181214131846.22439-14-mk@semihalf.com", "date": "2018-12-14T13:18:39", "name": "[13/20] net/ena: fix invalid reference to variable in union", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "ff1f05f45ca13c59b26ab707f9ee564a9a7130c0", "submitter": { "id": 786, "url": "http://patchwork.dpdk.org/api/people/786/?format=api", "name": "Michal Krawczyk", "email": "mk@semihalf.com" }, "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/20181214131846.22439-14-mk@semihalf.com/mbox/", "series": [ { "id": 2783, "url": "http://patchwork.dpdk.org/api/series/2783/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=2783", "date": "2018-12-14T13:18:26", "name": "net/ena: ENAv2 release", "version": 1, "mbox": "http://patchwork.dpdk.org/series/2783/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/48871/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/48871/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 72CEA1BC00;\n\tFri, 14 Dec 2018 14:19:31 +0100 (CET)", "from mail-lf1-f67.google.com (mail-lf1-f67.google.com\n\t[209.85.167.67]) by dpdk.org (Postfix) with ESMTP id E9A281BBB4\n\tfor <dev@dpdk.org>; Fri, 14 Dec 2018 14:19:13 +0100 (CET)", "by mail-lf1-f67.google.com with SMTP id b20so4217750lfa.12\n\tfor <dev@dpdk.org>; Fri, 14 Dec 2018 05:19:13 -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.12\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 14 Dec 2018 05:19:12 -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=sxV7G4kgEPZjQvV+9mXVYuMaz6/pvrsPOMxvGIa99uA=;\n\tb=TXDRoQIV6hV6qGSD5/+UAo5ClPCEAOfUuNrBzPW8RhQvaXcasxHnaTgP2nvZf75FdL\n\t0L64nW1h05lk2PmQ90Nn6i5SeruABIIkxdM2bQo1opGiGTM2XsrFt7Caw8j87ErPE/f+\n\t8EcmmzB4ffC9NzI7WUfeWNfXz/yztLzU1qv0Mvgotm/h71OlEU5viMeabdkqVA1CLc06\n\tqUu7cM7u2yVPwnMhmyjcrMT6DpmqvnHTOh8EBbV1XIhRrNj2b8ytxTsza/kN/gX2byrD\n\tYBnxVxoqYsvqZrRl51qEHlE6bomlZG9O+gCe0BW8oceTrV5VvW1vbbUQdHDrQ3US+TMe\n\tagqQ==", "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=sxV7G4kgEPZjQvV+9mXVYuMaz6/pvrsPOMxvGIa99uA=;\n\tb=ZoDJ9GcYcaTLPm5JzLspdDJeDcHeRCnTdZH3NeELBG8+38VJcVnLw3c72nqJpKGLhq\n\tVijKBadQf3Q8sYSrYdmV5UDnIHeqTYOYTiwqg+EPoXBdkAGmvd7Ax3cxA3SWS6lUrhcf\n\tEYoyQGuchkXUNuTIjDsn/EdAL/mf6/Etik02eOvsl7PWnQ5kgY0qldtWu4IHQvzkQios\n\tFCwXOwRaI43zWPyHoKso3Ag0DzOeyps/wr+ft3yum+PNtJ6EoccIxWiJb/IWI7uOxBS6\n\tQCRhanJ6f/s/1wrvok/Zbb0s2lVzZ6dhOqvPR9a7z6e/JtiTJ/HY1lL+pTjwK9Bbz+Lg\n\t5+FQ==", "X-Gm-Message-State": "AA+aEWaYpqXDXoD7eWdgidOtLqhXSu2W7Xk18MRs03ujLeTCIpIRqZQR\n\tggF1lBTf2YPRkpN/p8N3aZ1b8aoc1KY=", "X-Google-Smtp-Source": "AFSGD/WlxCO7otvHUx9vDFu4WzIgNS7VQATE/NR0/BHN6pS8hAhGuaMCV9IDynMrKeMw07vM87Eg8g==", "X-Received": "by 2002:a19:c4cc:: with SMTP id\n\tu195mr1763600lff.141.1544793553231; \n\tFri, 14 Dec 2018 05:19:13 -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:39 +0100", "Message-Id": "<20181214131846.22439-14-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 13/20] net/ena: fix invalid reference to variable\n\tin union", "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\nUse empty_rx_reqs instead of empty_tx_reqs.\nAs those two variables are part of union this not cause\nany failure, but for consistency should be changed.\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, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c\nindex 3aa32a3bf..14165561e 100644\n--- a/drivers/net/ena/ena_ethdev.c\n+++ b/drivers/net/ena/ena_ethdev.c\n@@ -1387,7 +1387,7 @@ static int ena_rx_queue_setup(struct rte_eth_dev *dev,\n \t}\n \n \tfor (i = 0; i < nb_desc; i++)\n-\t\trxq->empty_tx_reqs[i] = i;\n+\t\trxq->empty_rx_reqs[i] = i;\n \n \t/* Store pointer to this queue in upper layer */\n \trxq->configured = 1;\n", "prefixes": [ "13/20" ] }{ "id": 48871, "url": "