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 3661CA0548; Mon, 26 Apr 2021 14:43:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E06B411D0; Mon, 26 Apr 2021 14:43:24 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2048.outbound.protection.outlook.com [40.107.243.48]) by mails.dpdk.org (Postfix) with ESMTP id A26C9411C2 for ; Mon, 26 Apr 2021 14:43:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cI/Aqd13zdlyWuEqc+uelxp/AzUaiz4BiheBLr2vRevtqIsPpZJKu6+bxQFLMkY3CxG9x5SJmGsEb2vXwFMS+rJDMQKWFFwyr/IBXzNJswqskIsZVll7S49o0uNjyzkctMe8nHZkngwKU/Q7sT+BJhxBR46NjCPyiDSoG8Bscskl0glKDoUgrM63DT0MrfbXNntQ8qSEFY90nsfdRzucgHHsZ1PH2nhqcNsJu9Z+A1LGhBo0balnXJbs04nRq/xRlXQynxu3xMWVESzqRhmrZixzzAMW5AmUQl3mvjfvz4WH4mx+xt7DjD4NzYk6sXabF7p3KMlQED3ZU5SY5jLWoA== 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=oaAY35EzEuSA4b3asjWjd4Lbd0H8BXoThSSlVpvKVVI=; b=ih0g6ZgzAqZjwZs3RgHdC/HUOFSVn9/x9ec4UQ455vIaCoJBa/dbyV12hOXWk1ByeNAuD/82VwH/dXfmGEJbh/TW3wO3QF0ZjzWCv77xI72EBnZ+Jq/sq3Xj49uDmA8JR7ZNnqjxZP0cJ9+YVMfZRMZSyBdMrHo84HRByLGysWnCheH3r/bKBM/+QTeIfSk95DZn93FO0vzbI5DsminLQfVapo3+yBAJI4Dq1zh1qEJDNrKdntgoVdAqtYF2j8E4ERtyx7dXbqEt0YSO5VSY9HbNSRKrPTEjOkRe1318OUWOEpoTDB/S1OTasozHnMVgJ8ym4qPw6uxat/lKLdidNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org 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=oaAY35EzEuSA4b3asjWjd4Lbd0H8BXoThSSlVpvKVVI=; b=hSOPi0wrR5iJCepqlUT9eGYSrk3MoTPVgAdOJobUvgBbUFrNwTQfZ2ufTxSEo8q40+R3LErhSt0x5741TIooLfvC4P8JjK7i1WfmoCsqEpom++YeYYH1YFqdkqXpBsfeeq6cqMkMgpuCmlEd0VA1BEJ8D85LL3nEHX3AGqz2oC9AueYfI7B8rcY3l3scLSfJ7znFsJ9+xMEz+OfSOTI9x5hZ5+RzefYNPqXtYpa7eZM//Dv/sR6oI0MdSGMKMSl65uxOHyfimUw0uPfxO+VKakJKrg2JlT2raieHJkNg/nVAUq0szlOGvgNRwU5GOZbJlfijQCVix787qkAEXVto1Q== Received: from DM5PR12CA0059.namprd12.prod.outlook.com (2603:10b6:3:103::21) by BY5PR12MB3777.namprd12.prod.outlook.com (2603:10b6:a03:1a9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.23; Mon, 26 Apr 2021 12:43:20 +0000 Received: from DM6NAM11FT032.eop-nam11.prod.protection.outlook.com (2603:10b6:3:103:cafe::56) by DM5PR12CA0059.outlook.office365.com (2603:10b6:3:103::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Mon, 26 Apr 2021 12:43:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; 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 DM6NAM11FT032.mail.protection.outlook.com (10.13.173.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4065.21 via Frontend Transport; Mon, 26 Apr 2021 12:43:19 +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, 26 Apr 2021 12:43:17 +0000 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko Date: Mon, 26 Apr 2021 15:42:47 +0300 Message-ID: <20210426124250.42771-3-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210426124250.42771-1-michaelba@nvidia.com> References: <20210426124250.42771-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2e7b2158-12bf-4b03-8577-08d908b0def9 X-MS-TrafficTypeDiagnostic: BY5PR12MB3777: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:483; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g4uS0YwBvaoO9gG/IQCbpDyQQ71k2rdUD5X/ecLFF2jSNvQ8pjbfT3h5fdD2py8Esxw/Vj1tcPHrPZh0fTbCe31iWU50fgh4yXGnBMksNZnuXQf40g87h5KyHkXmdJ4R1stvQPK6L/1nGNCOpYWqM/dj6mwexor7YfSRcUVNP4Ma2NRElnqvXLBg/YuoL/nbWclWFClK6B/+G0gUGl8FQjarpkGFjSCLuWpxVeEPPGJeskDEP7KAEwyqDgOjDmqauDMSEVytbzWkN4iYWokMMatUYHJFaP5tzoVvMkb45KzGdyPD1i73IMKoCuRTM1zB2+yAmlW8G3VFWiDnLq60xZV09rCKg4QiSGyuMCCfXQWqaDm1rBB0KP4eNOcnbCIz4uX/po/wSgSeqSMK6uveWcgQBYnq4p2YJa5zHfisYmzp307FmvzWZ7kDNB1pwWJNFo9TVChSwFMISaom4mBtYXIsIzqgZJVbE8fVdzne/z2bmGMLV4zVmb4Hq4S94FOW/g0Ds9L2PUc+s6NoA1tDpsdkRmemRVvizxQz0QAPDd+uVJxNYujvfdd6zUe1VVSvguGRP6khjnBm2bjozWufj2Ei0KVZMkCvT9gFifHDVcKFQm5tF52ofZ84hyA7rs3RveFiuTUPxC0BHXgeUDNhAOQrHhwnWQVuPYf21acSyV4= 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)(396003)(376002)(39860400002)(346002)(136003)(46966006)(36840700001)(55016002)(5660300002)(1076003)(2616005)(7696005)(2906002)(47076005)(316002)(6286002)(16526019)(36906005)(70586007)(36860700001)(70206006)(107886003)(426003)(336012)(186003)(26005)(6666004)(54906003)(4326008)(356005)(82310400003)(83380400001)(7636003)(36756003)(6916009)(86362001)(82740400003)(8676002)(8936002)(478600001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2021 12:43:19.6757 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2e7b2158-12bf-4b03-8577-08d908b0def9 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: DM6NAM11FT032.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3777 Subject: [dpdk-dev] [PATCH 2/5] app/testpmd: remove indirect RSS action query X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The port_action_handle_query function supports query operation for indirect RSS action. No driver currently supports this operation, and this support is unnecessary. Remove it. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- app/test-pmd/config.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index e189062..a9805cc 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -1626,7 +1626,6 @@ struct rte_flow_action_handle * if (!pia) return -EINVAL; switch (pia->type) { - case RTE_FLOW_ACTION_TYPE_RSS: case RTE_FLOW_ACTION_TYPE_AGE: data = &default_data; break; @@ -1638,12 +1637,6 @@ struct rte_flow_action_handle * if (rte_flow_action_handle_query(port_id, pia->handle, data, &error)) ret = port_flow_complain(&error); switch (pia->type) { - case RTE_FLOW_ACTION_TYPE_RSS: - if (!ret) - printf("Shared RSS action:\n\trefs:%u\n", - *((uint32_t *)data)); - data = NULL; - break; case RTE_FLOW_ACTION_TYPE_AGE: if (!ret) { struct rte_flow_query_age *resp = data; -- 1.8.3.1