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 0125742E3C; Mon, 10 Jul 2023 19:46:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C725D40698; Mon, 10 Jul 2023 19:46:43 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2086.outbound.protection.outlook.com [40.107.96.86]) by mails.dpdk.org (Postfix) with ESMTP id C49D040150 for ; Mon, 10 Jul 2023 19:46:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WfayKOT1vd4vI08bZIMNYWoZmOFYB/8WLpAXScLPuqfU+YuyXx2P4BweTU4wBKlkzWplH7EiSIR5vmmjQiB9pJasfS4xZZnCxlHbfyWiTircCQMY+QFXbOEvUXoVDKwej9RQfZhl9WS1KZTq/tmR1QmQL7q5NjXHbsSs7kCpOUNRkIzM/G/eEBVYz2XB86epAX4QBDRLOZUAQ0lqhVc5CctxwTbp9+p8mDL6NEpoQeU5AjXw7BfBPvvzGYxqJCvznwIbX6/lSUMmpXTr6o5fqPcf6QT6/zOMa+4CDaKpx8tm5Vvi1w5UeOZBCuqAf6rWiUk1Sj6qtcZW3+p2UGrNBg== 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=fpsFHjMdAizou0/W7dMr+pDVgNsMWkFCVWhbO93nZmY=; b=i4d+Yb4R3B5ACNIc1Su3cSw0tEZvLYEW2mHzlPTzD9jtdMGNQWIhwsbOsNaK0tLem51y+URlktqQm5swg39GpunfGoLunLjTEfNUPd7y4JEaJ8s7cM6hP1jueEBhtgu2PZN/1loKqbfhvJ8F4DyPwJteAUE/KNsvATG8sjNvbsnl/ASIiKOZ2UMHa3CVrZnnWxrIuEZ6G4EVRTJJAi7w3oCPMkZ6foo5i3Zf3T5q0yJ+2gWo9E472TVdGp8/Yxfn36vJEIa5Tqpp3Xl8t1XWWRR9vUEKJqxsB5fXIDJkJYyRwskw9HqS0V7YdWfPg4wgYLMrBtkIH3QEgGEw9wPTDQ== 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=fpsFHjMdAizou0/W7dMr+pDVgNsMWkFCVWhbO93nZmY=; b=z0pvhbDvWp56gPSwKbixnzjclnEPSJj6/35QLL82bu8mOJx4ryPOvZSIugZoDeDrvmItiU64vbbqhu+QjG0Dn/1K/bEYe+wPvcdZ1//4zTgYRFzZN0U5gzSLIbuhqL+7XoT0YD+MmwdwRotNBjNN+lyVifCh4xmWUUhQA3hII9A= 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 LV3PR12MB9143.namprd12.prod.outlook.com (2603:10b6:408:19e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.31; Mon, 10 Jul 2023 17:46:39 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::369d:5f05:aaba:ebd8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::369d:5f05:aaba:ebd8%3]) with mapi id 15.20.6565.028; Mon, 10 Jul 2023 17:46:39 +0000 Message-ID: <43a66d6b-f000-06da-e9df-53e6f963f5c6@amd.com> Date: Mon, 10 Jul 2023 18:46:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] net/pcap: support MTU set Content-Language: en-US To: Stephen Hemminger , ido g Cc: Ferruh Yigit , dev@dpdk.org References: <20220317174347.110909-1-ido@cgstowernetworks.com> <20230710094505.53b699ef@hermes.local> From: Ferruh Yigit In-Reply-To: <20230710094505.53b699ef@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0204.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:318::14) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|LV3PR12MB9143:EE_ X-MS-Office365-Filtering-Correlation-Id: 968a9b88-daac-441b-e134-08db816d9d12 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gNb3JxwLju8FJFFLEetrRRkvS9ETBoKo5biccjI5zKcFFuwPW4vjw0pM6imx3L8O8WvfWtg3oBD2+RdL80iufzqM1+ht17O74C8AoP+vIaNTjtDfr53+A4dLYdNF9X8y3WYFtlSkgdC16M86U6Se+/mp/GDtGXOcR1X5NMzpqcVDsWxXllBw99p4NMaWmp7ZrIsVvnEerqLFLonAvQwx+ZMxBAJ/FMSqFEWwH5FqQFk/zL4UnXylMO5js4L+XEvEsSCEXrlf5axGmN+2tqBqXVt8UvW2b+SA9YM5+hP4WeKTRyZ6u84TTUbVt0dD+SJvnW+a0NH99q1GOlBYh8VV3bMeskLq9TDAcP0bNS+pI6OzrCvmsH51T8CRG161aahH/4qs7LBwk1O8i53Noqkzuaxkng57qI/uktxYBqdzfp2l3OD6l0A/HnsRr6sHC/VFdhVjG0EJJz1n/iUUeP5/KBJQEm7VtwcZpSgSWo31L1MPQAipM2bughjlhp4Cjrzr2NLs17r0a0YTq4Nh93iKAslBblsJNgDLmDLkPRwkonJfvNdnz9MPHZkAHyTJbNs3RD5w1ddqvtaX4mrVK3XNaLbVjlPQ3DcSqRs2gVevszpuMCV/DSF+niRcBgTz54I4K0UrVZnVUeFvnPlO99E5Vw== 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:(13230028)(4636009)(366004)(136003)(396003)(346002)(39860400002)(376002)(451199021)(6666004)(6486002)(478600001)(26005)(2616005)(6506007)(186003)(53546011)(36756003)(966005)(6512007)(316002)(2906002)(41300700001)(4744005)(38100700002)(66476007)(66946007)(66556008)(4326008)(44832011)(86362001)(31696002)(8676002)(8936002)(31686004)(5660300002)(110136005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c0pyYVJEZ0JvQlFTcmh3dzNEcDZsdkhrWWlGWUN6WnBtUmxqcjA4NzU2MUt0?= =?utf-8?B?YUJERTM0dmgxeTJ6VGR6dHhhZllOcnk5eENOQkkycFNoZ2VqNm9DbUN1Rklm?= =?utf-8?B?OXNtWVRQQzUyZXFHb1V4ZGllQTQyM0pUVWJob1l5amE4V250OFpaejBsUFl1?= =?utf-8?B?VWVKZ0g1OFNUVjIydHpLbUJLeGhTT3BZUFByMXcyVWhRUHE3aFQ5NTUzUFVC?= =?utf-8?B?aFAyQ2V2aTBkNjliakZ1RVZnc081Vys3aFZQaWdCREVzamxENWUrK2hVRjBX?= =?utf-8?B?UlVyMlFNUjF4V3hWOTlwQ0d3bGVCeDgwMTh2S25LT29MNEhqMGZEbnhmcUNX?= =?utf-8?B?TEpUMGoxeEU2SlM1bVIva3lPYTl3MzdkMk0w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ac-441b-e134-08db816d9d12 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2023 17:46:39.3044 (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: UhgRaLDLlq7FN++bB+iiJFHt1pg2j3TQPUWjBKcv9P646qzpUmiTUPZ1Z4OOhhPe X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9143 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 7/10/2023 5:45 PM, Stephen Hemminger wrote: > On Thu, 17 Mar 2022 19:43:47 +0200 > ido g wrote: > >> Support rte_eth_dev_set_mtu by pcap vdevs >> Enforce mtu on rx/tx >> For more details see https://bugs.dpdk.org/show_bug.cgi?id=961 >> >> Signed-off-by: ido g > > Feeling less convinced that this is needed. > The motivation appears to be to test with an underlying Linux device. > If so, then why not use af_packet or tap devices which already should handle MTU? > I am feeling similar for case that requires underlying physical device. If there is a need/use case for .pcap file, as far as I can see v4 version of this set is handling .pcap file case.