Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5761281imm; Wed, 12 Sep 2018 10:39:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdauQXjinci1wdEuudigYt8I1RdbqarKrI098Nb0SwhoCm4CpHbns9W7BnPnXH5AHFoh600z X-Received: by 2002:a62:5882:: with SMTP id m124-v6mr3562909pfb.249.1536773996051; Wed, 12 Sep 2018 10:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536773996; cv=none; d=google.com; s=arc-20160816; b=BV8BAxqEqUyX0YIi1dlkIhq/qdr6Ylxkvnvh/nGba2b5oNWSy3w+cUBjAp+z12aFnF Jh0w5p2Ub0O5e76ed7UI0aXC4p9E3nQOg1MMxB8CKWEa9hs0YdbzcdSKSJLPMjF7CcEg yguK7ukb4Vp4FDMCWvOcjVj3j1vEJdnJ2Z+/AYHmtVLCzPlkGAOr00h7Rs9DvsQk4ozp NF/rV07Lm7tlEQpVFt43AKb650nBZ65SQ5gC5GYIlZxI6QURrUVK2cIsMF9KYA0EQCtJ hWbfHAnTIEtcOZb7ri4evZY8cihZyfWS/QUSRkfNt5xmvExHAczzIjqyQaYODfOQkbMm 5RBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=oAx61j2BxwP5YSS3JX7uGRiZxNL6aKMjJ0Wr4P3m9Kw=; b=M7x8VDHrxOJiIvKNCefnwgOLZmBFCcC/jXqkKzTQsiqwa+FDABjp+WIKWGGlx7DI2i oQof2xh9yj/E8NCaK336ZAbAndjxhGBhrWAV/i3N2jyP+xVr1NDjyru9MmruJlN+4+rg 1IdkMvBhCpf4T7xDUav8xFoLra/elz7pI5tQmNOUsWpeT3tEi5O4OqP/sS9Wot+P7jRg kVUzpVcXz/iJS2zbSnxUETEgJ2d4XDN3/U3320t4zZlU62OEXF3BO3EyPBMtATo0uNHw na6wgFp1Jfe/33fMEogESUZebWl9jvZ4FpkqqN70Eue9DXJJFOON2+YOi7perzpVJJFk W1mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Nbi7EbL5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v19-v6si1716202pgh.36.2018.09.12.10.39.41; Wed, 12 Sep 2018 10:39:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Nbi7EbL5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727872AbeILWpH (ORCPT + 99 others); Wed, 12 Sep 2018 18:45:07 -0400 Received: from mail-eopbgr680106.outbound.protection.outlook.com ([40.107.68.106]:17888 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727346AbeILWpH (ORCPT ); Wed, 12 Sep 2018 18:45:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oAx61j2BxwP5YSS3JX7uGRiZxNL6aKMjJ0Wr4P3m9Kw=; b=Nbi7EbL5O95ZfNCcLVMC1rhiY7/SSesS9SJHcWNS82tR30zac2DZ97yRtixuCONyb7emijGXBNvxUHE2zMJegG1yIk8a+FjGXyucZkesvMb93BJpb4Iqy9QYA3kzU0yQ5ZuGqNAtdFi8CoO8k1eja31BkkhlTnV/i4XIjXwkXW8= Received: from DM5PR21MB0778.namprd21.prod.outlook.com (10.173.172.148) by DM5PR21MB0283.namprd21.prod.outlook.com (10.173.174.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.6; Wed, 12 Sep 2018 17:39:29 +0000 Received: from DM5PR21MB0778.namprd21.prod.outlook.com ([fe80::d05f:7c53:cb46:9ecd]) by DM5PR21MB0778.namprd21.prod.outlook.com ([fe80::d05f:7c53:cb46:9ecd%9]) with mapi id 15.20.1143.010; Wed, 12 Sep 2018 17:39:29 +0000 From: Sasha Levin To: Boris Ostrovsky CC: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , vkuznets , "David S . Miller" Subject: Re: [PATCH AUTOSEL 4.18 69/88] xen-netfront: fix queue name setting Thread-Topic: [PATCH AUTOSEL 4.18 69/88] xen-netfront: fix queue name setting Thread-Index: AQHURkLY+K2w4GlTsE6LaL1MANj2OKTlFWCAgAfdNgA= Date: Wed, 12 Sep 2018 17:39:29 +0000 Message-ID: <20180912173928.GE3821@sasha-vm> References: <20180907003547.57567-1-alexander.levin@microsoft.com> <20180907003547.57567-69-alexander.levin@microsoft.com> <5f24d66d-57d4-4424-d524-58a6d0687f02@oracle.com> In-Reply-To: <5f24d66d-57d4-4424-d524-58a6d0687f02@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR21MB0283;6:dL2XOpepPhQ3yc+aX6US8UaXuhyS1eO18QHNMOR/rBcFULr8YsJtlM5hi6m1DA/qjKD7p0uWNptwSg6g5fLiLq16bJTiVvlvPJmbYh7nHvtzuz/mdBpkYBtAoH19MRMUALe7bPdnfW0TjzT+HPEV6rm5vBaEJo040AtK2pxT6UDJScXJL4uwyX4Kv9u0ACwL1IAitGTqG2Eyj4Mca4TqHRnpfF/ETzC9XriWzHR4NFUVoZjzMs/BFqqgiLpSnM/hVWSoAqSFIU5AmGQzgxPibEh8hlWrvOTn6Sa2ID5m5p4M+t5XGvMxl9Cpl3JOQdjRluFtG1a9ausXD+Q7TSTing60lRQ+BD4sslWY8T5YMl9y/9B2Ki7ZbLbvSepMjDLi6Nym3TzsicEoJWMV6WP6Ooj0lexApnuWonzrZOPrWDOdk8wvmOeYeuubTLeQFw4D/VcEMyaJgn/od4c/A6TWkQ==;5:7QoyMvFReV0p5/oL51JxUAl95mxyoqDHg/cqgeCbJxISsDF0Ed2yk8N/XGBwqWagq7rixBx5vpxcm/ptafjbvPmYU9aPJO6QXv1aAix6MsfuxpT8UmxppyZZfk8ejDvsSyicyx1tXbXUkouTXXivqGLH6qAv8S7+06Z/4JMciXk=;7:TFo2M5F18Yx9J1TUZ8OoCpaZA7D3mUacCRhiNzEXJxTJVE38QDGtjfdOe0zUb0Koth075XWn0ZArNJ8i3XUIScePIW8QI4aBz/+RhNM5ogpkixKrLpDEPViLCc1je1RbHzpPBBMLwH8KUOkVDDXY7jG6jRfDHpCva9bTm4QniSzrbbgBnhAevXtrtPZDmHpGVv4hsHgNb8pxKarTxJvYh3Tk4OiJJOE5tQSBAUaMj/uKfWXd3bzjQzqxXQ8D5Pbx x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 75a9425d-2585-4979-17f6-08d618d6b15b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:DM5PR21MB0283; x-ms-traffictypediagnostic: DM5PR21MB0283: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(70601490899591); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231344)(944501410)(52105095)(2018427008)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699050)(76991041);SRVR:DM5PR21MB0283;BCL:0;PCL:0;RULEID:;SRVR:DM5PR21MB0283; x-forefront-prvs: 07935ACF08 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(39860400002)(376002)(136003)(346002)(366004)(396003)(199004)(189003)(102836004)(186003)(10290500003)(22452003)(10090500001)(316002)(478600001)(14454004)(72206003)(105586002)(106356001)(66066001)(86612001)(6916009)(5250100002)(3846002)(2900100001)(33716001)(6116002)(97736004)(1076002)(575784001)(86362001)(486006)(446003)(81156014)(5660300001)(81166006)(229853002)(68736007)(4326008)(25786009)(8936002)(14444005)(33656002)(476003)(217873002)(11346002)(256004)(6486002)(9686003)(6512007)(6436002)(26005)(6346003)(6506007)(53936002)(305945005)(7736002)(99286004)(8676002)(76176011)(6246003)(33896004)(54906003)(2906002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR21MB0283;H:DM5PR21MB0778.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: yzpPZHJROKk8rawRgTii+CjhpN1318aQD6f4w/19IcLCRyHQMrlhwouIGAuab46ig5dmN6BxDhoZo8zlvdLHvKpD478C/m4Eo/wfqhHrR0YVfooqmEw37SIunvUJtzAKlkNxlXDJ1PG9gZ5YsUmyFYX5RaSNotmbs6Bkje/pbIExb4UJb6kXk+c2rpFoI04Y6aMxT4LA3IcZjDsaE2kuHMY0rQTphIOrWnGYks54TWoLHxuTNsYTKY3Af86iq+cMs/LpWU20oRSJaR2Mmv1xzuYg0zmFcRGwcj1HMFIlmBfNPLsVr4fHcAEtCcijo11CRQMRgAaCWsdVfDIelrfQaCge/8Lud1ZZAUyax0HG8ps= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <769A518D57A616489307372E555134A9@namprd21.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75a9425d-2585-4979-17f6-08d618d6b15b X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Sep 2018 17:39:29.5937 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB0283 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 07, 2018 at 01:33:55PM -0400, Boris Ostrovsky wrote: >On 09/06/2018 08:36 PM, Sasha Levin wrote: >> From: Vitaly Kuznetsov >> >> [ Upstream commit 2d408c0d4574b01b9ed45e02516888bf925e11a9 ] >> >> Commit f599c64fdf7d ("xen-netfront: Fix race between device setup and >> open") changed the initialization order: xennet_create_queues() now >> happens before we do register_netdev() so using netdev->name in >> xennet_init_queue() is incorrect, we end up with the following in >> /proc/interrupts: >> >> 60: 139 0 xen-dyn -event eth%d-q0-tx >> 61: 265 0 xen-dyn -event eth%d-q0-rx >> 62: 234 0 xen-dyn -event eth%d-q1-tx >> 63: 1 0 xen-dyn -event eth%d-q1-rx >> >> and this looks ugly. Actually, using early netdev name (even when it's >> already set) is also not ideal: nowadays we tend to rename eth devices >> and queue name may end up not corresponding to the netdev name. >> >> Use nodename from xenbus device for queue naming: this can't change in V= M's >> lifetime. Now /proc/interrupts looks like >> >> 62: 202 0 xen-dyn -event device/vif/0-q0-tx >> 63: 317 0 xen-dyn -event device/vif/0-q0-rx >> 64: 262 0 xen-dyn -event device/vif/0-q1-tx >> 65: 17 0 xen-dyn -event device/vif/0-q1-rx >> >> Fixes: f599c64fdf7d ("xen-netfront: Fix race between device setup and op= en") >> Signed-off-by: Vitaly Kuznetsov >> Reviewed-by: Ross Lagerwall >> Signed-off-by: David S. Miller >> Signed-off-by: Sasha Levin > > >You also want to pull commit 21f2706b20100bb3db378461ab9b8e2035309b5b. Added, thanks!=