Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71805/?format=api
http://patches.dpdk.org/api/patches/71805/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1592575168-16881-1-git-send-email-hkalra@marvell.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": "<1592575168-16881-1-git-send-email-hkalra@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1592575168-16881-1-git-send-email-hkalra@marvell.com", "date": "2020-06-19T13:59:28", "name": "[v2] eal: fix epoll fd list rebuild", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "2da72947a6af858a1af0c73445adc0eb45a39767", "submitter": { "id": 1182, "url": "http://patches.dpdk.org/api/people/1182/?format=api", "name": "Harman Kalra", "email": "hkalra@marvell.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1592575168-16881-1-git-send-email-hkalra@marvell.com/mbox/", "series": [ { "id": 10523, "url": "http://patches.dpdk.org/api/series/10523/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10523", "date": "2020-06-19T13:59:28", "name": "[v2] eal: fix epoll fd list rebuild", "version": 2, "mbox": "http://patches.dpdk.org/series/10523/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/71805/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/71805/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6ABB3A0518;\n\tFri, 19 Jun 2020 16:00:03 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C74531BEA5;\n\tFri, 19 Jun 2020 16:00:02 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 2A64B1BEA5;\n Fri, 19 Jun 2020 16:00:01 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 05JDv1pf032474; Fri, 19 Jun 2020 06:59:57 -0700", "from sc-exch02.marvell.com ([199.233.58.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 31q65908wj-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Fri, 19 Jun 2020 06:59:57 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH02.marvell.com\n (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Fri, 19 Jun 2020 06:59:55 -0700", "from SC-EXCH02.marvell.com (10.93.176.82) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Fri, 19 Jun 2020 06:59:55 -0700", "from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174)\n by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id\n 15.0.1497.2 via Frontend Transport; Fri, 19 Jun 2020 06:59:54 -0700", "from MWHPR18MB1070.namprd18.prod.outlook.com (2603:10b6:300:a5::11)\n by MW3PR18MB3580.namprd18.prod.outlook.com (2603:10b6:303:55::7) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Fri, 19 Jun\n 2020 13:59:53 +0000", "from MWHPR18MB1070.namprd18.prod.outlook.com\n ([fe80::e895:bdac:e157:2ed2]) by MWHPR18MB1070.namprd18.prod.outlook.com\n ([fe80::e895:bdac:e157:2ed2%11]) with mapi id 15.20.3109.023; Fri, 19 Jun\n 2020 13:59:53 +0000", "from hkarlara-OptiPlex-3046.marvell.com (115.113.156.2) by\n PN1PR01CA0078.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::18) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id\n 15.20.3109.22 via Frontend Transport; Fri, 19 Jun 2020 13:59:50 +0000" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : content-type :\n mime-version; s=pfpt0818; bh=w7hIz93kwxOJQH4lccLLXI3u/Hh2NDwhx/NVqDOd18I=;\n b=sNUoA5zx3BwvHkrKwgsdyvF3JYi219l9uQ+edzN6q6bvk75nQDDPqJvIHGcVn6/h0W/N\n /hrveiwq9LsQp0OyizvwIVx+l2Ys87eEKYbuySzOdinXX+hq8qt7CSOM23YizNT9tR+/\n UmtoEoFudu83F7dvMqobVUR9O7NR1FnJjwJae+y7xjQnqusWuMEUfAqlD1ScXeslnNO1\n KY5VunpG7MqhQVoOuJHpEyXGrkuRDOVZuwlk5C+FBZk/5aTuNnrp8ZVpLhXxjrF4R/9c\n AxgmedUQsZyX3fzlQn9xeF970OzghGfukppDu8b+5/PJwSEM/pcSpRr4hZeBS1jr0JSe ng==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=w7hIz93kwxOJQH4lccLLXI3u/Hh2NDwhx/NVqDOd18I=;\n b=qtyX3eo+cd6Dgxg7poxdrN1PAIYqmX0nN3NW74P5jcjTVvsljtczhUQkTd3Ea0FCdg7FIOGblUgwoy7Tk1hhihJg+ex9L1ujNi+4bIlzPamr5LB91WfBjVzNxVK+fJ0enO8UJKdhZZYQHuKTvKRI/jlOEWQA0bL1pWImkq5MoRE=" ], "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=KCeku6Td98jHxAOWSuBln0fcmp4xnNH3s4n+lHspAZrjEgnqejH3OE+H5BCxI1BnVFGtwXec6H1rirzry1ntrmucIgauqP14MA2gHZOIElhpJ7Dr9o5HSSFMqmyWOC4TxhwahvXpuFhlmxVgfvfTvR86sD4R4GOhhM+PoecNQ+WSb3qpFF6/OmmoSAz9SeM7DCwT81OrNonxCXQ6L8YhxS8t1sYFlC5w5raTv+dDZvD8VL0LGLir9kslrFeDTpEIYzd+yJh8xXUYGV6rt5oMAEAhVk3WmyngsYJvSst/zKZ1fcUgMIOWkfejbJaCpDqInUOd5nAYWk052coYTU2vGg==", "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=w7hIz93kwxOJQH4lccLLXI3u/Hh2NDwhx/NVqDOd18I=;\n b=I7Bm7oE/H8hcsyayX7sPPKHH+RnpGL5VyppNjCmTGuDD/JjLmU4jfnKdCQpV/BrQpbVyGKaR/838AsIFd41wlTuBdfmUMccpgbqgAKIz6fyT23ox+If7qe+ne9VgFsWNW3XlVbjA2y6HT41auvJhIkH4qW3Byo2bPxOLus3lScoHX4Dvq0Dc8+pvQUv3BC3jGeKXPykSqsJv9ZhHbP9do8kkjssbtA0D5WRXtwig15VXQ7zfkUP0bfApSI0PJ4boNE71I/cMZ+cY1NQkOx6OiX2nGwVyowndmm4mQ/IdznRB6NXfZsfoP04xdkf5UuAoW4l2zqsMEGW5bi1sufYSFA==", "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com;\n dkim=pass header.d=marvell.com; arc=none", "Authentication-Results": "networkplumber.org; dkim=none (message not signed)\n header.d=none;networkplumber.org; dmarc=none action=none\n header.from=marvell.com;", "From": "Harman Kalra <hkalra@marvell.com>", "To": "<stephen@networkplumber.org>, <jgrajcia@cisco.com>,\n <david.marchand@redhat.com>", "CC": "<dev@dpdk.org>, Harman Kalra <hkalra@marvell.com>, <stable@dpdk.org>", "Date": "Fri, 19 Jun 2020 19:29:28 +0530", "Message-ID": "<1592575168-16881-1-git-send-email-hkalra@marvell.com>", "X-Mailer": [ "git-send-email 2.7.4", "git-send-email 2.7.4" ], "In-Reply-To": "<2674031.7s9Q9pJsto@thomas>", "References": "<2674031.7s9Q9pJsto@thomas>", "Content-Type": "text/plain", "X-ClientProxiedBy": "PN1PR01CA0078.INDPRD01.PROD.OUTLOOK.COM\n (2603:1096:c00:1::18) To MWHPR18MB1070.namprd18.prod.outlook.com\n (2603:10b6:300:a5::11)", "MIME-Version": "1.0", "X-MS-Exchange-MessageSentRepresentingType": "1", "X-Originating-IP": "[115.113.156.2]", "X-MS-PublicTrafficType": "Email", "X-MS-Office365-Filtering-Correlation-Id": "0bd73856-07a3-44a4-e2d3-08d8145909ed", "X-MS-TrafficTypeDiagnostic": "MW3PR18MB3580:", "X-MS-Exchange-Transport-Forked": "True", "X-Microsoft-Antispam-PRVS": "\n <MW3PR18MB358073959F6B82EA89A0FC0CC5980@MW3PR18MB3580.namprd18.prod.outlook.com>", "X-MS-Oob-TLC-OOBClassifiers": "OLM:6108;", "X-Forefront-PRVS": "0439571D1D", "X-MS-Exchange-SenderADCheck": "1", "X-Microsoft-Antispam": "BCL:0;", "X-Microsoft-Antispam-Message-Info": "\n C5NfH/AdTumrcPhS1i/IRLSBmjO9eMOo0k9NHVl8J+2D7HGWNLxaR0RybWIXLoQwrvJOyeFsRmjuPJB9cH2NhnrnQgTrFKX3eYumzT7zurCk2bbD0N7ZKWe8Clhi2PKI3A4XqvdnLXOntxI35GSCvvUsMYC+S8Mse/WGBoOqAgrWiRBPpbFLsWqQisZbCNrXdWXgqa6GcLOjqT61YEPwXqyHSIV22tKZ0dMTJNsqLMebHgeDgeel1m5TOnMUTD+X3TKlcNI4hlxwz6CylU/yfWX9g8iu5ZbNqQxikc+g9veGDbkMdHFwuLEUtbc3u9FJFiey0VjSPCbgSCD5HhLj8A==", "X-Forefront-Antispam-Report": "CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:MWHPR18MB1070.namprd18.prod.outlook.com; PTR:; CAT:NONE;\n SFTY:;\n SFS:(4636009)(39860400002)(366004)(376002)(136003)(396003)(346002)(86362001)(36756003)(2616005)(956004)(52116002)(7696005)(6666004)(6486002)(5660300002)(478600001)(4326008)(8676002)(8936002)(186003)(316002)(16526019)(66946007)(55236004)(66556008)(26005)(66476007)(2906002)(83380400001);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData": "\n BDzIdiXTPO+mO76zNt/+Up6QxTtvZaWyakEZosXo7+qAVwk1zIZg0vSr7kELPhFaQ0vnMe992rUE9OkijNfSGhq1tzFllViD9SWRt8Hf+cLPtYK6hEpjS3ZIDP0sYh1EvpS8JYLt6cvDsO4fv4hYylzBuCGxFBs6zMdZa4YREVoGPCPRQRCLle2ODUoo0ISVVTkoC9vnVDfH5HniUt+RR2ITg2YDTCjiw1VE51yObIy/ziwwb64m9UYvUqpvWDk4jspG4xqYkwFWVQKeBoNcMlZ0w8g6HkIZmIrkxq8BY7dF2IRNPjqlDPMAkQhMMbwOvfV7L4K7pgMVIDcWOE/asQN+Uy1m+92HiEg6JN11IxiKhL3QB5Tu5HdgqOY6Z3nKMNo7Sx8/uvSUtdK8iwQ+0o7l1CWw+IWfsJOClVZmgR85w4BnzUFqz2kW2qAsWdHyXGwa1CFN1Rn2M4yxTeYVkyIDP+xQk5FM4NPlA6imBQE=", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 0bd73856-07a3-44a4-e2d3-08d8145909ed", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "19 Jun 2020 13:59:52.9442 (UTC)", "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted", "X-MS-Exchange-CrossTenant-Id": "70e1fb47-1155-421d-87fc-2e58f638b6e0", "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED", "X-MS-Exchange-CrossTenant-UserPrincipalName": "\n V6SKTBoLglXRRx7E4YBuc5Y+chrEfwyQsPBqjsaYYeUsOQ+FaZfXNa/ywDZKDA/UkaM/74MWdTLiOlzKWeNGOQ==", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MW3PR18MB3580", "X-OriginatorOrg": "marvell.com", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687\n definitions=2020-06-19_14:2020-06-19,\n 2020-06-19 signatures=0", "Subject": "[dpdk-dev] [PATCH v2] eal: fix epoll fd list rebuild", "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 <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": "An issue has been observed where epoll file descriptor\nlist rebuilds every time an interrupt/alarm event is\nreceived.\n\neal_intr_process_interrupts() should notify pipe fd only\nif any source is removed from the source list i.e (rv > 0)\n\nFixes: 0c7ce182a760 (\"eal: add pending interrupt callback unregister\")\nCc: stable@dpdk.org\n\nSigned-off-by: Harman Kalra <hkalra@marvell.com>\n---\n*V2: missing closing bracket in Fixes tag in V1\n\n lib/librte_eal/linux/eal_interrupts.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eal/linux/eal_interrupts.c b/lib/librte_eal/linux/eal_interrupts.c\nindex 16e7a7d51..84eeaa1bc 100644\n--- a/lib/librte_eal/linux/eal_interrupts.c\n+++ b/lib/librte_eal/linux/eal_interrupts.c\n@@ -1010,7 +1010,7 @@ eal_intr_process_interrupts(struct epoll_event *events, int nfds)\n \t\t}\n \n \t\t/* notify the pipe fd waited by epoll_wait to rebuild the wait list */\n-\t\tif (rv >= 0 && write(intr_pipe.writefd, \"1\", 1) < 0) {\n+\t\tif (rv > 0 && write(intr_pipe.writefd, \"1\", 1) < 0) {\n \t\t\trte_spinlock_unlock(&intr_lock);\n \t\t\treturn -EPIPE;\n \t\t}\n", "prefixes": [ "v2" ] }{ "id": 71805, "url": "