Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp879884lqd; Wed, 24 Apr 2024 22:17:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVsKZmtS4tRWINopw9dD7YJvJnY5N+Ooo7VdGbG+PB9ao01g492RYOnXZaCwi9iWVNmsGDu7aGOdJeL6ajbwTXCJybSjbNrW3eSNIXrcg== X-Google-Smtp-Source: AGHT+IFSLHDgBVet+n/qtXkintwr2KzjY1VE385B5oGkJrvmuxdT8YJrwCBvf+YhnFoleU8D3Zep X-Received: by 2002:a05:6358:7b91:b0:18d:715e:1e17 with SMTP id n17-20020a0563587b9100b0018d715e1e17mr4306847rwg.2.1714022259362; Wed, 24 Apr 2024 22:17:39 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j33-20020a635521000000b00608f63aee25si1084431pgb.46.2024.04.24.22.17.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 22:17:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=selector1 header.b=MktUHUxp; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-158015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158015-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BF985285E2F for ; Thu, 25 Apr 2024 05:11:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3093C3B289; Thu, 25 Apr 2024 05:11:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=marvell.com header.i=@marvell.com header.b="MktUHUxp" Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DA2823CE; Thu, 25 Apr 2024 05:11:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=67.231.148.174 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714021900; cv=fail; b=lbgMm4haFZUUQKIIdKcoowgyfOGhT9FoFm6itOXMv5GaQkspKpJ4Hnt2pjNXQlJcGRgDZyFFlRYYJ0eUHDcJAm/rdW5I2W7Y4kNhm/jnZcqFBMO+TfF6e59TSZpQRCa0Uo7ybOOn3D67vipdt5/V7+flzTKZt1j8mZBxenUBnUM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714021900; c=relaxed/simple; bh=NkAla3AsBELsFKv7IBgm3x2NExapi5k8cOvCpeNozSQ=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=MSW29By2F+W/bWsgqJs5ZLAgc8Z52u30DBdsp7+7tj7Qrcf9nJqNqrp3CNEmhjHJGM3fZ33XylPN2KMOlZLv750pxvzlyvCNs33z4uqHIRc2/pnGyitmpI4eNTpJrjw2fLPQy3sS7m4V0HjYqocfAuRCdY8ajX6xNs+30p+ZZFI= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com; spf=pass smtp.mailfrom=marvell.com; dkim=pass (1024-bit key) header.d=marvell.com header.i=@marvell.com header.b=MktUHUxp; arc=fail smtp.client-ip=67.231.148.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43P21hwW031357; Wed, 24 Apr 2024 22:11:25 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2041.outbound.protection.outlook.com [104.47.74.41]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3xq284bard-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Apr 2024 22:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EHwGq1/A5Tj1Y+bzWE7SuscKbDheDCaN30F4nN0lDtp82rO7bcW/+3ttxyr2RzL/z7ur8NXAQvDXet94rxFr/18COmS88z4RtBnYejMNLhvqd5pIxqjh7MzVuBIygTk/C76nQeuObpW2gBDWz92VtdTfnNrGPAUEGFMhV6GHLCwiAHzPkbriOKK2SZvrJy5VmtZOTF5o44p5I2+YNcBnAu7G7FWG5z92RkWYiqTiGVjiWcWkNl/DYu4NPCbutFvMDII9kgxQxGv5gRYslF3zE6PrtSJVVRzFBDEv5BvUiqgt7AQowLwXyjQEbPPhuzwZnA4BimGLAXo4VME/ikFdzw== 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=I9Dp1BFQZ+Te02XBGH/v425mUbkQonkhoL/QnhLhzFE=; b=COPhnqtuimLxKd+AW0OJ7nZnbU2vePteh2uY9mXT88yLpX81Ltwhj0qFhwDGoJUSwQyoTEZ3Z6tJbflAJ++8QqdGYPo68kexI10Cb/7r0VkF66bzDTVZVpwr+KxiiuJs2W0dZ+af0iNGdvjGpVYHc6qm41BCnrxmDufrIYWu4rAPwdLp7UZIkP04gpfVfW0p9DZBOnOtkBoe4YrOmsZR4b0u4+ZT5oIHH+6RhbRxQGzA2WV6XuBaM/6M0j2GWB0PiOJ7vRNqLljKgZtQFyjUtSJeowzTHSQAN9/5JrINVfrYfnTQPWS+vehNyo7iKWPT9jPlhHvB8QO16immQC/AJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I9Dp1BFQZ+Te02XBGH/v425mUbkQonkhoL/QnhLhzFE=; b=MktUHUxpgOUtZ1fvwvgrGCTuhim0JAdEPO2xhyDq8ZfsGJzZOObVqryWaeKf5EuJabXh8FEXUpnV9dJtehhTAn6o2PVkDBSMezNUjbdhBZHXS9jfu7nP2O4dB83nPFDgl/lg5XvEnv1/rYBHzaJS2T9jvPPrmViaIFrVouCTBrQ= Received: from CH0PR18MB4339.namprd18.prod.outlook.com (2603:10b6:610:d2::17) by DM8PR18MB4424.namprd18.prod.outlook.com (2603:10b6:8:39::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Thu, 25 Apr 2024 05:11:22 +0000 Received: from CH0PR18MB4339.namprd18.prod.outlook.com ([fe80::61a0:b58d:907c:16af]) by CH0PR18MB4339.namprd18.prod.outlook.com ([fe80::61a0:b58d:907c:16af%5]) with mapi id 15.20.7472.044; Thu, 25 Apr 2024 05:11:22 +0000 From: Geethasowjanya Akula To: Jiri Pirko CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kuba@kernel.org" , "davem@davemloft.net" , "pabeni@redhat.com" , "edumazet@google.com" , Sunil Kovvuri Goutham , Subbaraya Sundeep Bhatta , Hariprasad Kelam Subject: RE: [EXTERNAL] Re: [net-next PATCH v2 7/9] octeontx2-pf: Add support to sync link state between representor and VFs Thread-Topic: [EXTERNAL] Re: [net-next PATCH v2 7/9] octeontx2-pf: Add support to sync link state between representor and VFs Thread-Index: AQHalJsVB1fMpBcrLE6y6oPYaOQD67F11OkAgAAswtCAAYApgIAA8oPg Date: Thu, 25 Apr 2024 05:11:22 +0000 Message-ID: References: <20240422095401.14245-1-gakula@marvell.com> <20240422095401.14245-8-gakula@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH0PR18MB4339:EE_|DM8PR18MB4424:EE_ x-ms-office365-filtering-correlation-id: d242269a-20ce-4a1c-e2e8-08dc64e625e4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: =?us-ascii?Q?KamvEpcoXbyOcV/Pw7/xQ4Z/i9ruqJ9siuWEQB/P73buCL2XD4QZAYf3Ss69?= =?us-ascii?Q?h8QxofuhClUkmJma58Y2+g27oilTUNmKjqzagR0OnXzx2Iyv1U7QbtBDQrdU?= =?us-ascii?Q?/wkPZ2ENvzG67Nxa3d0ekRtmVwoZyrNVViTL8Gw50m9YVtNqpUG7iWhMRtWc?= =?us-ascii?Q?jdTO60TAGsKP00f5NsmQMLLJ7OGsrchrXa/vzi2SnAadSP7Wqy4vFiED89a6?= =?us-ascii?Q?vt65jvZSsD+DJp8s/8sI5q30VtYjeMwRNxs+7/OSWBkyKGcFbLo5mEMKmKRC?= =?us-ascii?Q?oTUgMZnpYf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-ascii?Q?5PgozeC46y4XG/jAJyEpYEem6WTdHEOfu5FK1mGzVhe1VQ0vvz09uf2yqwjT?= =?us-ascii?Q?qzstfjTJ6DmXY0SsWdftR70hiBx9O5lOE7h7u8Wj8jAfHWLDSAMItYcffouA?= =?us-ascii?Q?iF6tJ+tx4RsNtLE9AOFCvSAfaY3TSjfTEuGaspJ+S/A5oQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR18MB4339.namprd18.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?f2Nepk1YTbIrRO+t3DXQjM/HnVwE/hS5wQcEi0oVbPWv5oa+shacVVn9Q2p3?= =?us-ascii?Q?tcK6hCIaZBR6n4kJfIVGv7HfhkLHqZL1ZGcqUC40moWEHB1iJGXyqn7MnRbS?= =?us-ascii?Q?HPR5DnLTb+0pTbKHNh1k8qKmL/Vw/49l3e0rHW/BtPVCgGAlASLwyLNK+jTX?= =?us-ascii?Q?7h2Q4xrIgMRWbZFpwO4VVzofjBjh8DBB93xGxv6w4xetR9C2ymslRVnAVmYr?= =?us-ascii?Q?HKhFdYOAdtF/6y6eoBI12kLvyC/OBzxYLFC4yCHMeVP4ke8/1Y1smVsPy6Tc?= =?us-ascii?Q?QKQuKIjp728j+ylaZR4PR7fc6eba/SnU59oEv+urzs25BpW3QxE9nfCpYiqB?= =?us-ascii?Q?bnrFJQASCQyOB1ZSn4M4dkaEy2Y+rR0FgMnQJIoKfWSYWvoTVpaOk8Du9owI?= =?us-ascii?Q?L01uh0XesztgFXGCkORrLlSNF5Ui1TchRtCigFnaUZ5aV5dLc3V1GOH7tjCM?= =?us-ascii?Q?O4bsrvIxRdNyHFKicklFzmbL7zY0S3md1nM5b5CCNfHq1jnv7C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nnnw1T2PsCNulY24aCIgdxLvnUKmTPUATBEo3/VL?= =?us-ascii?Q?tA2PsWXiLcz9SC70tVqcE9W7MzT6zaaEgRosU9iX+XdfnvN0ZCmRfiNb5gHM?= =?us-ascii?Q?p3ax6iIMTR0U9PTHZ3HckK7SNtH0Yiz/SAJluLVmxSdvZk1qqDGOR/uF0LmU?= =?us-ascii?Q?O9dqcyFm4MRvI688IBw=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR18MB4339.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d242269a-20ce-4a1c-e2e8-08dc64e625e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2024 05:11:22.0240 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wrF7VB1uG44wjYDEfv3h5s0PWrfG3MgLpbM5ot0zXBTEqD+VNtC7asjI5YZIurjg501IR0UNUQ4ftFQy/i2Ccg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR18MB4424 X-Proofpoint-GUID: k1x6ZXk_RldlDoHW5yLLZPzJgSLYMn7A X-Proofpoint-ORIG-GUID: k1x6ZXk_RldlDoHW5yLLZPzJgSLYMn7A X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-25_04,2024-04-24_01,2023-05-22_02 > -----Original Message----- > From: Jiri Pirko > Sent: Wednesday, April 24, 2024 8:12 PM > To: Geethasowjanya Akula > Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org; kuba@kernel.org= ; > davem@davemloft.net; pabeni@redhat.com; edumazet@google.com; Sunil > Kovvuri Goutham ; Subbaraya Sundeep Bhatta > ; Hariprasad Kelam > Subject: Re: [EXTERNAL] Re: [net-next PATCH v2 7/9] octeontx2-pf: Add > support to sync link state between representor and VFs >=20 > Tue, Apr 23, 2024 at 06:09:02PM CEST, gakula@marvell.com wrote: > > > > > >> -----Original Message----- > >> From: Jiri Pirko > >> Sent: Tuesday, April 23, 2024 6:37 PM > >> To: Geethasowjanya Akula > >> Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org; > >> kuba@kernel.org; davem@davemloft.net; pabeni@redhat.com; > >> edumazet@google.com; Sunil Kovvuri Goutham > ; > >> Subbaraya Sundeep Bhatta ; Hariprasad Kelam > >> > >> Subject: [EXTERNAL] Re: [net-next PATCH v2 7/9] octeontx2-pf: Add > >> support to sync link state between representor and VFs > >> > >> Prioritize security for external emails: Confirm sender and content > >> safety before clicking links or opening attachments > >> > >> --------------------------------------------------------------------- > >> - Mon, Apr 22, 2024 at 11:53:59AM CEST, gakula@marvell.com wrote: > >> >Implements mbox function to sync the link state between VFs and its > >> >representors. Same mbox is use to notify other updates like mtu etc. > >> > > >> >This patch enables > >> >- Reflecting the link state of representor based on the VF state and > >> >link state of VF based on representor. > >> > >> Could you please elaborate a bit more how exactly this behaves? > >> Examples would help. > >> > >We patch implement the below requirement mentioned the representors > documentation. > >Eg: ip link set r0p1 up/down will disable carrier on/off of the corresp= onding > representee(eth0) interface. > > > > > >" > >The representee's link state is controlled through the representor. Sett= ing the > representor administratively UP or DOWN should cause carrier ON or OFF at > the representee. >=20 > Put these into patch description please. Sure. Will rewrite commit message with commands and its output in next vers= ion. >=20 > >" > > > >> > >> >- On VF interface up/down a notification is sent via mbox to > >> >representor > >> > to update the link state. > >> >- On representor interafce up/down will cause the link state update o= f VF. > >> >