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 18E6145A5F; Sun, 29 Sep 2024 23:55:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DC38402D3; Sun, 29 Sep 2024 23:55:06 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2087.outbound.protection.outlook.com [40.107.237.87]) by mails.dpdk.org (Postfix) with ESMTP id 52A4C402C0 for ; Sun, 29 Sep 2024 23:55:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yMWOGgZlUpUn3/igGwgddLBqTCG097WejME5UHqkuDbxh5jxbBLB8doxZxACu1/E9c2RrVCrjFPZKOi7rVVGVAeRz2yut/Sm4jQ2ydtPGfXJ3OHechwleSsAbpaiqZF/FWKVQGy8NctLrLavyeKUZHg46E9hEmeqtHeSuVLJx745Ikd4ELg18C6Cgo4aEX2actz4QvyaTM2bboeRf6nAL363oWPGZyPk20hXm0QBBP0EhFl61L8jrHP4FGZxswrnGH1PQMF2Z6QuX+Ktj9BnOGBDB6cLqC+N8e7mFm5s1fOanzHAkjlXnuhvDJATESf8QZ98xdgpaPZVXmwMfAZKGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=BsNJD1R9fkseVwJQme89MhbVQErAoPfFe4P4UHnEJDU=; b=UpMppX8M2cMrhMlOJjmdSfhYbjJAh2ghxXDdwOVGWovb9GnOS4fdjKzs4ky1XSi2TKwDG/OhYwaI2td71l0z10HCe49YxcqxUwb2Pdytny+7G0WvJUrwpQ31Nzd/EQd+5UlNzALXg7tBqsBWvGoYJqNC9l1xGjfp33zEHhls4bDffPUKPlnRMxjHCSSB/ouFYmNrDy2MkAfPFD2lQdbVorvVtO64T/pfNk4RVX8u2iRGVHnsEF4l9qVuVyWjEmn3jUuvBoguCJX2QSfGXk049gS8P/lY8PDCStB3T5vkjtlYOG/6ErJ23EbPCXNHVbW9wFiI616A1PqvZVIP2vKh+g== 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=BsNJD1R9fkseVwJQme89MhbVQErAoPfFe4P4UHnEJDU=; b=l8/7woIc9rI5pb8tO3/eRKWKP25nIG/UqHM/wn5JAPAm3KMth4k0vWlM0auQ/fMof9qySgH0LxLcG1U3xWBVi0iLkweK8wZuit6y1cbKrzjCrlopHJ3Op6anJAGkzGNEdO0EQaJpIWKiZGMCT7D83PbyS3j0Nk0KPcDDRXIKcnk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by CH3PR12MB8903.namprd12.prod.outlook.com (2603:10b6:610:17a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Sun, 29 Sep 2024 21:54:59 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8005.024; Sun, 29 Sep 2024 21:54:59 +0000 Message-ID: <09ab8aa9-db27-45a7-8178-2595de57da7f@amd.com> Date: Sun, 29 Sep 2024 22:54:52 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/tap: add new macpair option for split MAC address To: Isaac Boukris , dev@dpdk.org Cc: stephen@networkplumber.org, mb@smartsharesystems.com References: <20240917115147.378146-1-iboukris@gmail.com> Content-Language: en-US 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6Udc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HqNxKuyO 8Zk= In-Reply-To: <20240917115147.378146-1-iboukris@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P123CA0099.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:139::14) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|CH3PR12MB8903:EE_ X-MS-Office365-Filtering-Correlation-Id: bdc24557-41b8-415b-a494-08dce0d15ce8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?TW9lZGNkZnljb2VXSnRwWnU5SE5QaWxSQ0xyVFh2dlB1c29MZmNhMTlKU281?= =?utf-8?B?WklPWmN3ZThxRXdNQnpIS0Q0c3pDeFRKK3hLZ3U2NWR5WXFxQzQ2Qjl1RTBJ?= =?utf-8?B?bzhqK2luaDdsYjBPRVROaXdVWXBCSjh4cWtwbWlEaUxSYkRVS0dQTHNoU2sy?= =?utf-8?B?WnBGT1pqUkdpaStkYWVkZVZyaW9HWEd3WTRyd0Z4ZVVBR200VE43SmxRaFNX?= =?utf-8?B?REtxbGNoT2FoREtNeU5TY3dvQTVtWlNJa2prNm1tQmRQLzVKWWRnak52SUxI?= =?utf-8?B?VWdpYk4ramh3bE5BTE1YOFJ1T3hwMFJETGNLSE1qNFdxdy9KV2llUGVOUUJE?= =?utf-8?B?UnJ5SUxFSDBuallJQUphejV5M09oNUNBa3hPWXhzZEVOQjI4MFdHWkNWdlZB?= =?utf-8?B?QXB2YTBSNnE2WWhaYW84YWpnRmszbC9jR1I2S0NGZEpQMFNJR2UxRGN3dXN1?= =?utf-8?B?RlFHdk1aemlKS1RoZXBCbDlvZXV0SHBtbDRKKytIS1hERjFGOTduUXhqYz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VsUEtMT2x0Y2o2?= =?utf-8?B?T2dmcm1Zb3ZxK2NEWm1HV3l3K1ZtVVlmanh1WnpuSzVMVldVL2dObWlXZ0Yv?= =?utf-8?B?YU8wdFBLVWhRaGYvVEp0ZzZSVU5IVDhocUYwUERkaEU2UlhjTk8rUU5lbTRE?= =?utf-8?B?NUEwclFBeWN3V1J4WmFISjQ2ZStBb2U1bC9SdnE5MHd4Mk9tcDV3cDlzRmxW?= =?utf-8?B?eklYbnAyVkN1NG1ndVNmUHpzM0xqWGROaVljQkFSN216WXVReW9uLzY3NFV1?= =?utf-8?B?QXNNZEV1TUowL2JQNFdWUHMxMU1LZkNBMThqNis2YnMzZkROSHRNQWlRPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?K1hoU3p4a3VrbTZJSm9GMVdBZkFkeEQ0QTcrTjJOak0ybnp5V2I1VmlycDM2?= =?utf-8?B?VEk2Tmw4NXIwUG5ueUhjQzVFbzBKb0c2MjljTmNzUFdBWU1pemdhYVZRdS9X?= =?utf-8?B?SUJld3pyZStNUHExeWJKVDdMVWFoMU1UMXE2TVF1UGhRRWREVy9WTERCa1pH?= =?utf-8?B?dTdiOXUrTzJOZnRDMGRraTFjSjRkNzU1N0pWVHBUVnRjdWxpZEZNYkxaTE5U?= =?utf-8?B?WE1CcnlZNU1PTVRGcTE0S1FMVW9XWXEzSDlsdkRXN1dTNUJ4NDdidGl3UXNk?= =?utf-8?B?TFM4eUNzam52dlNkaElJNk15K3BaVHlzWXZ5bzVGTldnSi9hNWNDN3JGQ1BE?= =?utf-8?B?R3ZJdzdOWWtCZmxXeWs5MHN5VWhiMnpMOE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24557-41b8-415b-a494-08dce0d15ce8 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2024 21:54:59.3753 (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: 08nCPi2bLNqMMRUQhGXnUX5gfMKY8Ra1wIxUI02/A+GYxDlv/xa39R9tLj/bOwMh X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8903 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 9/17/2024 12:51 PM, Isaac Boukris wrote: > Normally, the MAC address of the kernel interface is the same as in the > interface in dpdk, as they represent the same interface. It is useful > to allow viewing them as separate connected interfaces (like ip's veth). > > This solves a problem I have running a freebsd-based IPv6 stack on top > of dpdk and using the tap interface, as both the kernel and freebsd > stacks configure the MAC derived IPv6 address on the interface (as can > be seen with ifconfig for the kernel), and they both complain about > duplicate IPv6 address and the freebsd disables IPv6 as a result. > How kernel side knows about the IPv6 address DPDK side uses, what is your tap usecase? > Signed-off-by: Isaac Boukris > --- > doc/guides/nics/tap.rst | 18 +++++++++++++++++ > drivers/net/tap/rte_eth_tap.c | 37 ++++++++++++++++++++++++++++++----- > drivers/net/tap/rte_eth_tap.h | 1 + > 3 files changed, 51 insertions(+), 5 deletions(-) > > diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst > index f01663c700..fd936c6084 100644 > --- a/doc/guides/nics/tap.rst > +++ b/doc/guides/nics/tap.rst > @@ -71,6 +71,24 @@ But this behavior can be overridden by the use of the persist flag, example:: > > --vdev=net_tap0,iface=tap0,persist ... > > +Normally, the MAC address of the kernel interface is the same as in the > +interface in dpdk, as they represent the same interface. If a MAC address is set > +by the dpdk application using ``rte_eth_dev_default_mac_addr_set()`` then the > +kernel interface changes accordingly (but not vice versa). > + > +If the ``macpair`` option is given, then the MAC address of the kernel > +interface is initially set to a different random MAC address and it is no > +longer altered by dpdk. This allows to view the two interfaces as separate > +connected interfaces, similar to linux's veth pair interfaces. For instance, > +you can configure an IP address on the kernel interface with the ``ip`` command > +in the same subnet as the one used in dpdk and use it as next gateway. > + > +The ``macpair`` options is incompatible with the ``remote`` option (see above). > + > I can see 'macpair' is coming from "veth pair" above, but I don't think it is very explanatory in the context of tap. Do you have any more suggestion? Another concern is how to test this, tap PMD got multiple arguments now, and as the pmd keeps getting more updates and features, how can we sure this devarg usecase is not broken?