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 BA07C43274; Fri, 3 Nov 2023 04:54:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8978040265; Fri, 3 Nov 2023 04:54:00 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2057.outbound.protection.outlook.com [40.107.220.57]) by mails.dpdk.org (Postfix) with ESMTP id BB3F74021E for ; Fri, 3 Nov 2023 04:53:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=doqbxIHtHIl9X/nGq4N/IL91uXBbjMmCQUrv3EBefTj8rXgSVwkxmH05X5JYZdE4q3/f5f/qcoSSHAK6ZYnXCFcQ/JTkrzlGSxMnbsln1tuMdm+IabzA/fdBmfnxk1jw3a7sPbpE3Wjvsz6w5S4sb9Doi2Q9Mdl/pYlJddk3x1PCUTHIgy4/fatumwAX8QoAJQduJqIr6QE0tYJbCF8+9DMQnQMDQGparFDSMBI/JvVnLusupP9q4NDfDNRjhqat58L6GM4uou0zsXCB4Rlr6YOtAw0JNwWcLqEHyPwSf/aoJhQBYiEi9pYoLFBYO1tV2DNpDyPSwZjRJgC5p85n6w== 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=ibQZvvWzSPj4ZhWd43O8y3DsCjpgkrmurmHKGc8/bjk=; b=KTZXpU/LWpt5wzeRK6NqrfvS4tH9rZsbh61H1bY7Bfs/gZJEaoaKbk+pdqIQWZ8IkNeLUZTnQ7YlZmGdsGkgzs22muXzedm0ivW3BxUSHZMehJQjtpMYtJlA0exEDE0db/rDGyQ5IPqKHf36Kdb2Jr9V5F3GRH9VQspKV10Ne1bBFqQ7+NhiDeN7bx1NnyyBONuVzmj/UTa9FIHE3YTqScG7H2Fy5pyuspx6HXBSY/IM5LoXfhU8E7vCE/u53GHQI80F3Sw0vf04pPnZogAeMB+y+R2TIovh1Djb6EzrDPvvVqSYVI/GnkyEgtk1GBlHB86IApSuWiFe6xnyFJaCxw== 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=ibQZvvWzSPj4ZhWd43O8y3DsCjpgkrmurmHKGc8/bjk=; b=wSXphoDDX9cB19EkN2dzslDAFMOJN99P8m8I6ii6cpoXVtTym/+LU48qXWQtBjtAihrl2206Qb0NcM9JftjoreluDRkXbJl/E7KoCmX1zgzRkJ0ztUtqEfI54YKgdv3oNWgQdXmZmgGH5OJxx8NBPnnIfOlIs7T2+2hvHdX05as= 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 DS7PR12MB5813.namprd12.prod.outlook.com (2603:10b6:8:75::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21; Fri, 3 Nov 2023 03:53:54 +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; Fri, 3 Nov 2023 03:53:54 +0000 Message-ID: <6142f553-6d80-4ca1-b539-f3a6f73f6bd0@amd.com> Date: Fri, 3 Nov 2023 03:53:42 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/3] app/testpmd: add maximum Rx buffer size display Content-Language: en-US To: "lihuisong (C)" , dev@dpdk.org, Aman Singh , Yuying Zhang Cc: thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, liuyonglong@huawei.com References: <20230808040234.12947-1-lihuisong@huawei.com> <20231102121608.10170-1-lihuisong@huawei.com> <20231102121608.10170-3-lihuisong@huawei.com> <1b312727-4960-a2dd-e69d-ab01c2465238@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 aXQgPGZlcnJ1aC55aWd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LUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <1b312727-4960-a2dd-e69d-ab01c2465238@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR4P281CA0147.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b8::7) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS7PR12MB5813:EE_ X-MS-Office365-Filtering-Correlation-Id: 5189184a-8c1e-4ebc-fd44-08dbdc207f4f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FY8ZUIqORLILLGjjCoOlzgCyksNN92GoYXO+IKHpDPFTsjS9mILHTjPii1CsjKyjmfEKY8Uvg2f/JY/Ta1k11kf9AC3KumjHTY2KLkhrxaqyLaHUC++M6IaEsK1RJmInESP5licLm1GOS5NY60IpERb4LVEYu3WmykGx0QXbL4BNC3HiMcoDGMKOGC49ezwG4SsHR6alDAQpHygzmUExL6BJM6RCcC4gb5G7OIEbnwDj0OlbUDsndCwFiWXomkV0S7ArZcgtPW9qZTXe22Wzh8oRLOM4uOiz++meQofQ9TZxPdbl0BL2ihJ7897FiFeYK0GsPlGoVhPIP+wk9x1f8YvVlC54/POOdnTxZOPVtF/1C0qmS/nj7hKTnNvFosequ5yDOHnFQVC807owkKN98TvqQsUl+497MKd6hXovmc3WMLP0KISzEvThGZ3uACxfHILRPX2a8EOnMT+Pj4FcY9NrSuSrPd8VMsdw1kIuuiyq3pRFaZJ/Ch2bdF9hB2PPTtDK5su6Z9FmKO+Vc7bzbJAceVlvmXh6kLsSF2NQ2nZxoEGQKgoaT4n+Ow3w0tqWiY2ZdNTc9ip9A0wws6IX1n63zMUAG3B0HIYaHCN9i9hY5QUbJ2ZvwOBj8PV2jQFL3v9yB8bkxp4xApO+cMStmw== 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)(396003)(376002)(136003)(366004)(346002)(39860400002)(230922051799003)(186009)(451199024)(1800799009)(64100799003)(38100700002)(6666004)(6506007)(53546011)(83380400001)(31686004)(2616005)(6512007)(8936002)(41300700001)(86362001)(2906002)(31696002)(8676002)(44832011)(6486002)(36756003)(5660300002)(4326008)(66556008)(66946007)(66476007)(110136005)(316002)(26005)(478600001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N3ZPVWtNWmp2R0hPRTVJMnpObnRkRCszQklucU0zM283VjQxaFdiWkxicTA0?= =?utf-8?B?dFB0SUpnaVAySFFlbC8xaHlUUDIzRDdRVXFreEJUa3hSQjdMZU1OSWFzRjJB?= =?utf-8?B?ZzdVVzhuZEw4ZWFnbmJBYU5rd0tWN3lYWCtFVyt5aFE0SGQzZjBYdTZaVG5o?= =?utf-8?B?cXQ2NVFmbnV5NUpxKzNMZXhTRmRUMTdmc0EvUDR0OWJzSDRwelNmZ1BSSzZh?= =?utf-8?B?VU5EUm1lMWViUldFVXgzL09rUGVXRlpCUlA1UXBPVXJJcFhHTDAyRy9IWUwy?= =?utf-8?B?SFJkS1R6YzgxSXladkZ3Z1Z4Mmg3RFRmRFRzVTB5NlZUSFQ0My9HRHh4VC92?= =?utf-8?B?L3ZobVVnU2xaTm1BZWlQenRrNVk4K3JvZVpZamd3QURsdmRjOHdWeWFJZjdp?= =?utf-8?B?TTB0TlNnZW5a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ossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2023 03:53:54.0985 (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: AmDW2eDzD8VwaM8HTNhw9XPRD11uKkw5bmrwlIY1yZdzJXnNlIc5YnCttuvTw+wJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5813 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/3/2023 2:39 AM, lihuisong (C) wrote: > > 在 2023/11/3 0:42, Ferruh Yigit 写道: >> On 11/2/2023 12:16 PM, Huisong Li wrote: >>> Add maximum Rx buffer size display. >>> >> I think there is a value to show what is the intended usage of this new >> field in application level, >> that is why what do you think to use testpmd? >> >> Testpmd can be updated to check if mbuf data size is bigger than device >> buffer size, and just log, similar to done in ethdev layer, just to >> showcase how application should use it. > Just to check "--mbuf-size" in testpmd cmdline, right? > But we already did it in ethdev layer, is it necessary for testpmd? > What is the expected behavior from the application? I assumed it should first get the max_rx_bufsize, and if the existing pktmbuf_pool size bigger than max_rx_bufsize, it can free the mempool and create a new one with reduced size. I just thought it can be good to have a sample for this usage, instead of creating a new mempool, since it will complicate things unnecessary, testpmd can just log, but yes when it just logs, it will be duplication of the ethdev. And I think this is not suitable for the unit test, since this is not API verification issue. Thinking twice, lets scratch the request, to not duplicate or increase complexity more, keep testpmd as it is. > Or we can add a usecase in test_ethdev_api.c. > what do you think? >> >> For many drivers, this won't have anything functional, because of >> UINT32_MAX size, but it is still valuable as sample. >> >> >>> Signed-off-by: Huisong Li >>> Acked-by: Chengwen Feng >>> --- >>>   app/test-pmd/config.c | 2 ++ >>>   1 file changed, 2 insertions(+) >>> >>> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c >>> index b9fdb7e8f1..2ac6f15773 100644 >>> --- a/app/test-pmd/config.c >>> +++ b/app/test-pmd/config.c >>> @@ -881,6 +881,8 @@ port_infos_display(portid_t port_id) >>>       } >>>         printf("Minimum size of RX buffer: %u\n", >>> dev_info.min_rx_bufsize); >>> +    if (dev_info.max_rx_bufsize != UINT32_MAX) >>> +        printf("Maximum size of RX buffer: %u\n", >>> dev_info.max_rx_bufsize); >>>       printf("Maximum configurable length of RX packet: %u\n", >>>           dev_info.max_rx_pktlen); >>>       printf("Maximum configurable size of LRO aggregated packet: %u\n", >> .