Message ID | ef4e967c2814b4aab7839b80605823aaa00cdce7.1548973731.git.petrm@mellanox.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=mellanox.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="lnYi1fln"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43rFRt5vcmz9sDr for <patchwork-incoming-netdev@ozlabs.org>; Fri, 1 Feb 2019 09:35:22 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729446AbfAaWfW (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Thu, 31 Jan 2019 17:35:22 -0500 Received: from mail-eopbgr70075.outbound.protection.outlook.com ([40.107.7.75]:14830 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726172AbfAaWfV (ORCPT <rfc822;netdev@vger.kernel.org>); Thu, 31 Jan 2019 17:35:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HKivL7um9b2akOqT3dear9LaIxzvarItm4ivcrcKtxo=; b=lnYi1flnBkAO+gO/GT5tMmsJpl2lX5uKtMpLmn94yfLBquHZshkd7dlC3959UsxHOjiGsV+dbua0oLXi5PV8JUlOkfOZBWPMhawWxhJWXVkJxu7auCpcEhY/8tiiJUw0lRJazvivAzeCbKRjK4w5fxqwxhiHiUz6TNmMpZiZaQM= Received: from AM6PR05MB4885.eurprd05.prod.outlook.com (20.177.34.225) by AM6PR05MB6470.eurprd05.prod.outlook.com (20.179.7.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Thu, 31 Jan 2019 22:35:15 +0000 Received: from AM6PR05MB4885.eurprd05.prod.outlook.com ([fe80::3830:b2de:562:1fe6]) by AM6PR05MB4885.eurprd05.prod.outlook.com ([fe80::3830:b2de:562:1fe6%4]) with mapi id 15.20.1558.025; Thu, 31 Jan 2019 22:35:15 +0000 From: Petr Machata <petrm@mellanox.com> To: "netdev@vger.kernel.org" <netdev@vger.kernel.org> CC: Ido Schimmel <idosch@mellanox.com> Subject: [PATCH net-next 04/11] selftests: forwarding: mirror_gre_changes: Fix TTL test Thread-Topic: [PATCH net-next 04/11] selftests: forwarding: mirror_gre_changes: Fix TTL test Thread-Index: AQHUubU8A8sJGejJWU+8i2Id1FzQOA== Date: Thu, 31 Jan 2019 22:35:15 +0000 Message-ID: <ef4e967c2814b4aab7839b80605823aaa00cdce7.1548973731.git.petrm@mellanox.com> References: <cover.1548973731.git.petrm@mellanox.com> In-Reply-To: <cover.1548973731.git.petrm@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR0102CA0001.eurprd01.prod.exchangelabs.com (2603:10a6:209:14::14) To AM6PR05MB4885.eurprd05.prod.outlook.com (2603:10a6:20b:b::33) authentication-results: spf=none (sender IP is ) smtp.mailfrom=petrm@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [78.45.160.211] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR05MB6470; 6:uAbyVpMEQ08FXHyHVyd4SaRYX50jRrjtfFfYL2L+rKRU9OxREUMvWN++IaGDN79OQl2/6BRuikCWaiHg+3KxzwaxBY23uazSRkE9gK5yOzYvt5jpPdhlt1GQM04+JYzfLq/KhJVY+anty+S0Trn0KT9m6KAltinmDWxnsZPpD6x3o+c8DW/JPDSG9K3XlDvZULsjTMN9cNXikYqpJ97VuaewQdGPspPTYclv1fyZezPbGxdQbDO5NgbvT/xdUKJ/9V6utQzU5ojSxe8TWpMisjMT4nVe/rmOEHol9YnlF+8dxuNX3u/f69HLfLhc8UCBCdEBytshUCpsyIXFoQBHTz2+KwT6JGaD14Gb1hUf2MbPiUHh7SbBWlPCCD22SsZA7W7qDx7XZy3WQKZiCX20v1ijmIhnibKxNPwbcdN8yVx+BiO2S+GymdsWC55rrVQAlt/YdFdwLdPFs07MLosAMQ==; 5:zHFyLXF8g4AMYvBiiEwY3qG4uG8ejG4Nxn5K0pDwZ1LUgZpMGNwI+ASjkGivF+x4TWihXMeHs1vaBETt0fBpJN2qcMLkLtPpvm7Is6yKcNSSzbKNk3u9iPyfaz4Uzdtc/UK+T5yBZvxFNB+BUNYMFv0UKjkT/+FtDH3W8isbAklE5RfFgYwWD9s2lghQr339rvGM5GadBMsJUkCjr7Ipug==; 7:Cm12qmi2h3+xQL48cflgjHbua1XuCrW3wSndh7baaLYHlATBmLpK55LH4yuh4TWEFoHEjBNbbLE0kS/IDIxCDw+JO1pj2gSYGqUOGVWl54jYUcvjjw6V+8UJ8/rEA0VyxieWbrBPjswXSjnVu7W0wQ== x-ms-office365-filtering-correlation-id: cabfea61-9973-4e73-bb12-08d687cc5ef0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR05MB6470; x-ms-traffictypediagnostic: AM6PR05MB6470: x-microsoft-antispam-prvs: <AM6PR05MB64700D7CA74619403648CB5EDB910@AM6PR05MB6470.eurprd05.prod.outlook.com> x-forefront-prvs: 09347618C4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(346002)(376002)(396003)(39860400002)(199004)(189003)(105586002)(99286004)(6436002)(3846002)(7736002)(86362001)(6486002)(76176011)(4326008)(6116002)(305945005)(52116002)(5640700003)(36756003)(316002)(71200400001)(256004)(71190400001)(106356001)(6916009)(25786009)(53936002)(186003)(478600001)(476003)(2616005)(118296001)(26005)(11346002)(446003)(2351001)(486006)(6512007)(107886003)(2906002)(81156014)(8936002)(1730700003)(8676002)(14454004)(2501003)(68736007)(66066001)(81166006)(6506007)(386003)(97736004)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB6470; H:AM6PR05MB4885.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 6Nt+kZ7BEDhH0MQCSvkdaOJyhHx81jrT7oXgcCa39e4yu/wQ45dI4hrtxAplTJ4Hg1K9y62DPjdRF4LRntpsEz9EsPeszXkNCO5l1jifH2ccI2HFZ8NBI+hwayorrfPeFJTh7NHR4ixEkBMGEVI2a5Apnd4WB4o32fyjAO9PDKklLgTQpQZm/Z7ApP38+1nVaDLNMUt8oDBZ9qs4tAyafe2qBiAXyn/5jEPM6eOOOidusiilExjOYEs3O3sN5t2KwouvTR6RSVA04wEudoHa4fJKvHUC7xVW4L7svw1mJeDjh3MA/cgTAhKNSwrvJhZnj6+ZCxshRXOaoJYDwsoPWzWXl9jKBxK1ufFcdTRGwyEvZQPcPg3H7j8sPWyBJkqhC0eUYCvSDzHQOA+QjuM+sHATZFzEEvQ0ztSPeeH70Yw= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: cabfea61-9973-4e73-bb12-08d687cc5ef0 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2019 22:35:15.3985 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB6470 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
selftests: Various fixes
|
expand
|
diff --git a/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh b/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh index 135902aa8b11..472bd023e2a5 100755 --- a/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh +++ b/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh @@ -79,6 +79,7 @@ test_span_gre_ttl() mirror_test v$h1 192.0.2.1 192.0.2.2 $h3 77 0 ip link set dev $tundev type $type ttl 50 + sleep 2 mirror_test v$h1 192.0.2.1 192.0.2.2 $h3 77 10 ip link set dev $tundev type $type ttl 100
When running in a simulator, the TTL change takes a while to settle and during this time the performance of the packet processing is lowered. The resulting instability leads to ping sending more packets as it assumes some have been dropped. This then leads to regular spurious failures as more packets than expected are observed. Sleep a bit to give the system time to stabilize. Signed-off-by: Petr Machata <petrm@mellanox.com> --- tools/testing/selftests/net/forwarding/mirror_gre_changes.sh | 1 + 1 file changed, 1 insertion(+)