Message ID | 8a7e8059984e27d46a276a66299d035a0afd280f.1491947224.git.alistair.francis@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1407660234 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 11 Apr 2017 22:43:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F2E2628562 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 11 Apr 2017 22:43:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5B1528589; Tue, 11 Apr 2017 22:43:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 41D8728562 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 11 Apr 2017 22:43:35 +0000 (UTC) Received: from localhost ([::1]:41397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1cy4Va-0007vj-CX for patchwork-qemu-devel@patchwork.kernel.org; Tue, 11 Apr 2017 18:43:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1cy4LT-0000LU-VD for qemu-devel@nongnu.org; Tue, 11 Apr 2017 18:33:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1cy4LP-0005ff-V8 for qemu-devel@nongnu.org; Tue, 11 Apr 2017 18:33:07 -0400 Received: from mail-by2nam01on0051.outbound.protection.outlook.com ([104.47.34.51]:31539 helo=NAM01-BY2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1cy4LP-0005fK-Kd for qemu-devel@nongnu.org; Tue, 11 Apr 2017 18:33:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=c9QGBfbiGhZFBTmtxmqGMz1NjRlteuN8V2w2KvA8F7M=; b=Bii9ImA0bTNxsVifvMCYwv/XXkXfglqt3BCf0Vxhq3R2hELWrOflE3zN830kNHMmGUqfm2KOfvFv0RY2D0L1BO9U5kv5fFI+l8pnocwUc4YP47ylqHLGe+kNngYFAxttwRPfm0l86PN4VjtPOOv7WL/MvGAkrFojAg3YOE/XvGw= Received: from BLUPR02CA052.namprd02.prod.outlook.com (10.160.23.170) by DM5PR02MB2585.namprd02.prod.outlook.com (10.168.195.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Tue, 11 Apr 2017 22:33:01 +0000 Received: from CY1NAM02FT057.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::204) by BLUPR02CA052.outlook.office365.com (2a01:111:e400:8ad::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17 via Frontend Transport; Tue, 11 Apr 2017 22:33:01 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; nongnu.org; dkim=none (message not signed) header.d=none;nongnu.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT057.mail.protection.outlook.com (10.152.75.110) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Tue, 11 Apr 2017 22:32:59 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1cy4LL-0002cf-JS; Tue, 11 Apr 2017 15:32:59 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1cy4LL-0006K5-G9; Tue, 11 Apr 2017 15:32:59 -0700 Received: from [172.19.2.220] (helo=xsjalistai50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1cy4LB-0006Ht-J1; Tue, 11 Apr 2017 15:32:49 -0700 From: Alistair Francis <alistair.francis@xilinx.com> To: <qemu-devel@nongnu.org>, <peter.maydell@linaro.org> Date: Tue, 11 Apr 2017 15:30:20 -0700 Message-ID: <8a7e8059984e27d46a276a66299d035a0afd280f.1491947224.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <cover.1491947224.git.alistair.francis@xilinx.com> References: <cover.1491947224.git.alistair.francis@xilinx.com> X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-22998.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39850400002)(39860400002)(39840400002)(39400400002)(39410400002)(2980300002)(438002)(199003)(189002)(9170700003)(33646002)(2950100002)(2906002)(5003940100001)(50466002)(38730400002)(76176999)(5660300001)(48376002)(305945005)(50986999)(4326008)(6666003)(77096006)(54906002)(106466001)(118296001)(63266004)(356003)(189998001)(47776003)(36386004)(8936002)(81166006)(50226002)(8676002)(9786002)(39060400002)(36756003)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR02MB2585; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; MLV:ovrnspm; A:1; MX:1; PTR:unknown-60-83.xilinx.com; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT057; 1:Pyr0v0qxDI45Kf6j2m2mRueQ2/OLTt4gAC1xLHHty8gVZO7nU1CpMPjcrjEWkojuTzypJgqfkoUjlaZ5a1uAWZhKpcCWrhggaFqzhd4C3kY8h0lE6DcbEU1aQPJrHqSBNuib7Ula2XNOhKn2OJDO1as2N7K8qp4fRYAzVMDJgTUxHcs+1QHSfG+WqLSWGF09taDPOxpGAAHucFIsB9j5DSAzHvmVmPNTSd/uJX8nQdjRMCWGc5krpgIE9GvlmHqMI3AnBZJzOnxFX1+A3aAwm8fIAbl8vr0bKg6Re85LN/Iax5hLDbdf7Pi/iGNWDnu6FQ2T3EQ1COBcpkApq5JGVkYxEqd05sTqhS4e7G+6sNFOMuXw6PGr9MH0tu91pfCr3QZIngPheoSEie3Ku8JMhKw/7q3miH9zst8jcw8M9JfnE9H+lKnXZpYcClGqa/deviivA55lJfbQjga1KxnVx6BKHyNxixgXVEkH0KUJ1XeiPCeK/Zu9IRCqUUZIUMbgT89EiuOJa9f5HoCuWhc3rBSPAIEumzEGFEkkWRuO1WKMclOrcgEKqzZz1Ddj0MVD MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 59b84e53-d1ae-4940-42a0-08d4812ab5a5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:DM5PR02MB2585; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2585; 3:S3c5+7bSBcZioSTbrRPIzkNfUalVtZjsksz1ForTBg+g0xtETa5GfqqacsF3BKM3qL/dnx4tuOyyhSxnCu3C0xSeSaVcAsjmQkUHN50RNVpPSikcixlHZhB5VutERbP+4MS2zvLQKINPNaPARw6iWzJ6vBBMXzuNmEHuSPtbmnAgC6TYHmHlpdgOxEM4q7ac+W4xgfAVl0Fwb6ap9CNFh8SDt9PGZCBEEq9PvYO3ktHsjscbi3Xk+CtVABnZq2WNe8Rc6LVCHFQKqPVWBn0FRNfvWtQM29i/nGApUgftOWhR8sGbs6DcleKYKTRk75hQMboIwgk47hXy17Kn3zzIog9bxXI5PyxnU6TyPLsdI6pENJoSL2PtxekLMeIYEeiyJgl6VhqbFR091Tfj/M2eiXEt9g6Q0cVkZ8IQb7GJuxOoUTUDNK0KttMi6UoZUFilIcRlSqv0uRVp9pMgkDs2MY/Umo46jQ7Fxda3aodRUOoNN0Rog35iEYSeEZPjL5v5 X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2585; 25:h+67NdUXb23u+lYbSpMtYHCOhTz/jIodM9JjXgISqTMW5n2udG6CPSzFkZd488DpUAGEG15O7AHeaXfsrYJTIH+FoAZWjpY9LpHJllswtwnWQl73JVLbZeFtK6U++grg7H8JijDMFzln4JboPUgPAymqhBC2fo4tCzk9G+bXS+SauDSU6fFjDwiB22jZw25EmpLUdssIwu6Mne5v49/r7T3CIGOZyoG6fi2sQEH5hf8yx0Rjw4azUJ0X4ICW+2HSrD7/2W2vexhYScV/wlkxj7H+QNbQvkVGSAuGjIe8W9ZRprSCNFw3WFWdyScFMqZUQSvhOfdvcUyc+6F9xVs+lI1OuM/lXnF1XzXuz11wuOYjgU7PO8oreiktYwYmj56rZt43U6Ewgf3frBaVcErzg10mqzQU6/4Wt2jDCQA90cUgdvVp/i7Mg5D6iuKMT7UCFajqn3m4qB3vHS6f9sq1mg==; 31:2qyhqlb6LIwaEPAR13qPCgHxWcueP54SFrDsDtWQbIclx075Asn91cDN1nAStpEfBkY5K3rBdJnrFtocSmtFuduuMsrNZwP0OYz29LpW95FLHQdj9t4bLFL2JWqYEAS9eMS8W6wNw+yKn3RLQJEqayaSRhYes6jW1lsHmdOxeTZ6AndvLatWQp4xVB82VLbPavzYrv2zeNTHggPXDqsaKfUzWJCAIgvdZpvdofgF/0E7KnyDwtnRlhOEZDPP05nMHsCDNB0e8VOIny0WRZxf97XgJbG6lODdnPheGZosmOA= X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2585; 20:IHrBxhTwsmhvncdH993kUAwhBhK5L/tOVeeMYrwWoxhP559cE1eM0Ktrk/CBLcFgj0Vd6Me8EqQpFaanmPE1a8P6Sj1NQgKtfTeLD761CCb6Wq4uacw9FpSyefixbQl/SPs8pg9ug+gkAo3if8gmB2cTHfOyC58H1CiI/LisaNRPGnGeCoT8fvV+1jtegtQsAiwOPgJaERV6DK5QHghND7wW0jgehprSo6mHOi58ix7Eml6q0+xqNzibNJxPF8NsTop6Qsjek6aUM5RjYzqot/jlHfxgCqstUa4jCvwojCr4lxG+rfEWOBVhNiooBUYh/DyGkgJbqx4/xx4ZP6uYsZdCZG5Kt0LvHnP47Rm83vYc6Jo5KYWSEJf+OqlDVDHUUymxLskj9ze0wNeOpKom6P1+ISje3HV9scedqYnphB+CLP+U+23Hb9n/G5ZDSHdKy2j7y6HeFS4Ssw0Ka5ZqKECgcaEzN9p4va+cs2+UnqTlA5twKF2cqgV6tbZYXhbz X-Microsoft-Antispam-PRVS: <DM5PR02MB258520601E90CC75E6F9ABA8DC000@DM5PR02MB2585.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13015025)(5005006)(13017025)(13018025)(13024025)(13023025)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:DM5PR02MB2585; BCL:0; PCL:0; RULEID:; SRVR:DM5PR02MB2585; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2585; 4:ch3VCw6UTFhiPNwTFwOwVs0dkDaz2RYEvjb7fvD9U/Y9dvRfdMVqh49ISzpcqqs64U1lwLiBLwRz5IWRoljfkAMmgqRqU6qxN3CB81FzrF4ymyk6bZw7aJBERJyVbfansEqVL/8R/or/25QatAZcI4gHfZlV1pJ3cJ8+s8PvXJIL5xKNHlVFgDTFFQ81HDp12uZom26wfwTKfcxBXiVuD+ASneqU3VCOPIsJVTHGDZkfrU/WncRdcAjzTCfl9ZcRWd+v4SUjDsHAQGOgLChyp0Oq19jJjmHuwJVV3X47mFTEm5fS9hiRfhxIcsQUTHHOQy2mLzccPnYMmrSExwo/TJ48ryyA+Y2nw5nC5BmjdncWjPmV0FL7/ZT9QShyOaziIXWf4wZGT5p5dROOTQvQNYp5rs1gZklVvveqhgrWekUJUzWO8EIPYNEBgl9eyg4gco88s0J+guXeGrA120HqsG+TdDcMGCVh0fdmps7lqp1Uh49P0gxZXygNgXm93W6zUOhyfM74p7fPcm9eYK3eWcl43uXb6B0ucT19TJCygaJt3AoirFGqgJhNa/nQuxoI+jrIgxUHbXZAEU7aMUqhQoY8JcEsAArvddYFTIhatR+NpNXmwLUlwiosTY/d3gpypxsneJXwCrY32B1XOzT5V2R5AZp7BSpEKv4WwFtfZ0I2KOYd11qzDdGKMiCixaH6EH9Guqqlniys+mk9bmnLy5fcjFSNLupnQWHIcCiVIm3KzEwyWB0PFw28CiUVDc3RkRjd4pTGEFp3lAftwMpf95L/xWSPL+cmlgh8c4umwLVyg853PCocXPB9bUxKRvQzIIogScv0kBsnQO2gNZ9Lhsiwj7CIpdxXHgUIYg3xdcoyt+OylAj0jyg2v4IchwMj X-Forefront-PRVS: 0274272F87 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR02MB2585; 23:26ZgTeeSLUnPW24YklqAjeP9IqIBuvaaBpYXpMNPn?= =?us-ascii?Q?FrvW3yufNX/40I7VdMrB7Tzjzccmm1DRhohFQnPFr8dHA0NrXzb4PBeY63AL?= =?us-ascii?Q?YmhjyTk7x3IjLmwwdgaQYIkViivGEr3PF/X9tenwykLSWNsG2inzQ6uWeGDa?= =?us-ascii?Q?n0wsaJii00pYlwa4pKSppZzmQr7qdNzfHA5tkQhhQNdHrY8otbK5bbcPEMcY?= =?us-ascii?Q?vqg7Lolg6ZNNv0ns4B95xapBfoAh0hXOr1XUXrHw0K3vXUUr+Hsj+DbyBElH?= =?us-ascii?Q?bqgzXVjBhuM1C72p1stfgJGMomQtV5yUl0KhFoRm1r3Whg3K5fxpZsIlGgLI?= =?us-ascii?Q?oZkuSmiWcFMzhwqbVG8zC+MJR+jA41N51V3zJj1VODgayWCQj5u5DQ7kXN+b?= =?us-ascii?Q?bjCwppFuKTR+5lM83FZXcIcGQSj6e2i71LKfeZLT6Z6hTnrR+sVXNmv0+66+?= =?us-ascii?Q?8ox4g56+BLdK9a7Tk1JSacpGb1dTurjPUGUW625m3beHu7dbX5QXzDwqjL4S?= =?us-ascii?Q?AkKBHmgje8sHnttwHoRXViZttzS3YSI+WcMh6ONj1ueAheLuFDYdST2D8U61?= =?us-ascii?Q?/AQx1CDOocL6ZLYjEpm5vlp0sjSlqU6ohuH1EHffoE9d20BWq5LrFt+fNt+Z?= =?us-ascii?Q?XQ7EYEdD+/HP9M6Et+AtVEodBebwczB6vgi7Dgao/pGlEOoiu0HVYf7ZExhO?= =?us-ascii?Q?Nruq/Uz6Njhsq7LCTUN9mWg8B0sW0QlWWaUbRWouDpKWcFiImn/pWg6FgQqa?= =?us-ascii?Q?RQ0IqhQWoJQZ3yahFcID6EZf+xrh20CJctdZs1MHeR/rwsQE61648WDsaOfb?= =?us-ascii?Q?IF1CHYa0hEVNBIb7izNU8T7R/2XU2S+7VF3YSVZ6cJ+aHyrPXqdsnCLTzFG6?= =?us-ascii?Q?Tlpp/LeHpSptBbbO9zKu4uQR+fvkr+6tI+y3e9yDRV5Nrb21RG+vuOKxYNwg?= =?us-ascii?Q?IVln6PbEmVQ0eTmGu1t+J9NaOJp/NNmZP4BKfacKnvd1NPRkOcDAappL2Hp2?= =?us-ascii?Q?tzF68PqoyWs9NjSSgyAMAhnqRgnfFS+90Ix49SNcZwqeqLXqVtD6H6BYKMiY?= =?us-ascii?Q?BLCDgas2VeOHCIvfPDJCGYF8pLT?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2585; 6:QxFgOfnGgmhrzanME1FMuVqFTDx5iOSRaGlbfdKp2T4ASqYcPsf8toyvHXhduTHV1ejjkrK+irkzXZD5nP0KrnbtUXeaRDlAYVfh+YsMonwg4DbyfrvT2Htdw7TOf9nWRCtS279kJwJZuuR62fE9SfB1a4m8WXLIkDA5wXiCXH3Vz1Vg+Rg6YIOPxrYndqMutHfq2E4Z5oZ1l0D6EIze+07VWEDvQ/ATl2TTA8DH6AgWo4bRBc9M7JTxBTjive18S4TC2e+6dB0ojoceVVVwWE+Xxox7j0NZbG+UYdaM1dpJVNAYtPLI7gYPdbatkhIDEtx9AwxjYXnZ7AvKMbUVTNZT3Z0Jnz4fMD75o5CuykLmCsBPR3+FQRivsBg2irVFNFXs1S/htR2mxOApluOdPH/7n5RpyNVIFvZdqncy9xF151oFIhu6rHvcki50WAWqHAP53ZtOtevghn6vkC5u3ghS3CrEKUA5FVaL+WuJlJQ=; 5:e0gtvbXc20eAXLQBKAu834rLS8Uy4f9PhInzCHIkbTI8E5786lnprDlyh/7qmC0Qq0q/kjfFkzqHvdLCy5bjNfGR5E25XYJuBaJdlHiic7OkrroVqjjCbxjXNqgMPIFORSYeCRhz/ysamZD78SlAp88LmfcomYarbF0/x7CcXn4=; 24:N8Wyymn6+ZvNFzRXEPIaCaZUHcm9Je3n3b9VHIleHZCyRhKZxwtFrxtjWRgofqMKOpgJWWQhqdMluWdM6W8dbV73bopZaBFo3x++Uz0OzPg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2585; 7:iY1W+41aX+CKNFTxy+QmDKop7sU90Eh9KcMJtsqZ0SdptS/3gVX8igV2Fd+eiNfy1TG+r+bmG8T92cMHE0fnaAIOWwSy8J8hhXiL42gZ5TqqFZXdwI9Ke4LUZRHgzAks5c+ejsedvyPSceu9pl15wg16kPkAzCr77fghAF1tdM1Q6ZBARG9CxeIZNRO96/TUrJC76c8C5N5uQh93IxmeRzfj5Ul+QavcHPpf2YN3otGJ8vobhAYqhUR6kkxdMzSTBr5WlMaDiHi9Dir7pa03JfDWeaix2w5bWmHqs+3g54Ftym1HEcSSq+se7noP6daqkb/rEHHom+1hdRvvvh2vsw== X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2017 22:32:59.9232 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2585 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.34.51 Subject: [Qemu-devel] [PATCH v3 2/5] cadence_gem: Correct the multi-queue can rx logic X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: alistair23@gmail.com, f4bug@amsat.org, alistair.francis@xilinx.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index 17c229d..a66a9cc 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -481,14 +481,17 @@ static int gem_can_receive(NetClientState *nc) } for (i = 0; i < s->num_priority_queues; i++) { - if (rx_desc_get_ownership(s->rx_desc[i]) == 1) { - if (s->can_rx_state != 2) { - s->can_rx_state = 2; - DB_PRINT("can't receive - busy buffer descriptor (q%d) 0x%x\n", - i, s->rx_desc_addr[i]); - } - return 0; + if (rx_desc_get_ownership(s->rx_desc[i]) != 1) { + break; + } + }; + + if (i == s->num_priority_queues) { + if (s->can_rx_state != 2) { + s->can_rx_state = 2; + DB_PRINT("can't receive - all the buffer descriptors are busy\n"); } + return 0; } if (s->can_rx_state != 0) {
Correct the buffer descriptor busy logic to work correctly when using multiple queues. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> --- hw/net/cadence_gem.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-)