From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0654A0A0E for ; Mon, 10 May 2021 18:14:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAAB540140; Mon, 10 May 2021 18:14:28 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2080.outbound.protection.outlook.com [40.107.237.80]) by mails.dpdk.org (Postfix) with ESMTP id 81EED41103 for ; Mon, 10 May 2021 18:14:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HXEpU5LHosmRVqTGFmkkMtceLzH8YfSqiWpG4UR3A2RAVkYHlT88dbP5bwwSbbKzf5hawKjZWl38Lk/SxSvfy60UiOGNwMxkO2fuCBEw6gluQ5gk1YVZl1UZGqjzRCxeYNaoLYyo5IVL7QWkNbtZz0n/YHtApFJJR09nN/oR38uSWG9H4iqFrga0fn/Tv4/Jvh8pfbopXkbdZuqu33bFj/Dp/+koSiOhBffPpcTNEQcjJFJ7rTXXE/H1hq6+e/EKSm1E2ET+lk10OkxyMD+m8IJpDiFEHizMkDarKUp7TlCAW0KWmDiAZaHp9S1oLICmwwL4aOXs2YGJ5xiwaebG4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=olvumeiyXXY897OCtGlB6nNhXHw2+8juIRwICrxq1Dg=; b=VFtr+jSKvURI72BeSqm5t01AdFmDMBe+AAuYe/GVpFMkiMaJJ1mu4J1ph6j91wekTAd842EFB5l4CHcTyl7pr4oBEMpZTJSRdR8buRQDz17JPD0B3PQIPjotwWtItE3wcPTEUN0qeVt6MCmDgy7N/03+gcaN4tq+Q0XsngiSoSv19JbClqo9xdmBj0/LWoDUWDFEx6nof+0FRGjr25y2kqHZ8EICvT0GZPH5rD/HXTvlHF0zxJJXVKvwJNaedJ6phdJ0RYbCuWILtUVwo+HBznJDZQwoNK5/wqgET++f5/0i4w0yOk5Avq5BJl47KiXdarfXkiF2BRlPSjwSOTneug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=olvumeiyXXY897OCtGlB6nNhXHw2+8juIRwICrxq1Dg=; b=qcROuABmkmrNIeNgGBQT3lr3teeCgecpUqpRPLtacW9M/mYCiCxquESx4RDkxdPJI3SBqwBbEbu7oh3YtIjN5WUeIZ8qIGie7DNXFZQbQ3sXQGJlmsGsjdZOKOJYuHCgywQ8lyYX0/iRJfPW0tkgUitcna+sAWmC1XmQtbIiObrt3sSOuxJUv0+lddlL0ZdVbB2hd/awZEfTmsuWDhdGbgD5wchHg6agrTjXGS0ev0hbjTv36fCZJDHUzwRXlguJ8wUpYKT93mkFlt/5uvydazBIgcdCpOlnlywStlPUFpB1ONL3P3yYEpsHi8QQGcwSDTkw6z5L51fX1tlA66N73A== Received: from MW4PR04CA0230.namprd04.prod.outlook.com (2603:10b6:303:87::25) by BL1PR12MB5206.namprd12.prod.outlook.com (2603:10b6:208:31c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.29; Mon, 10 May 2021 16:14:25 +0000 Received: from CO1NAM11FT019.eop-nam11.prod.protection.outlook.com (2603:10b6:303:87:cafe::f0) by MW4PR04CA0230.outlook.office365.com (2603:10b6:303:87::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:14:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT019.mail.protection.outlook.com (10.13.175.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:14:25 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:14:23 +0000 From: Xueming Li To: Robin Zhang CC: Luca Boccassi , Jeff Guo , dpdk stable Date: Tue, 11 May 2021 00:01:03 +0800 Message-ID: <20210510160258.30982-114-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 44a26dca-2372-4601-992a-08d913ceae2d X-MS-TrafficTypeDiagnostic: BL1PR12MB5206: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5siUmh3gB3Ht0gcyp0aiG3PRUtMRy4/0Dvm/nWPksxPjYlIhsIm5T5wtvK9bSgTb2pw++UNVJchvKYjPqQZ2hsJuMZnDQW4lk2Nmi/lTS00IEMtRE7a8tCFgLRGE66cGqygU/8Xz8GSwRqQOmDDNfH4YKCxavHvIRBFiOADrwwYLcdaEbKRCFNDMW9Lrssq94T/7TotE5JrC6HXPP4Xzz5sSctiRgsuPRLoUielFq3kNsrf+TF+TtZiBGGT8u7+Kpp1d6XWLkebGX0oFad1SZg+TXwP7RAWTdQ0jyTcDoG2exwaFhoHuBiIs7YZH7SdNHOgi9o2HnTo3rS8WRIiFK920O60+DsBbTkHq7fm+ifFgX3VUKgHifC4TWKiL/g6d29IaLmMDvmZcerVLg1XN0Ti0h6dfF8ihsBh8GmL2zlrURMJ9PrvoRVGrM2dMPcyzuYOwNoxk5Rv6YQC4PxSKJL8+2hEqe0V1TQozJO7/0gQxqg/Krm2cgS7dXK9xCdlQFdoKDanzBHmU1ALX15Qf6QW/+0oa131pSgxZXf1ePp9XaPcQI1qoXQZxAI+3xZqrYMhkMKEc974eSozkxrIcSiq02cHH+Lye27jotRKfirA0p/NkB0orSUPWVfzzwm4aM1rYHdfPwQ4Aj9izMMAk2XxgVFa3arUrql8nH+SlOv5JdUpvTP40kpVXlt0p9VbJMhHVmT+AzaRAZ6SNXYEfnn4BuOT3mbhHJFYV94wU53KOACAo1/05+9F/GNe08AaJiAiSmtLM1fxWwKKsJLzE3Q== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(376002)(136003)(396003)(346002)(39860400002)(36840700001)(46966006)(2906002)(316002)(1076003)(82310400003)(8936002)(36906005)(36860700001)(186003)(70206006)(53546011)(5660300002)(47076005)(4326008)(54906003)(7636003)(356005)(7696005)(83380400001)(86362001)(426003)(6666004)(55016002)(82740400003)(966005)(6916009)(336012)(70586007)(16526019)(6286002)(478600001)(2616005)(26005)(8676002)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:14:25.5081 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 44a26dca-2372-4601-992a-08d913ceae2d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT019.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5206 Subject: [dpdk-stable] patch 'net/i40e: announce request queue capability in PF' has been queued to stable release 20.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/8235f3fdfd945291e053643528014c21eec0d257 Thanks. Xueming Li --- >From 8235f3fdfd945291e053643528014c21eec0d257 Mon Sep 17 00:00:00 2001 From: Robin Zhang Date: Fri, 12 Mar 2021 08:52:09 +0000 Subject: [PATCH] net/i40e: announce request queue capability in PF Cc: Luca Boccassi [ upstream commit 918e90b96039cd05f9271a2d80d9c000b42f5c44 ] A new feature requesting additional queues from PF is added in iavf; before sending VIRTCHNL_OP_REQUEST_QUEUES op code, the offload capability flag VIRTCHNL_VF_OFFLOAD_REQ_QUEUES will be checked. And due to DPDK PF is still used by some cases, add this offload capability flag in i40e PF. Fixes: cbdbd360f77f ("net/i40e: support AVF basic interface") Signed-off-by: Robin Zhang Acked-by: Jeff Guo --- drivers/net/i40e/i40e_pf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c index 65d649b627..d6f5698342 100644 --- a/drivers/net/i40e/i40e_pf.c +++ b/drivers/net/i40e/i40e_pf.c @@ -333,6 +333,10 @@ i40e_pf_host_process_cmd_get_vf_resource(struct i40e_pf_vf *vf, uint8_t *msg, vf_res->vf_cap_flags = vf->request_caps & I40E_VIRTCHNL_OFFLOAD_CAPS; + + if (vf->request_caps & VIRTCHNL_VF_OFFLOAD_REQ_QUEUES) + vf_res->vf_cap_flags |= VIRTCHNL_VF_OFFLOAD_REQ_QUEUES; + /* For X722, it supports write back on ITR * without binding queue to interrupt vector. */ -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:29.575039800 +0800 +++ 0115-net-i40e-announce-request-queue-capability-in-PF.patch 2021-05-10 23:59:26.510000000 +0800 @@ -1 +1 @@ -From 918e90b96039cd05f9271a2d80d9c000b42f5c44 Mon Sep 17 00:00:00 2001 +From 8235f3fdfd945291e053643528014c21eec0d257 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 918e90b96039cd05f9271a2d80d9c000b42f5c44 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org @@ -23 +25 @@ -index f3d6d899f6..9804ed4253 100644 +index 65d649b627..d6f5698342 100644