get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1189083,
    "url": "http://patchwork.ozlabs.org/api/patches/1189083/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1572845537.13810.225.camel@harmonicinc.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1572845537.13810.225.camel@harmonicinc.com>",
    "list_archive_url": null,
    "date": "2019-11-04T05:32:25",
    "name": "[net] i40e/iavf: Fix msg interface between VF and PF",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "d5aae71d94d140985faf4250ca85a5c1bf0323cd",
    "submitter": {
        "id": 77809,
        "url": "http://patchwork.ozlabs.org/api/people/77809/?format=api",
        "name": "Arkady Gilinsky",
        "email": "arkady.gilinsky@harmonicinc.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1572845537.13810.225.camel@harmonicinc.com/mbox/",
    "series": [
        {
            "id": 140540,
            "url": "http://patchwork.ozlabs.org/api/series/140540/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=140540",
            "date": "2019-11-04T05:32:25",
            "name": "[net] i40e/iavf: Fix msg interface between VF and PF",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/140540/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1189083/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1189083/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.137;\n\thelo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dmarc=fail (p=none dis=none)\n\theader.from=harmonicinc.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=harmonicinc.com header.i=@harmonicinc.com\n\theader.b=\"QPyO2llw\"; dkim-atps=neutral",
            "harmonic.fortimail.com;\n\tdkim=pass header.i=@harmonicinc.com",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=arkady.gilinsky@harmonicinc.com; "
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 476L6r1Tyyz9sP4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Nov 2019 04:55:15 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2084588E72;\n\tMon,  4 Nov 2019 17:55:14 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id YoAPb3zbW0c6; Mon,  4 Nov 2019 17:55:09 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B5CFD88F89;\n\tMon,  4 Nov 2019 17:55:09 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 5ACDD1BF5A7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon,  4 Nov 2019 05:47:35 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 56565881BB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon,  4 Nov 2019 05:47:35 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id b2zsUxqed+QI for <intel-wired-lan@lists.osuosl.org>;\n\tMon,  4 Nov 2019 05:47:34 +0000 (UTC)",
            "from harmonic.fortimail.com (gw6018.fortimail.com [173.243.136.18])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 29DC788157\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon,  4 Nov 2019 05:47:34 +0000 (UTC)",
            "from NAM05-DM3-obe.outbound.protection.outlook.com\n\t(mail-dm3nam05lp2054.outbound.protection.outlook.com [104.47.49.54])\n\tby harmonic.fortimail.com with ESMTP id xA45WRZE023235-xA45WRZG023235\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=CAFAIL); Sun, 3 Nov 2019 21:32:28 -0800",
            "from MWHPR11MB1805.namprd11.prod.outlook.com (10.175.56.14) by\n\tMWHPR11MB1278.namprd11.prod.outlook.com (10.169.230.151) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.2408.24; Mon, 4 Nov 2019 05:32:26 +0000",
            "from MWHPR11MB1805.namprd11.prod.outlook.com\n\t([fe80::b088:a289:bed5:850c]) by\n\tMWHPR11MB1805.namprd11.prod.outlook.com\n\t([fe80::b088:a289:bed5:850c%8]) with mapi id 15.20.2408.024;\n\tMon, 4 Nov 2019 05:32:25 +0000"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "delayed 00:15:03 by SQLgrey-1.7.6",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n\tb=M6VCK59neUa4U3OOAwcucsLkDIwjv6cLmtYP2rWlUMZnc/hentbZyf0RFtPMXpfokYOfAwbuuoupHndW9nJV0tnBDchSecD+cqO1hbX0KueFn2//+dNN76BmH3ONW4M9r6hoAPOPKmX+aNeFvFaGgIxs5yop7EVZ8ar2Iydmf75Cxq8IhuvD5d9pnrrPwcT79pg5dEA0xoPmsm1JQgitdM52/T5kIvEdlYO80tYkxQ37fRCEtcGRW/zVCx0trSLAL7GzjabjmHYo2l6aJga98V52bD37jpQdbLggUY2lgPhMMcrqMRXC6jDEjgRE4dAR6ELtYpI7A+M0k9iV7MFojg==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n\ts=arcselector9901;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=Rtkmx5O/a3IIcY3Ql7JsAcfPH8MQ+NpaQ9YPveesUqQ=;\n\tb=OTUBwhmHPOQ0sbTFZDbHIi4Vf5TrO9XqOgQh1fJcDQIMUfSOn1sZ+/+yI6V3YSusZKD1h1SamXfe/cmIgX51iB3rERmfdXlVBW59iQaDNXpWA69rDsVwmiY3+p9QfDgPV+Z/ZQkfZjRldm4S7isSvcl5WpX54+37Pt0P9BYkk5BgtPgzL6ME5XP0iZ2+dJkDgSZmXHz8GTCTmvclwa9bbAEoQHGTZUJREJmpVufMZSfQVHZlzh7u/36GHASkhDttWXoGtVOGo3CKnxZJc/6MXvEDwYf4fMIKyGYHe0xoZVPla6f1JdrtbLH6b49r8b16pb3N4biFIxasZ/R+a+LvoA==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n\tsmtp.mailfrom=harmonicinc.com; dmarc=pass action=none\n\theader.from=harmonicinc.com; dkim=pass header.d=harmonicinc.com;\n\tarc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=harmonicinc.com;\n\ts=selector2;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=Rtkmx5O/a3IIcY3Ql7JsAcfPH8MQ+NpaQ9YPveesUqQ=;\n\tb=QPyO2llwEK9H5Ia3jJjQlya1rL7mswIYrifFboiP44q/DISiDrP+JTyt44vZ4yKoQHZsNjfBWLiVVjnadDWGjVUEFlHVxbqUmvkvKueG0Rmq2QnpWYZihanXkARUiqZLhby+x2jz/qdOKRATwmCq3gBCgl+cgEFFrRHizjBcB7E=",
        "From": "Arkady Gilinsky <arkady.gilinsky@harmonicinc.com>",
        "To": "\"intel-wired-lan@lists.osuosl.org\" <intel-wired-lan@lists.osuosl.org>,\n\t\"netdev@vger.kernel.org\" <netdev@vger.kernel.org>,\n\t\"jeffrey.t.kirsher@intel.com\" <jeffrey.t.kirsher@intel.com>",
        "Thread-Topic": "[PATCH net] i40e/iavf: Fix msg interface between VF and PF",
        "Thread-Index": "AQHVktE9LXQEe1tn8E2yMWCX6YmauA==",
        "Date": "Mon, 4 Nov 2019 05:32:25 +0000",
        "Message-ID": "<1572845537.13810.225.camel@harmonicinc.com>",
        "Accept-Language": "en-US",
        "Content-Language": "en-US",
        "X-MS-Has-Attach": "",
        "X-MS-TNEF-Correlator": "",
        "x-originating-ip": "[37.142.125.24]",
        "x-clientproxiedby": "PR0P264CA0040.FRAP264.PROD.OUTLOOK.COM\n\t(2603:10a6:100:1::28) To MWHPR11MB1805.namprd11.prod.outlook.com\n\t(2603:10b6:300:114::14)",
        "authentication-results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.137;\n\thelo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dmarc=fail (p=none dis=none)\n\theader.from=harmonicinc.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=harmonicinc.com header.i=@harmonicinc.com\n\theader.b=\"QPyO2llw\"; dkim-atps=neutral",
            "harmonic.fortimail.com;\n\tdkim=pass header.i=@harmonicinc.com",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=arkady.gilinsky@harmonicinc.com; "
        ],
        "x-ms-exchange-messagesentrepresentingtype": "1",
        "x-mailer": "Evolution 3.22.6-1+deb9u2 ",
        "x-ms-publictraffictype": "Email",
        "x-ms-office365-filtering-ht": "Tenant",
        "x-ms-office365-filtering-correlation-id": "e5e8cd90-a820-4f3a-a4bb-08d760e85fd3",
        "x-ms-traffictypediagnostic": "MWHPR11MB1278:",
        "x-microsoft-antispam-prvs": "<MWHPR11MB12785692165E8A689FB0C527E27F0@MWHPR11MB1278.namprd11.prod.outlook.com>",
        "x-ms-oob-tlc-oobclassifiers": "OLM:1332;",
        "x-forefront-prvs": "0211965D06",
        "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(396003)(366004)(136003)(346002)(376002)(39850400004)(189003)(199004)(99286004)(25786009)(71200400001)(2201001)(316002)(5660300002)(103116003)(256004)(8936002)(2906002)(81166006)(50226002)(71190400001)(81156014)(6512007)(6436002)(478600001)(305945005)(7736002)(4326008)(6486002)(486006)(14454004)(8676002)(66066001)(6116002)(52116002)(26005)(2501003)(102836004)(6506007)(36756003)(53546011)(44832011)(386003)(3846002)(186003)(110136005)(86362001)(2616005)(476003)(66446008)(66476007)(64756008)(66556008)(66946007)(99106002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1278;\n\tH:MWHPR11MB1805.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ",
        "received-spf": "None (protection.outlook.com: harmonicinc.com does not\n\tdesignate permitted sender hosts)",
        "x-ms-exchange-senderadcheck": "1",
        "x-microsoft-antispam": "BCL:0;",
        "x-microsoft-antispam-message-info": "IZ3cqnftVMBk2FxXBTvp2GmX0qHJZScz0c9brPXbQdB/zJ3nRAM2Waoqe3N2xL+XN8MLx/q1nehqPLWsFM0As/D/mOq1SLpDfuzHpYDn94goWgjUYr1uPmcDShUoYOFY8B+1ex1AHB72TSehlTK3wSAMIu+InvryjPkFmtjdbWUyG49kLsLcxUZn7gB6M7gQy1w3UCXSbDFDy59z/45+S04/bkb+0zNL1Ei7rjaLgFim+mGiWXsyg2iiEAn1pdVHv3RGJ1cEondJxZpiVdbLv+SZQ2oBSunw5xf2iwZ/nuyT2Gpr7Sf7BPDpLQzH+SrM5MWt1yAbMnipFLAJS/s576GNl+tHL7jpOBKsig9TtIdOdzsyhQlbtQ8IbDFdYG1pMY/gYm66owJ+TmntBwza88s4GlEXxmxkeB+XK3Ky+INg2hsj4VVMGtO5dT4AIwk8",
        "x-ms-exchange-transport-forked": "True",
        "Content-ID": "<A70CA1D4FF25DF4995CC4C72D718069C@namprd11.prod.outlook.com>",
        "MIME-Version": "1.0",
        "X-OriginatorOrg": "harmonicinc.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "e5e8cd90-a820-4f3a-a4bb-08d760e85fd3",
        "X-MS-Exchange-CrossTenant-originalarrivaltime": "04 Nov 2019 05:32:25.4688\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
        "X-MS-Exchange-CrossTenant-id": "19294cf8-3352-4dde-be9e-7f47b9b6b73d",
        "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED",
        "X-MS-Exchange-CrossTenant-userprincipalname": "bNu3YUgdq0R0vaX8xizubK30LqXqfK/YTm25k8MMl7i1FsJc+yBj8kyQMccVMLyKQuRyoBwlkeh2sXKqFmDwVz0uk2qzFVWTpV/eYMB/QLE=",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MWHPR11MB1278",
        "X-FEAS-DKIM": "Valid",
        "X-Mailman-Approved-At": "Mon, 04 Nov 2019 17:55:08 +0000",
        "Subject": "[Intel-wired-lan] [PATCH net] i40e/iavf: Fix msg interface between\n\tVF and PF",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "Arkady Gilinsky <arcadyg@gmail.com>",
        "Content-Type": "text/plain; charset=\"iso-8859-15\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From af5ab2aaa51882bb7111b026882fe217ed81c15b Mon Sep 17 00:00:00 2001\nFrom: Arkady Gilinsky <arkady.gilinsky@harmonicinc\n.com>\nDate: Sun, 3 Nov 2019 20:37:21 +0200\nSubject: [PATCH net] i40e/iavf: Fix msg interface between VF and PF\n\n * The original issue was that iavf driver passing TX/RX queues\n   as bitmap in iavf_disable_queues and the i40e driver\n   interprets this message as an absolute number in\n   i40e_vc_disable_queues_msg, so the validation in the\n   latter function always fail.\n   This commit reorganize the msg interface between i40e and iavf\n   between the iavf_disable_queues and i40e_vc_disable_queues_msg\n   functions (also for iavf_enable_queues and i40e_vc_enable_queues_msg).\n   Now both drivers operate with number of queues instead of\n   bitmap. Also the commit introduces range check in\n   i40e_vc_enable_queues_msg function.\n\nSigned-off-by: Arkady Gilinsky <arkady.gilinsky@harmonicinc.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 23 ++++++++++++++++------\n drivers/net/ethernet/intel/iavf/iavf_virtchnl.c    |  6 ++++--\n 2 files changed, 21 insertions(+), 8 deletions(-)\n\n-- \n2.11.0",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c\nindex 3d2440838822..c650eb91982a 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c\n@@ -2352,13 +2352,22 @@ static int i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg)\n \t\tgoto error_param;\n \t}\n \n-\t/* Use the queue bit map sent by the VF */\n-\tif (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues,\n+\tif ((vqs->rx_queues == 0 && vqs->tx_queues == 0) ||\n+\t    vqs->rx_queues > I40E_MAX_VF_QUEUES ||\n+\t    vqs->tx_queues > I40E_MAX_VF_QUEUES) {\n+\t\taq_ret = I40E_ERR_PARAM;\n+\t\tgoto error_param;\n+\t}\n+\n+\t/* Build the queue bit map from value sent by the VF */\n+\tif (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx],\n+\t\t\t\t  BIT(vqs->rx_queues) - 1,\n \t\t\t\t  true)) {\n \t\taq_ret = I40E_ERR_TIMEOUT;\n \t\tgoto error_param;\n \t}\n-\tif (i40e_ctrl_vf_tx_rings(pf->vsi[vf->lan_vsi_idx], vqs->tx_queues,\n+\tif (i40e_ctrl_vf_tx_rings(pf->vsi[vf->lan_vsi_idx],\n+\t\t\t\t  BIT(vqs->tx_queues) - 1,\n \t\t\t\t  true)) {\n \t\taq_ret = I40E_ERR_TIMEOUT;\n \t\tgoto error_param;\n@@ -2416,13 +2425,15 @@ static int i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg)\n \t\tgoto error_param;\n \t}\n \n-\t/* Use the queue bit map sent by the VF */\n-\tif (i40e_ctrl_vf_tx_rings(pf->vsi[vf->lan_vsi_idx], vqs->tx_queues,\n+\t/* Build the queue bit map from value sent by the VF */\n+\tif (i40e_ctrl_vf_tx_rings(pf->vsi[vf->lan_vsi_idx],\n+\t\t\t\t  BIT(vqs->tx_queues) - 1,\n \t\t\t\t  false)) {\n \t\taq_ret = I40E_ERR_TIMEOUT;\n \t\tgoto error_param;\n \t}\n-\tif (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues,\n+\tif (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx],\n+\t\t\t\t  BIT(vqs->rx_queues) - 1,\n \t\t\t\t  false)) {\n \t\taq_ret = I40E_ERR_TIMEOUT;\n \t\tgoto error_param;\ndiff --git a/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c b/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c\nindex c46770eba320..271f144bf05b 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_virtchnl.c\n@@ -308,7 +308,8 @@ void iavf_enable_queues(struct iavf_adapter *adapter)\n \t}\n \tadapter->current_op = VIRTCHNL_OP_ENABLE_QUEUES;\n \tvqs.vsi_id = adapter->vsi_res->vsi_id;\n-\tvqs.tx_queues = BIT(adapter->num_active_queues) - 1;\n+\t/* Send the queues number to PF */\n+\tvqs.tx_queues = adapter->num_active_queues;\n \tvqs.rx_queues = vqs.tx_queues;\n \tadapter->aq_required &= ~IAVF_FLAG_AQ_ENABLE_QUEUES;\n \tiavf_send_pf_msg(adapter, VIRTCHNL_OP_ENABLE_QUEUES,\n@@ -333,7 +334,8 @@ void iavf_disable_queues(struct iavf_adapter *adapter)\n \t}\n \tadapter->current_op = VIRTCHNL_OP_DISABLE_QUEUES;\n \tvqs.vsi_id = adapter->vsi_res->vsi_id;\n-\tvqs.tx_queues = BIT(adapter->num_active_queues) - 1;\n+\t/* Send the queues number to PF */\n+\tvqs.tx_queues = adapter->num_active_queues;\n \tvqs.rx_queues = vqs.tx_queues;\n \tadapter->aq_required &= ~IAVF_FLAG_AQ_DISABLE_QUEUES;\n \tiavf_send_pf_msg(adapter, VIRTCHNL_OP_DISABLE_QUEUES,\n",
    "prefixes": [
        "net"
    ]
}