From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB890A04E8 for ; Fri, 29 Nov 2019 00:52:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DAD9B2B96; Fri, 29 Nov 2019 00:52:19 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10094.outbound.protection.outlook.com [40.107.1.94]) by dpdk.org (Postfix) with ESMTP id D629C5596 for ; Wed, 27 Nov 2019 12:38:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMKiZT1OTloNEI4V74wkdccOa2LB5/hYekM7InyYMqCKXCEaC5cS8wQsFMaQKOvrRM6rmSH1BNTg4UMitanXHXPQ9pLKwj0KloGRDWMdUNpXTeNl+fJH4m7rf3gFIY4qFuk2iXMbEsohdU/Rpt1tHdU+sAO07PnFcfi8nvuQe7mVxM5bhMVpTIoyvmBERDuNcNoB6lRLaE4QnPNfWzX5KnLwkvbJ47fzDmcnNBXuKqbjISzvz6AOMh6bAcKxOx/6ss+bdvzs/jvY7f7xSATVk5xkOLF5yMz9ds9JIpke0AspJMHA9GnNQZ5GP2nFc2trgkX8IjhyU46Z1O4VaTaF0A== 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-SenderADCheck; bh=isJWaPTnD6HsB8+cWnbQTUlU3ioZTjADn6q3WWnC/bg=; b=NGw5YNuOOaIx5+QDyAODLLitnN5vnSDn1Ltb8lIa4ieJ/sV85hEGcIC9PpL1IIIaf2mtxkCLgFYcRjpTb+otADoge6nprqfkq4mjIUj8mnIEdzdfL/s1843/Nl72XtxACZsEJHAemF6hVQi2vlIiH0+zQJel9shNUWMAPr9R3xiAChBf9jmsHJIj8IcLMtvbaMH5TnZtlWfjNKj08y4SGWgxnYKZei76nfV5DU730B00h/kQtNbK4/Vk4qMtMfskQAcZ82BKr8KJ+G6+1bwyQp4wZz8tZXpzIXCljpTFnQivZ0W1UVhXi2M7bPaBdsQd0GRr2ndi+RURcm2k2VVshA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=enea.com; dmarc=pass action=none header.from=enea.com; dkim=pass header.d=enea.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Enea.onmicrosoft.com; s=selector2-Enea-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=isJWaPTnD6HsB8+cWnbQTUlU3ioZTjADn6q3WWnC/bg=; b=Nik1MnLpOl4snLsrnjr8i1vRTPyRLTK7Z6c8Oh3TuFHXR5pqQ44RY90Wcnb8KLrNQQOPkPaHkS2lixXMPYa76ho4gqG1wLv7C+l25NelZsbcna+G+/Hd0VEB+MHx0hMxszd83bvEb9xLcbRlBXelHn4mdjbyREx/Wmg2C0uJidA= Received: from AM6PR03MB4840.eurprd03.prod.outlook.com (20.178.88.154) by AM6PR03MB3605.eurprd03.prod.outlook.com (52.134.114.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 27 Nov 2019 11:37:59 +0000 Received: from AM6PR03MB4840.eurprd03.prod.outlook.com ([fe80::549:4174:ea8:ba0d]) by AM6PR03MB4840.eurprd03.prod.outlook.com ([fe80::549:4174:ea8:ba0d%7]) with mapi id 15.20.2495.014; Wed, 27 Nov 2019 11:37:59 +0000 From: Greg O'Rawe To: "users@dpdk.org" Thread-Topic: Failover not working on X520 NIC with ixgbevf driver Thread-Index: AdWlFXABdVxf+4d5Q/OaRCZvGmwRTw== Date: Wed, 27 Nov 2019 11:37:59 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=greg.orawe@enea.com; x-originating-ip: [62.7.173.5] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5494d318-954b-42ae-7283-08d7732e4139 x-ms-traffictypediagnostic: AM6PR03MB3605: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 023495660C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(39850400004)(136003)(396003)(189003)(199004)(7736002)(1730700003)(81156014)(256004)(52536014)(71200400001)(2351001)(14444005)(81166006)(5660300002)(5024004)(478600001)(66446008)(8676002)(76116006)(66476007)(66556008)(66946007)(64756008)(6916009)(54896002)(9686003)(6436002)(55016002)(6306002)(5640700003)(14454004)(74316002)(33656002)(25786009)(71190400001)(66066001)(186003)(790700001)(6116002)(3846002)(99286004)(7696005)(102836004)(2906002)(86362001)(26005)(2501003)(316002)(6506007)(8936002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM6PR03MB3605; H:AM6PR03MB4840.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: enea.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gl9TLwkLxhdagQDQ2xK1nHsd7dQbDAIRod/W9Paaqd3vtqd4J1Qa6AIwOBorAZBhF0kaaOlfCXZV+ZSkZ6DvsnnM+k3hrdkkFikwviR/RHRjm5P1cjkfUJVLjCLhS03c9QwzEolilnBfeKDZzJKbQ17xotiF7586coAjVH78Fp6cN5GJlIfx/mpK3+aoVNoBi+ua1edZWSkqWdGN4co0xcB4s/Bal1hWgED2ZvElTvpwBtxuSc/ZgY/ylkqbP60EN5r+xMCpQipBXlS5MBRQg38vO2e4mMinegquZG9ruhrp3ilmDOtqq2Wrm9sjMs7W+2FEr0/jKhFX4KuwcjRYsjJn71CUgJewFwdtjiaapLjWhXXmDLckZLd6bpsOk7pxMcYdqCjsDFeuh2w2xepa4eomaC8zPTn7AVotXPYu460z220Yqo8NvHpad1PVfSlq MIME-Version: 1.0 X-OriginatorOrg: enea.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5494d318-954b-42ae-7283-08d7732e4139 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2019 11:37:59.4719 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8cdaed89-c47e-40b8-90b5-f28ad2c3fdca X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Yc9/4tr4GBd8krPp5d8o7dJvohDltmTcbvn/QMGvTPnldaLUxG6zUR++boar3fAw X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR03MB3605 X-Mailman-Approved-At: Fri, 29 Nov 2019 00:52:18 +0100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Failover not working on X520 NIC with ixgbevf driver X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" I have the following setup: * Virtual environment with Openstack with Intel X520 NIC * Hypervisor using ixgbe driver * Virtual machine using ixgbevf driver (version 4.6.1) on Red Hat L= inux 7.6 running VPP and DPDK 17.11.4 * VM interfaces are bonded in active-standby mode on ingress and eg= ress In normal state everything is fine, the bond interfaces are operational. Ho= wever when one of the physical interfaces on the hypervisor is brought down= then failover to the standby does not work. The second interface in each bond does become primary but original primary = is still reported as UP by VPP. The device stats reported by VPP change to = around maximum values and traffic no longer works through the bond interfac= es: Name Idx Link Hardware BondEthernet0 5 up Slave-Idx: 1 2 Ethernet address fa:16:3e:20:2c:ae Ethernet Bonding carrier up full duplex speed 1000 mtu 1500 Mode 1 rx queues 1, rx desc 1024, tx queues 1, tx desc 4096 cpu socket 0 tx frames ok 8589934243 tx bytes ok 137438924646 rx frames ok 8589849574 rx bytes ok 137433171720 extended stats: rx good packets 8589849574 tx good packets 8589934243 rx good bytes 137433171720 tx good bytes 137438924646 BondEthernet1 6 up Slave-Idx: 3 4 Ethernet address fa:16:3e:f2:3c:af Ethernet Bonding carrier up full duplex speed 1000 mtu 1500 Mode 1 rx queues 1, rx desc 1024, tx queues 1, tx desc 4096 cpu socket 0 tx frames ok 8589934273 tx bytes ok 137438926918 rx frames ok 8589849579 rx bytes ok 137433172132 extended stats: rx good packets 8589849579 tx good packets 8589934273 rx good bytes 137433172132 tx good bytes 137438926918 device_0/6/0 1 slave device_0/6/0 Ethernet address fa:16:3e:20:2c:ae Intel 82599 VF carrier up full duplex speed 1000 mtu 1500 Slave UP Slave State StandBy rx queues 1, rx desc 1024, tx queues 1, tx desc 4096 cpu socket 0 tx frames ok 4294966950 tx bytes ok 68719448136 rx frames ok 4294882284 rx bytes ok 68713695344 device_0/7/0 2 slave device_0/7/0 Ethernet address fa:16:3e:20:2c:ae Intel 82599 VF carrier up full duplex speed 1000 mtu 1500 Slave UP Slave State Primary rx queues 1, rx desc 1024, tx queues 1, tx desc 4096 cpu socket 0 tx frames ok 4294967293 tx bytes ok 68719476510 rx frames ok 4294967290 rx bytes ok 68719476376 device_0/8/0 3 slave device_0/8/0 Ethernet address fa:16:3e:f2:3c:af Intel 82599 VF carrier up full duplex speed 1000 mtu 1500 Slave UP Slave State StandBy rx queues 1, rx desc 1024, tx queues 1, tx desc 4096 cpu socket 0 tx frames ok 4294966980 tx bytes ok 68719450408 rx frames ok 4294882289 rx bytes ok 68713695756 device_0/9/0 4 slave device_0/9/0 Ethernet address fa:16:3e:f2:3c:af Intel 82599 VF carrier up full duplex speed 1000 mtu 1500 Slave UP Slave State Primary rx queues 1, rx desc 1024, tx queues 1, tx desc 4096 cpu socket 0 tx frames ok 4294967293 tx bytes ok 68719476510 rx frames ok 4294967290 rx bytes ok 68719476376 There are no specific errors reported in the /var/log/messages files on eit= her the VM or the hypervisor machines. Any ideas on this issue? Is there a configuration problem, or possibly a ch= ange in a later DPDK version which might be relevant? Thanks Greg O'Rawe This message, including attachments, is CONFIDENTIAL. It may also be privil= eged or otherwise protected by law. If you received this email by mistake p= lease let us know by reply and then delete it from your system; you should = not copy it or disclose its contents to anyone. All messages sent to and fr= om Enea may be monitored to ensure compliance with internal policies and to= protect our business. Emails are not secure and cannot be guaranteed to be= error free as they can be intercepted, a mended, lost or destroyed, or con= tain viruses. The sender therefore does not accept liability for any errors= or omissions in the contents of this message, which arise as a result of e= mail transmission. Anyone who communicates with us by email accepts these r= isks.