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 8269243261; Wed, 1 Nov 2023 14:42:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F998402C7; Wed, 1 Nov 2023 14:42:45 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2076.outbound.protection.outlook.com [40.107.220.76]) by mails.dpdk.org (Postfix) with ESMTP id 208A1400EF for ; Wed, 1 Nov 2023 14:42:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W3VjO8aQPp9teUVpOujmfcBttrtk0eMhN4HiUWX183PIXvA9ERNhzaeTk2/Jn5Jd1d9PnpNP+oPKQbB5ss7+Vbyir0MncPFDu4l0CyNORLHyj+W8W04EfbKe+en0IzI2cVdla1hX317c6SwQ1/ejPG8l7bOaYZKcEtIQ7ZWyhshv2cjJNJddGv7eR4DdIxbwAZVVzkGLTT0+oVFkpdViky3My4yGFzNQ8hVwEQo+j05OvhHxqYptRGX/t6C6ZMrcfyAtoYBNZ/UDnCD9urKsjlcAx7jwBOuDdvwKTY6srW1aV4jU+LnfzF/J1YcQKsIQRJ53+fffGojTyQTu26c9DA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wqgNeJgAXhjdQDpz+mKA3JD3/EIxnyJgEUfLRVa9xf4=; b=iqf9UF/QKWG61R8JStmFokDSBdbs2RxxLorEjXQ4ORX6t+KWPb9T5mFuefOKyzTIszL+SBlJt78pbuxtabF7NDlqAM9Hcx/OtQ9JGjqw0JvNxJEWBDHzw9AM2YQmxdKxt7abdZKZkpPF2oTKRqhlc0s0ICd0DR4j7mQBNgRVfeOlaGs9s4pSO97WM6sO2TZbyzOiQq9mh/DhCQddW3TufUu11J9Oh58qbWJpPtR+oREG4K60ikavhpN0bbWwhmaMENU29knqOHRHBKl2V6zCtoVkkHA33IPyNvDvmKwz2FLv5jfwH6sa47GRrg8fqMfdE1i7Lw9jRXkZtCBr2GlvxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wqgNeJgAXhjdQDpz+mKA3JD3/EIxnyJgEUfLRVa9xf4=; b=iHw9Vxb+Sbj72CYWoxm8l2XWZOP7br9woAL8lGsFMoCrjlJ0iegk1S59EGbWzrSrRH/KyWHAoGt/NQnmwbm/+Qxag+9N9PFXx/4SJy+35GsJazgfoO+gwrTwtvcJeim9IfnEUHYxYA32IWg16eP5T+ScnOu+hplOU0jXxoAhSMY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DM6PR12MB4928.namprd12.prod.outlook.com (2603:10b6:5:1b8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.28; Wed, 1 Nov 2023 13:42:42 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f%6]) with mapi id 15.20.6954.019; Wed, 1 Nov 2023 13:42:41 +0000 Message-ID: <8790bba9-cc45-48c5-9f2a-c191d5d64800@amd.com> Date: Wed, 1 Nov 2023 13:42:35 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 10/10] app/testpmd: add RSS hash algorithms display Content-Language: en-US To: Jie Hai , dev@dpdk.org, Aman Singh , Yuying Zhang Cc: lihuisong@huawei.com, fengchengwen@huawei.com, liudongdong3@huawei.com References: <20230315110033.30143-1-liudongdong3@huawei.com> <20231101074039.3088716-1-haijie1@huawei.com> <20231101074039.3088716-11-haijie1@huawei.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICw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jkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20231101074039.3088716-11-haijie1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0306.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f6::17) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM6PR12MB4928:EE_ X-MS-Office365-Filtering-Correlation-Id: 6cc3d8cd-1afc-4c07-f5cb-08dbdae06ba2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1bpc4p6lI+cFRsNKMXqz+MJBcz3CBe6EUuEfm2wF7D1twCexOm5hnvxElN/82wUxF2q68ykDS2dUaJPgAGiA4NuhRUnmg4vjCBvsWI7iy06mdCA7AA1z4m4wfVBCvnH7JIjbC5nrDelXOu597hNXJ238N4TScOm7ThsKkA0SHvDT17vtcTwtXhVZc/cf2I1ZtKHq6V7vw0y2ECmgLm94SNUTXGCpkzqlXI3BtAqsGtY8v0XXKgjkuPTf3vj6hxN4y4ghu4Zsi+1YTNKBU7UEVXsLW3MYxnXnLM+TrUZbaTQ8UcgwXKQAIWKMeBhci0+hmEYnpUe5miu8rfBH9d1FlidO0CrVJCb/b+wmgoLZ/wLuWc0mqNkvDKwY5yd2FVB/lfHRUGUU4eKlcLe7kS2S5pMfFWRBIvLkZ+4eYLuVemVHKjnwZQFk43BQFLX5CyId28eTSwGRfzwWt6TE8OncEKUCaSKAjwNNK08KSMPjhlCbqivpM5yaOVPWPy8E9o983sCwEUF/XfG2vJNp13gJkeljUVGiuK7pIEkeeMsQfOLVHfobnT78PqiJZ+AOJ3ieQ+aLD4TgZHdtcpWNmIcrcJH5hCWQ79sUNjQvZ68krtD7U4x8lvscu/RdyI4udqJFitYC4W+BUV30JKyCrdMxkA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(39860400002)(346002)(376002)(396003)(366004)(230922051799003)(64100799003)(1800799009)(186009)(451199024)(8676002)(8936002)(4326008)(5660300002)(83380400001)(66556008)(66946007)(110136005)(66476007)(2906002)(6666004)(478600001)(6486002)(44832011)(316002)(41300700001)(31686004)(6506007)(53546011)(2616005)(26005)(6512007)(36756003)(31696002)(86362001)(38100700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RzhWTDNRajJSVHRqTm1ab2hwQUdiU21IV25nbVdEYUtWdmJmQ25XSXJaZW5T?= =?utf-8?B?SHVSeVZpWjZYSEdyUWtTNVhKTUFocmxtQ0dIR1RDdzZlVnRKN3ltR0I3a1Ay?= =?utf-8?B?YjJpRVcrTzZFSE9kUFJETGZ1cFVHMzF1VTE1VmZqT2RZK1RteTMzOGFxOWwy?= =?utf-8?B?dHBETm1MaC9lRXFGWUZ2eTB3MVMzbC9obFZqU2lRQ3ppMUVUYWtRWUIrUXJ3?= =?utf-8?B?ME5FM2trd29vdG52bnd4ZC9YTWhnZ3FPcGkxRzdFdXRMWnc4RDZnNnBsTXZY?= =?utf-8?B?RVFUZU13MUJlZTBxY1pYeVlFaENqSVcyUkhoMGFzNDNWVEh0TW9JM1Z2NnM4?= =?utf-8?B?V21aRXZEVXUxTXdqU1JJU0MzVzZkL0xoQ2FLWXhjWm1XNUs0WW1HSEpqNWk0?= =?utf-8?B?b3NyaWsyVmo2Q0ZlYSs1b3NzWWFoT1pKZktsOG5qZ2tKQ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WFFaERqMVhQeDQyNlNrT1l4RGdmeEEy?= =?utf-8?B?VzVRNWhiSklETWpDZjFyZ1pHaVNIc0I4RFJib3BaeHdZQmwvdE5CNGNSb1Zl?= =?utf-8?B?Q3Ewc3JzMlVCTjFkaXR2bW13TDlVaVRZbTJVWmsrbE1naFdJdnlDSEg5bFBV?= =?utf-8?B?Rk5VUlNYZFRkOTdkclQrcjA2cXhqUEorTElBVGtTcXBEeUpCUk1YbkdRbXEv?= =?utf-8?B?QTgrN1NrQnhubWhoa2Y2VHpZcTdCN0ExWVpZd3R6N25TOGoydElCcGxkcmdj?= =?utf-8?B?aDVIUTVDTHhOb1FkU1VLOCtkZjdqNEI1aEs3YTNUMVQ5YStsZHlOSzl0aDRJ?= =?utf-8?B?UzliQWNnVWQrcHZXdDZ5aUJUQ3RqV1BZaG5NaDVtWGgrdFc0cmpNUUNab2VB?= =?utf-8?B?dVZiSzdnSHZ0Rk9BVGJyQjR4Q3VmdW1oVldJRE5uR1lTOHM3SzJMVGRIbXJm?= =?utf-8?B?QVpKak5YZXJIQjkvZ0dncEFuV1JrZFY4cjFzNjhPc1JINnh5K3g5NFA4b0pk?= =?utf-8?B?QVh5SktqamsreE1GcXJnS1g4RCtLM1pRTFVLMVhSRERUNmR1NDBTeEpCZlBp?= =?utf-8?B?VXQrZ0NVcWxLcWFRTHlsQzhsNjk5UERIeWpmNmVmVnZ5eWNSRWVQaHFGTmlk?= =?utf-8?B?TW1teDJ3THFOK2xITktIMmE3eEN1SUhBN3orQTBEd1VvbVNOdkxqdlVWc1ds?= =?utf-8?B?dVI5QnVkNUdFWjJLODAza1l4M3p5QUlGTTRGL3lQd0VQRmloTlJzVlBaRlFz?= =?utf-8?Q?MEja5rJ5R9xtYHYPm08NacwU5?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6cc3d8cd-1afc-4c07-f5cb-08dbdae06ba2 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 13:42:41.9091 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: e9bWTOsmN6lXUmIUzcm+GggnKvp1Lz4hOpSp9zM4dTupC/6OFkXkjtBC+vORNr6v X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4928 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 On 11/1/2023 7:40 AM, Jie Hai wrote: > Add the command "show port X rss-hash algorithm" to display > the RSS hash algorithms of port X. An example is shown: > > testpmd> show port 0 rss-hash algorithm > RSS algorithm: > toeplitz > > Signed-off-by: Jie Hai > Acked-by: Huisong Li > --- > app/test-pmd/cmdline.c | 29 ++++++++++++++++++++++++----- > app/test-pmd/config.c | 29 ++++++++++------------------- > app/test-pmd/testpmd.h | 2 +- > Can you please update testpmd documentation, 'doc/guides/testpmd_app_ug/testpmd_funcs.rst', too? <...> > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c > index b9fdb7e8f162..23fb4f8aa781 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -1504,24 +1504,7 @@ rss_config_display(struct rte_flow_action_rss *rss_conf) > printf(" %d", rss_conf->queue[i]); > printf("\n"); > > - printf(" function: "); > - switch (rss_conf->func) { > - case RTE_ETH_HASH_FUNCTION_DEFAULT: > - printf("default\n"); > - break; > - case RTE_ETH_HASH_FUNCTION_TOEPLITZ: > - printf("toeplitz\n"); > - break; > - case RTE_ETH_HASH_FUNCTION_SIMPLE_XOR: > - printf("simple_xor\n"); > - break; > - case RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ: > - printf("symmetric_toeplitz\n"); > - break; > - default: > - printf("Unknown function\n"); > - return; > - } > + printf(" function: %s\n", rte_eth_dev_rss_algo_name(rss_conf->func)); > Above modification can be moved to the patch that adds 'rte_eth_dev_rss_algo_name()'.