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 35C8F42857; Tue, 28 Mar 2023 16:03:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6E9D40EDF; Tue, 28 Mar 2023 16:03:16 +0200 (CEST) Received: from mx.us.email-out.fireeyecloud.com (mta-a6b801.us.email-out.fireeyecloud.com [100.25.99.115]) by mails.dpdk.org (Postfix) with ESMTP id 6D68240156 for ; Tue, 28 Mar 2023 10:51:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fireeye.com; s=dkim-s202012; t=1679993519; i=@fireeye.com; bh=ifWrc17WnoPx27GgJE9FfTT6FKarKdYDlmL1ieFHeJY=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=Ey0DnsIq0udyQLv4E82lCe2YIiOW1BMPf3BlUaSi/sXZnKKh6xG/75SuH8jBNeiRG LVuCfMhwKrT5H86hvoLT10Ocs7RjDRkVEzBJKVTUHTSX7gbPvJBKioNW0Hpd+rMOca +5gMb7tGrFkSThwDnmGWGhu4r6B8JXlIBeB1Xov5v7Gi2F2pjp8kNkO/4KD1uf2o5I HGKuA19O4RobGmd/32qI+104i/hWMjxEsK7aNiu8DrYvrevB9KuRYlya+wxrvaAub2 QJcWitZvi7I8bVGKf6j1CjqxHR/sM997wQo1KlGpTxzITPzMv7laB5eIFtTqgYjcHl RElXyUQQMOgdw== Received: from [10.88.184.223] ([10.88.184.223:28468] helo=smtp-injection-worker) by prd09-use1-02 (envelope-from ) (ecelerity 4.3.1.999 r(:)) with ESMTPS (cipher=ECDHE-RSA-AES128-GCM-SHA256) id E6/E6-29424-EAAA2246; Tue, 28 Mar 2023 08:51:59 +0000 X-FE-ETP-SENDER-IP: 104.47.58.108 X-FE-ETP-CONNECTING-IP: 104.47.58.108 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by prd08-usw2-01 (envelope-from ) FireEye ETP with ESMTPS (cipher=ECDHE-RSA-AES256-GCM-SHA384) id 3yP1WSL-0-08465F29607CAAA2246dce00391; batch_id 46/5F-29607-CAAA2246; Tue, 28 Mar 2023 08:51:56 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F8yto9nu4Hs1Wm50GmwTNc2j3D8PyFbuJQBMFtq3zVUJ9wAK+KMmcxU/fCTFWpjAjpdkw2WKOD7ff4BSJ9IlnJ/SIxttnLNSPf4xoSawPKvvrjG8YGExrjp6JzdBA4jQiBywvkb8JWIWSqNp2PEQDiJ5izvnq9f8/b45mR5NzM2inN93t+Lh5yhePXICcIZqysBxvDNQghDmg1eK/20g3m+aaOA0JvpdIkrjjX5hAjHaAdy0n0BtJUrm0xTIJgAW8LsxhZrF12hJMY4Yt5XeIEcZAbeaPPB0NYzHShQHKXgh+cbz0d7rfpaLs7YrPTLhQXajc0uEWtN0dT3+Jd9YVw== 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=ifWrc17WnoPx27GgJE9FfTT6FKarKdYDlmL1ieFHeJY=; b=FTYeszMDnO6619l5hmHa6pxWVWQlmrA25aHqvvXkld2C8ZYYzkytcQXULy5PeaAfaZV9u4MHBvukot06IT7esUaKDnsjeC6MFQsgj7qA4x+t9V6wdss8c/YfZ0x/gNgrcRtBQTjTzVTzvi0NkCbF97Cu8Ski45pTCDcGAn3ssdUJo0xClEI9bucrQg629vyG2RoO3jjpBXNE1pz/BbLZGMyUgLmnqdRAKNRoxhDXbg1w6+MowRFlUI6kSHDcoUpBy+W28E5CnNM8rvt885W5CEMl/7QhGyKb8XXhwOZGFXoOMTSdWlFDAodLLseVNE5RbDQi6tzVOBWGtKfujl07ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=idirect.net; dmarc=pass action=none header.from=idirect.net; dkim=pass header.d=idirect.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vtidirect.onmicrosoft.com; s=selector2-vtidirect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ifWrc17WnoPx27GgJE9FfTT6FKarKdYDlmL1ieFHeJY=; b=LOcZmTmn/2L/ejvsqGPmwdwViJH7Np6EKlqX8xud7Sw5nfx2jhCRmzWq+Lzb4jv+V1Lmq4lSd2dvgG7bzR/3wK+7qsnOyTQ4B3Y8QfKdHndyi7JQdLgyyPg9H6ps+zliXB9MpbonRrYt4GjS9eXwOaPmFQZFa5UxFwd17jLICPk= Received: from SN7PR22MB4027.namprd22.prod.outlook.com (2603:10b6:806:2e5::16) by SN4PR22MB3302.namprd22.prod.outlook.com (2603:10b6:806:216::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.30; Tue, 28 Mar 2023 08:51:54 +0000 Received: from SN7PR22MB4027.namprd22.prod.outlook.com ([fe80::d12c:7b13:6e01:305c]) by SN7PR22MB4027.namprd22.prod.outlook.com ([fe80::d12c:7b13:6e01:305c%8]) with mapi id 15.20.6178.041; Tue, 28 Mar 2023 08:51:54 +0000 From: "Paulraj, Bharath" To: "dev@dpdk.org" CC: "Kumar, Rohit" , "Eyrich, Michael" Subject: Link Bonding of VFs and PF admin down Thread-Topic: Link Bonding of VFs and PF admin down Thread-Index: AQHZYU/i/Es+cCHha0iQErSEz0z15g== Date: Tue, 28 Mar 2023 08:51:54 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=idirect.net; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR22MB4027:EE_|SN4PR22MB3302:EE_ x-ms-office365-filtering-correlation-id: 3a094bb5-9d67-4707-93f4-08db2f69ae60 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VJfK2TDk+u9xNXdHZ0FamnHnKSrjOcOuw2N+KmSmbkkY/YN1VAOpCvzokkzYDDGAX+0OrNhB0oblzroYyKExuf9j9vZ3qWrNkvcFJJK+g5CWR2uAyrsXv2BlG63c1l1geHhAJmDp9atgHcdDRSTMWdWWgajyJEqbRp4hwgfhYFqnQchhR5XObPV3kpA/B0jSdwwwhcXhQRyd6xHhjtkJSQu6bJdfNz6UXw+eqph/mH6XyQCguZn03rv1PocoTXLCtB4YKOmTqsStjML6FnHVF/8Lpid8hE49l+WUGPy0Ay1W9fDJvMWLjf8aBxw9EAKc0jWDWk0H21GlOUjq2yC/RI+3Quqa68ISuEP+DxdUy8j1RsY14l1oqdXwMzhaBb/mSWA6Z2Sf7M5bdJNFUce96e9INbs5mFg9f0bgCaNXyG3co83xU8qQfIe5HZNj40GxY1kIN7Ehl7CmJufOX8BWLos5zuKino9eYe+kAJqQpZjWTVZufT8ydiV+lGi4tUpKl+HVWUC6t9xhuZojOti5ECKru1w66O719+gIaFhGSPA5bMFOCcKAUTqnhO4cw//9dCa1iU+k85dYFN9ljZcoiSt7EA9SSTADGesJzxyQd8Y= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR22MB4027.namprd22.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(366004)(346002)(39850400004)(376002)(396003)(451199021)(6506007)(9686003)(41300700001)(186003)(55016003)(107886003)(7696005)(966005)(71200400001)(66574015)(19627405001)(83380400001)(478600001)(54906003)(316002)(66476007)(8676002)(4326008)(66446008)(33656002)(2906002)(38100700002)(76116006)(6916009)(64756008)(66556008)(66946007)(91956017)(52536014)(38070700005)(5660300002)(86362001)(8936002)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Q4mF0/vxOr/pAPOsDEZ+m/SKHqbVeczsqjt+Rl7r+774SaqnkZj+WlJuuZ?= =?iso-8859-1?Q?slYmtfSbv+1vGvwuUBj54J81g0LB/FlzYi+GjzI4tXZ4idj6Hb5Qj3mP5G?= =?iso-8859-1?Q?Zx5FKFot7F+rF/Jfd0oJdNOGyIsRd+V7U7GcgLtx8h+ieHvZjsc5gvlTEC?= =?iso-8859-1?Q?8GI+wTMMMZ8m+MpcmoGELvD2fjJ62AJlVPLYahmYF/usJE6iLqMjPJwCer?= =?iso-8859-1?Q?LFppeAwJr3ofsLZ1xWAvvWsR9zZBBi0IUY+vzyQA3KOcas9Yh5erTQJmmJ?= =?iso-8859-1?Q?SGe1L32Ny0jIa24ZHQOOn+M4i1aqUFsLDTkpim7fbGqVEXFYoQpLH5BM6H?= =?iso-8859-1?Q?d6SEPLMzf403q4sFqNnORJk2dZmsJMsgGinxKHsno6GPR8jxxSAG7jsHJS?= =?iso-8859-1?Q?JHfrp+mXW+3f1yBXCDtfnc4saBIRSzASDR+RWzL4Vy68rLezR8IlIdwUIx?= =?iso-8859-1?Q?Iij4DK7Se0YIiSs6vVCKtLn7Cs5paeQvH0WcJLhng+Xbvh6EHlT3cn85vD?= =?iso-8859-1?Q?VL93SaMG7/hRUH5bYK0wuG6XE/CQAnFUgPuC4BG6nL0R77CsG+y3A7kGnH?= =?iso-8859-1?Q?Z869D26P/F5oHeUG/QwnP72QA5JsvOc6BZqiCVY+pnHvMLpznyUivmpfVT?= =?iso-8859-1?Q?soYWjfcQk4DZNq+n44rskLHucayHGGL+1YWjkR2YOZ3bjsUsjV3TP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asRXl9e2rcfoPzGUui5de6bKTOLof1uDO7t+JChqEVf?= =?iso-8859-1?Q?KG6oQwrOPPZf3Kzrh+1o5LlmBuwXwjWSnRif7Ahfe//TXX/qSICQvKxV+e?= =?iso-8859-1?Q?BOU/AZJ8YepaliP40oH5Jw7W1550FEZ9w3aFZtCY?= Content-Type: multipart/alternative; boundary="_000_SN7PR22MB402752FC1DA530B115A80DA2DC889SN7PR22MB4027namp_" MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: dKymU0Dde+HbUzCfmW9NMtf1RmUCohpAf/AhSgAthzQffksrkn2XIx0fobi0xQzc5dPrVFOuIVEWRJ24JVCfVTc9JP7NQg6SGV/FOD/PNjD1u6M9P6qbn/9u+4wJsPr1vsRv5MU5czaPw/tJTaphPARmCCQHZDzweZiJuGydU92IpZNiKDz/rnR2ZXhYfHKeokAHax8knDkLlT6YR6530pHjHBZx77wn6Y1DgwIFHThMk/XkkaOXd1CuBlmD99kurK58k+IMxGftzoxYKj2BjUgldqIp6hp5twMdC79munzMKUfCVnpjkUVFEKcx34HFcG8BbS+QGROwrrK75Lu4vdbc3uDpX422lwwiLg0Js5/4IHxTWS5WuZCy6WgcAPo6yOHxGDG0Qxblk6/QPksR024CPWmswR42Xm6iIOr+1wV9N7ukSVaJb1UnAz+A0JbCE7AoyCgf3R67dPo1SP8vqWk15M3uHUb8/ahd/EKThyfrjakpTEZXCjAGiuyT4g1UEVkQIVKtd+LcTtl78roDhVLU/BrC+DRtjdmO6qwsOiRRrZ9bO8cUwHlCmym1QIYZU8E/VINtKyfJ43Ma1q+ph4uKoKiW5tJu5CbqXNGNuaeoC+NaafWm6RP7m0t7lmbTdZEBB8wRww7h7v8tDOn/nfS86BN3B/5YzyAhRD3SfwZQVThxyVKdjNDfNccC7eLYaKzV1yc7APoFLlj6N4ctvmz5pyP8tV5Trx696/uANOybRR6yLw7z69HH1IVUzQ86 X-OriginatorOrg: idirect.net X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR22MB4027.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a094bb5-9d67-4707-93f4-08db2f69ae60 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2023 08:51:54.6381 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6bf0cd58-ceef-4562-b1b7-c1602ea60d67 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Xal/vYK9G0aT5C2SKEU+p51Utj2zvlDvjJo9w73ffTO5kgDnEtbdOP5ItmMTjyrSe0yqrh3DHHNvfLYBj4C0ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR22MB3302 X-FE-ETP-METADATA: eyAidGlkIjogIjN5UDFXU0wtMC0wODQ2NUYyOTYwN0NBQUEyMjQ2ZGNlMDAzOTEiLCAiYWNjZXB0 ZWRfdGltZXN0YW1wIjogIjIwMjMwMzI4MDg1MTU2IiwgImFjY2VwdGVkX3RpbWVzdGFtcF9lcG9j aCI6ICIxNjc5OTkzNTE2IiwgImRvbWFpbl9uYW1lIjogImlkaXJlY3QubmV0IiwgImF0dF9jb3Vu dCI6IC0yLCAic3JjX2lwIjogIjEwNC40Ny41OC4xMDgiIH0= X-Mailman-Approved-At: Tue, 28 Mar 2023 16:03:15 +0200 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 --_000_SN7PR22MB402752FC1DA530B115A80DA2DC889SN7PR22MB4027namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Team, I have two X710 NICs in the hypervisor and created the VFs on those NICs. P= F is managed by the Linux kernel, while the VF is managed by DPDK. I am usi= ng the "test-pmd" application to test the bonding functionality, especially= ACTIVE-BACKUP mode. I have created the bond interface and added the slaves in such a way that t= he one VFs from each of the PF is added to the bond interface. The goal is = to achieve uninterrupted traffic flow even when one of the PF is down. As part of my testing, I made one of the PF admin down using the command "i= p link set down". Even after waiting for a few minutes, the lin= k status is not propagated to the VF, and the link bonding still takes the = PF which is down as the primary slave and tries to send the packet out of t= hat interface. While debugging I found out that the link status of VF is still up. Is this= the expected behaviour? As per the link: https://www.intel.in/content/www/= in/en/support/articles/000036776/ethernet-products.html it is the expected = behaviour. It may work well if the use case is VF-to-VF communication. But = if the use case is to communicate to the other system - (Switch/Routers), t= hen this behaviour will break the link bonding functionality. My use case: PF is managed by Linux kernel is connected to the external Ro= uter, VF is added to the VM, and the DPDK application is supposed to send/r= ead the packet from the VF. Let me know your thoughts. Thanks, Bharath This electronic message and any files transmitted with it contains informat= ion from ST Engineering iDirect, which may be privileged, proprietary and/o= r confidential. It is intended solely for the use of the individual or enti= ty to whom they are addressed. If you are not the original recipient or the= person responsible for delivering the email to the intended recipient, be = advised that you have received this email in error, and that any use, disse= mination, forwarding, printing, or copying of this email is strictly prohib= ited. If you received this email in error, please delete it and immediately= notify the sender. --_000_SN7PR22MB402752FC1DA530B115A80DA2DC889SN7PR22MB4027namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Team,

I have two X710 NICs in the hypervisor and created the VFs on those NI= Cs. PF is managed by the Linux kernel, while the VF is managed by DPDK. I a= m using the "test-pmd" application to test the bonding functional= ity, especially ACTIVE-BACKUP mode.
I have created the bond interface and added the slaves in such a way t= hat the one VFs from each of the PF is added to the bond interface. The goa= l is to achieve uninterrupted traffic flow even when one of the PF is down.=
As part of my testing, I made one of the PF admin down using the comma= nd "ip link set <interface> down". Even after waiting for a= few minutes, the link status is not propagated to the VF, and the link bon= ding still takes the PF which is down as the primary slave and tries to send the packet out of that interface.

While debugging I found out that the link status of VF is still up. Is= this the expected behaviour? As per the link: https://www.intel.in/content= /www/in/en/support/articles/000036776/ethernet-products.html it is the expe= cted behaviour. It may work well if the use case is VF-to-VF communication. But if the use case is to commu= nicate to the other system - (Switch/Routers), then this behaviour will bre= ak the link bonding functionality.

My use case:  PF is managed by Linux kernel is connected to the e= xternal Router, VF is added to the VM, and the DPDK application is supposed= to send/read the packet from the VF.


Let me know your thoughts.

Thanks,
Bharath
This electronic message and any files transmitted with it contains informat= ion from ST Engineering iDirect, which may be privileged, proprietary and/o= r confidential. It is intended solely for the use of the individual or enti= ty to whom they are addressed. If you are not the original recipient or the person responsible for deliverin= g the email to the intended recipient, be advised that you have received th= is email in error, and that any use, dissemination, forwarding, printing, o= r copying of this email is strictly prohibited. If you received this email in error, please delete it and imme= diately notify the sender. --_000_SN7PR22MB402752FC1DA530B115A80DA2DC889SN7PR22MB4027namp_--