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 B6D47A0547; Thu, 29 Apr 2021 11:56:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E24E412C6; Thu, 29 Apr 2021 11:56:24 +0200 (CEST) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-eopbgr750051.outbound.protection.outlook.com [40.107.75.51]) by mails.dpdk.org (Postfix) with ESMTP id 849F3412C6 for ; Thu, 29 Apr 2021 11:56:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f19EB5EBfVR2pUmikFZcFtCXGoFeQKzrmoay9KTY5NnlfEl6mJjg1Y6CvC5wnezGBPR5LM6BEUPFRnXCj39nQLj8APTGMdqyhizi2rtFch6AXRCq4giH7Ocu8BuQYNqXbSefUx6psZ/RE3msJLA9xHp8Tq5Dc9PtDH+YusEST1RPtdDzk1lkj3RGXsPseP8BeF/AhgnKSmbazMCgvPzaTxZazIUm5QDbujOPqw4lrMOq9umUIQOIFXzu2BZNPzZbNzGjfW4s6qERyc9qdgswvt8Ws3eZZKd35naNWey3KagfVwvN6HQqERDQUU1ucB5s0fqdrTeWiy1vkCB/4Nex8Q== 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=Y3BhHZ9EOq3eyWS4sXa1vTi1oGz31+Tua2LQ7JhkBxc=; b=gmPMycR7PezSUciZuQwZQUJEZ/fUb6OkLWg0qb1s2zKWIWZuDu4r2+1n3TQzQHuUsKPQzwNshPo3EGKFT3J09RoTq4usCBda4/9NHkug88ffIcC4ib+gE8K4PfR7lLkNuWYXagsJ2fwoawTXMVUVV8pIijeNb9EN4YNLA/IjecFk+GfIK6M+E8tQRAPXiJgQOFk7UGIAZO1o3VbwdmGvA2L2Ijm4zHNxI2zZyFvqmubdykFOIbsVMHmp3KMJObTihjb014jveTlpz3AkSl5z6pPJpC4oMj/vUv4BfO4kxrEfGdk1C1EXCOVtdWZQt1ma1nMWJktYxP4vVQgAOTkYVw== 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=Y3BhHZ9EOq3eyWS4sXa1vTi1oGz31+Tua2LQ7JhkBxc=; b=K0zX2NYTpS/HuKwkk8PZ23C9eu+LNac7lFloPZelDYiyYVfubWQLyS39DysHTRf5ARdTWAi24OLRZZuOwc6z+gA+lbsYDvsdz1LtOfdlKpGhDWuangafdPd0ujlwA8wYQEYglVv2W2vOcVXpDz3gNlbJjFgUiz2aXKG8KAC7RcmhUk5ZD1tbpyoBQd/xgv9/cabyuYDx7BvCiyB+SMAUCbTf6P/V6DZLOjz2+yZH5Mz2OLcg20s2TpHaMumYxoYn6Oz1Leci0pmwfJ7LYfKoJra8Y7DXD0TvFGJhvPT2UXTJQL9vj506DLnrvUjetybwpHNi99EkdG46wAFGEGBHgg== Received: from BN9PR03CA0900.namprd03.prod.outlook.com (2603:10b6:408:13c::35) by DM5PR12MB2343.namprd12.prod.outlook.com (2603:10b6:4:b3::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.23; Thu, 29 Apr 2021 09:56:22 +0000 Received: from BN8NAM11FT013.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13c:cafe::df) by BN9PR03CA0900.outlook.office365.com (2603:10b6:408:13c::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Thu, 29 Apr 2021 09:56:22 +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 BN8NAM11FT013.mail.protection.outlook.com (10.13.176.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4087.32 via Frontend Transport; Thu, 29 Apr 2021 09:56:21 +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; Thu, 29 Apr 2021 09:56:19 +0000 From: Viacheslav Ovsiienko To: CC: , , , Michael Baum Date: Thu, 29 Apr 2021 12:55:39 +0300 Message-ID: <20210429095542.7800-3-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20210429095542.7800-1-viacheslavo@nvidia.com> References: <20210426124250.42771-1-michaelba@nvidia.com> <20210429095542.7800-1-viacheslavo@nvidia.com> MIME-Version: 1.0 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: c1bd388a-1f54-4b5c-ef16-08d90af50b0d X-MS-TrafficTypeDiagnostic: DM5PR12MB2343: 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: k3LGmVW1JOhjzBNQ6n5MyJDBNS2sm4CjqvIJDS6aAsGCK2t5ZHkZovuTA5evn84OgY5Lrk9ij0TiLrm3UdOntkGkdYlCSXhi4ZNhMtLhVELBLIEpioL9eqVpkLzcbH+n4Q4xlEhhUC8QEQZRcVYLI+a25tid5g8OfyiWCkeNjS9RT6p97vKMAfpLa12vE4GKt8KSGepZ16o2YH8Vqe2/Q1N/VcCFGjZWUfgrVkpe5Hh/xzonzn/lfj7eeTUWRFQn0p+3ltiqjkf1YDuqMyPR+C+xBfmIJrwfzc7bFdPrF/eIaFbMI+tm4zTfIrhp7wrb6LJ++e++KT8cWLdSZxM58l0yUggES03PmJA1jftY0fYTEmXCHYhHmyS2nrCPmEnDCIGR6crtAYltpmF5t64JK2bAKXIOpuLf2jjq5Ukx0U4cokFJpbHLP3AsKRc7CpnIbmnO+VfSuOKJAyaFw6OUr2r9/OucvQKO2J921vL8WVDV7LUjHkI4OXcJEqinpuhTXqFWS+M8LvfMxdvvaVazNKtPvdIbl9AqP+PuOLLDY5jisbjg6DUV4E/bMVwhe/Vv1lcQRSXsUh5cy3Nhl7mVSYs7Wsrajr7wa4rLm/owPsDYSEJjFkoNClEO+qHbgJPDMI4AJKwLA5d9M/GVfg8feQrposJyrEdNmXSJglKg7nM= 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)(39850400004)(346002)(376002)(136003)(396003)(36840700001)(46966006)(36756003)(6666004)(186003)(2616005)(16526019)(47076005)(54906003)(86362001)(4326008)(55016002)(7696005)(26005)(478600001)(8936002)(83380400001)(336012)(8676002)(70586007)(107886003)(6286002)(5660300002)(6916009)(356005)(1076003)(82310400003)(7636003)(82740400003)(36860700001)(70206006)(316002)(36906005)(2906002)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 09:56:21.6534 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c1bd388a-1f54-4b5c-ef16-08d90af50b0d 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: BN8NAM11FT013.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2343 Subject: [dpdk-dev] [PATCH v2 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" From: Michael Baum 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 e189062efd..a9805cc198 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -1626,7 +1626,6 @@ port_action_handle_query(portid_t port_id, uint32_t id) 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 @@ port_action_handle_query(portid_t port_id, uint32_t id) 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; -- 2.18.1