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 BB77B45830; Fri, 23 Aug 2024 09:36:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D18BC43248; Fri, 23 Aug 2024 09:36:04 +0200 (CEST) Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012069.outbound.protection.outlook.com [52.101.66.69]) by mails.dpdk.org (Postfix) with ESMTP id 5CE0E43249 for ; Fri, 23 Aug 2024 09:36:02 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tG63Sb1w1tcdg0Flt/htbnev2qk5sddV95Hlk6G0+G8WU/tIuFS3c1wPE8Xehb895m2HPO7dSYJJiCeIIGQqw995pydtsQ+dEHJCCOIRdB42rS/UEbtYFkl6N+WdyrSB0CDAYqjMKgsb9FW55ayUEfhxR8YJtDGA8xim+3Xew9rp8KL1MXZ3WZloLuqyLv8wDjxx5b8XGXwdpKJxeuDZst8Np+mnW2QbolOlaYFeMVOOi1RBzhBNjJR9ou6B39hDs9cJAHr3bw5D3YzS6cE9WAya+1J1WW5G9tuzSdmuYBainuDEDeke/7a6dJU1QcYawS+9oP/rYcEbifCapbYwDQ== 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=N5H8t+kjXW1vNYRnMepqy3Jr/6lEZaiHzY+/TS0yZMs=; b=ZO1WZYzJac8FBFPzU/WdZXDKA7cqveh3lsCxC5WlAOL8XCALM6SSpHeGBxH9uaBfOgl1jVlpuIYBKDgro8vgMrNCKenQoL6CVLVsTrpkxJuoPpQURdTsFnoJaH4ThQV8SHbMJMsurueoK0drG4z79lcFCPORLLM2kw/zUzxstzxlLfrg4UvaKI+Vkkhj4X0cKBZtMAtLhwC6LpKYu7Z2pOckeCWKjBESfFLyWO/njVnX4F95FnsIwr1C3+l5o774tPaUyyjjUkbHerj++tpP7BTQPDlFLy5hEod7uD0buHd+xQ5kUUGYtracDmCqrQ247Ar/Z7sjHvW8oVYYjXAG7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N5H8t+kjXW1vNYRnMepqy3Jr/6lEZaiHzY+/TS0yZMs=; b=xMrzknULSYacMo5QtH1f+3odRJqqITxXKqzQLSsrE+rP1XQLd3CTzWmx9iXuG7I2yUvkJpvV3p91S0JrS9sd6Yn0pUFrMmjMv9Q8tHRBs3rhX3xHe4BG10cWAgFgx2+A3kx9aCzxiZmMx3cvRH+SUSD95cQRU8t7OqqycYPMG2iR/qDbhJz9JYkjVJV8L0avS/UZsCoAVIFGEWDDGn85DshXa1CH9GAyfPqDLZoB+ZGL9ABYHcX/B1PlsKL3rwOV4Z9oQDR/uePSI8NM3i/A0YonjnXUMRGFiVxYOB7Sc41GeLEKuyeBZPGJg5HI7an9M8ssXqF4Sslr+q+krz7Mfg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) by AS5PR04MB9755.eurprd04.prod.outlook.com (2603:10a6:20b:650::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.22; Fri, 23 Aug 2024 07:36:01 +0000 Received: from PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::367:d59:375:fb87]) by PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::367:d59:375:fb87%3]) with mapi id 15.20.7875.019; Fri, 23 Aug 2024 07:36:01 +0000 Message-ID: <07531766-dab7-45c9-b086-64fd5b6d9bf1@oss.nxp.com> Date: Fri, 23 Aug 2024 13:05:54 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 14/17] bus/dpaa: add OH port mode for dpaa eth Content-Language: en-US To: Ferruh Yigit , Hemant Agrawal , dev@dpdk.org Cc: Rohit Raj References: <20240801105313.630280-1-hemant.agrawal@nxp.com> <20240801105313.630280-15-hemant.agrawal@nxp.com> <548ccc15-30ec-40e5-80c5-9427c55dd8d1@amd.com> From: Hemant Agrawal In-Reply-To: <548ccc15-30ec-40e5-80c5-9427c55dd8d1@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2PR02CA0026.apcprd02.prod.outlook.com (2603:1096:4:195::19) To PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|AS5PR04MB9755:EE_ X-MS-Office365-Filtering-Correlation-Id: b85256ba-6650-43bb-f1b9-08dcc3463c52 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?bldpbEJJNnFkZFRSNXRwRTc4Y1l5UTNhbWRDQVlEbXRJeE1EOWRTYWxMb09p?= =?utf-8?B?ejc4Mj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am-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9328.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eVBpcENaWVdVc3pVWWdaa1BYaXRPcitxaXlzemZGMEIzK1VSOS91MVlxcXRS?= =?utf-8?B?cEFzOFdyKzhTUXBnSnFiVWtOYnUzWVRYMnhRNTVUK3BCS1VzbUZoMU9NWHps?= =?utf-8?B?L21aa2JQcGVhRjBYaUN4SGlCY0RIVEFMbmp0Nk41SHREcnZvMU9ubDlzTWlE?= =?utf-8?B?TlovbkNQRU10MVBUVnZydVZHOFpzOEhPdTJqQksrLy9LcExhUmRjMURTckNM?= =?utf-8?B?WlI4TlFYZ3FPcExyRERMakNpYTRYeFkzNGM4VWwrZnBwNGdSV0xxSGloQmEr?= =?utf-8?B?K2hXeTgxeGRzZWVlaFNlb2plVUFlTzFsSFpyS1gydE96a2I4aEFYOVdSVXgx?= =?utf-8?B?dTNLUGZDNjFtNTRVUjdWQ3dDdHNjT0dZcEEraHJBTkt0cTJ1bHoxTkRmditI?= =?utf-8?B?cDU1S1pHMGV1dEcyUjUvWjlsL3VVNXJ0elduakNKb0RYcndyWVRlYVd6aXNE?= =?utf-8?B?N1d1T2VhWHFaMm5mZk1iaEJFNDg1WU1malFoZTB4MXM2UDk2b2phVTFOVjA2?= =?utf-8?B?WXhCa3l2NERuY0piN2ZZb0twZ01sNlZQVDVDZDBSMDZadnhjbGJZb2RBekpx?= =?utf-8?B?N0hLTmdBV0ZNNGF3TFoySXJBeHlFRmJtTHcxaFRjK3hvQXRmKzluUUtoRXpC?= =?utf-8?B?cTdpR2d6dTJNNS9mSkdSU0I0bDFvTTJ1ZnQxM1Q5NkpPNWd0U2lEWWVvbW8y?= =?utf-8?B?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FdPMTlOeGk4?= =?utf-8?B?dVJvZzdOeGhscGtWWTZrY3pQbWhHN0U3emZvdnBRcHJrTmI1SWs5YkZsU09X?= =?utf-8?B?TG5ldTBaTUtsN2hmYnpnb3RQSVcxK1VYVWhGVUZoY1VnZE9uQXdvRVo5UGVu?= =?utf-8?B?WG94VFB5VWxPUVJ3VlcvRUIvZURYRG9xWXAxc043K0RNNWwyM0hqZWthSEdT?= =?utf-8?B?ZFBwUC95L1BmZUtCNEYxekljWlpkQnhRSW1RQ1BMdVVMUzNudjZHZ21qd3lR?= =?utf-8?B?RjQ1bU5EYjJNZllVQXRRZlpTaHlmdHBUQXJtcjgxUUJycXBKbzQvRGRrQnZ6?= =?utf-8?B?MmVVdjFUVU1FcTVaeWdsNXBralpYaGpsdUZCbG5wMGxoVjNFaXloa2RMVWE0?= =?utf-8?B?YlBmUXlqelJRVkdNNGRkNUFvZFRFRlNqRjZna09OY3RsSHJuYzM1Y0I0TlZP?= =?utf-8?B?Q0YxZlJaUmZwakRTQW03STJmdktxRHdiUU5KLzlWQTRUaTliN044czBiS2dD?= =?utf-8?B?Z1Fubi83UDdCTWgwSmlRc0svdEE3NEgwc2dqc2dVZVFzRExEeTVHWmdvL1I2?= =?utf-8?B?K0E9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b85256ba-6650-43bb-f1b9-08dcc3463c52 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 07:36:00.9501 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iNUuriAaIca7x1dOPRk0XcqUmOyZoWv/do3DPQ1Omp5hJIbaPY8K+iTUwx0bv6rE0rwWfJcy1Np7YXxdhFS7LQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9755 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 07-08-2024 21:10, Ferruh Yigit wrote: > On 8/1/2024 11:53 AM, Hemant Agrawal wrote: >> From: Rohit Raj >> >> NXP DPAA architecture supports the concept of DPAA >> port as Offline Port - meaning - not connected to an actual MAC. >> This is an virtual port to be used by application for exchanging data. >> > Is this for application sending some control messages to the device via > port? > Or is this a way for multiple application communicating with each other > with the help of this port? This is a  kind of hardware assisted IPC for exchanging data between the two applications or processing domains. We have added more comments and documentation for it. >> This property is completely driven by the device-tree. During the >> DPAA bus scan, based on the platform device properties as in >> device-tree, the port can be classified as OH port. >> >> This patch add support in the driver to use dpaa eth port >> in OH mode as well with DPDK applications. >> >> Signed-off-by: Rohit Raj