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 815D5A0513 for ; Thu, 16 Jan 2020 00:41:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4DC601C11A; Thu, 16 Jan 2020 00:41:36 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9E0581C024; Thu, 16 Jan 2020 00:41:32 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2020 15:41:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,323,1574150400"; d="scan'208";a="273806393" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 15 Jan 2020 15:41:31 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 15:41:24 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 15:41:24 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 15:41:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RD+uMl0Mcgkzsl8ytVZAMdyCji2dImrPrAdb3ZGswcj9Qe/iqsPPuWHnQNdzenos95BZOZaXWU2BJnUM0knGiTP291W2kOR1GCy9ed+9Ne8bgsTTU0u/tyZA7TyBjn8MvwpqupLEQ6//kQM70Koao9leTWbbwgGXhNmt5R2m/tPVxRJ+n5W8IMxlkb3duGAvbBoujXwGWlXOJ70KGpzLSEZtEbahtAsArudeNGl/emoEewR3XJXMYzzCS0wwG4gWjCaQtSzUFnhKTKf6ZOfevDuqd2zVwwNqvzuYekTz2feKkQQX8U8L2yQ2D02+CZXqRjE7m8kk3BwTKTHAYe1JgQ== 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=9nZb62sfAUx0FwMqGZ/orrCGLIc6gw7vH4ZJUKnZTlw=; b=Z1WOVkXwqXeYNvbQwGk6wpLNQa3LGOEybnWJDiXKrQjmTSCXra7A+y1LQwdL9hjgFptVr0/AEXaGCnZIyTQp6i7WwAlqMriIcVZk6AY26BVwvs62cOo4QhFdBBVZv7X3dnJwxPUGcuTLwKv/pEaLQAgVolv7txoa86utH8y4K97AatRW6uoBtc2Q3QF7gpkLr2MqqPBkDNFt4mtL2s1uIo9AGvFNaNy7uezsPRlngoy7nJ/9kylnMoH9OMcd9PLAOf5KLnklH2Vi3Y37rlUB0rNWsGtaGIFz8pxesStlYFu8jqeAKBCFxauDVa3kDz6jXxTTNvFBA2QvND/GQXL5VQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9nZb62sfAUx0FwMqGZ/orrCGLIc6gw7vH4ZJUKnZTlw=; b=lFGkT759jIwlROcpsKovZe2SOKbtTIZYbL0Ri++jGTAcWwKLK48YAs+vZ2G4ysiw2/lKpAmFGY4qvCRso/gzjXqNApSCwHAGFlDLMLa71O/9lPwfSqESRe3Gty8/wtsaj6mWGtWDjAFJn7ioEm8F3/Zpo8ed0Y3ULPEoWatqqS0= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB3376.namprd11.prod.outlook.com (52.135.108.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19; Wed, 15 Jan 2020 23:41:17 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386%7]) with mapi id 15.20.2644.015; Wed, 15 Jan 2020 23:41:17 +0000 From: "Ananyev, Konstantin" To: "Zhu, TaoX" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ixgbe: fix blocking system events Thread-Index: AQHVy5JURGNv0e42zkOek8xCCzoicKfsYz0Q Date: Wed, 15 Jan 2020 23:41:17 +0000 Message-ID: References: <1577328342-216505-1-git-send-email-taox.zhu@intel.com> <20200115193848.29680-1-taox.zhu@intel.com> In-Reply-To: <20200115193848.29680-1-taox.zhu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTA0ZGM5ZjEtNWRmOC00MDZiLTg3MjktMTc2NWQ0OWI3Yzc0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRlpDKzNVK0t0a1VsRFU2QnRuRGx3ZHdPYitMUHJHdUVya1BQWEV1NVBKQTYzVmhSb1dBdUx4ZE1DdEt0ejNmOCJ9 dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 262ebd0a-3821-4a53-de16-08d79a146a88 x-ms-traffictypediagnostic: SN6PR11MB3376: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 02830F0362 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(136003)(346002)(366004)(39860400002)(396003)(189003)(199004)(5660300002)(86362001)(2906002)(55016002)(52536014)(8936002)(81166006)(8676002)(6506007)(9686003)(478600001)(81156014)(66446008)(66946007)(64756008)(66556008)(110136005)(6636002)(71200400001)(4326008)(54906003)(66476007)(450100002)(76116006)(26005)(186003)(316002)(33656002)(7696005)(4744005); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB3376; H:SN6PR11MB2558.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zvf/swoSi6pShf1FFI54wsE0ob5bjFIAsGHDn0QFICvY9m5qpag+BsRM8xMO+kTfA9omwQKVsAD8GxHZqSnHBJh3uMODd53c2EapgleFs/0kekzyAUMnbPxGuMTzJodCPtMi1lyM/sJll7WI4zh9Atnj7SlN4mrDlj8aIKJOo9B+tFwj+jZYcdtGZo8ymtnp9A4GhSACc4X5s2y0xVrYIPueLgcCVm6ZhNV58cstaH1Cp5yBUwm/ruyZRWWk8/RxVL6EXvzNrkiAWFALybbvz4yVXoVWpfhbYUWYVIWntwDpwGW2BiHoX06uTP95E81FDJTpTwK4ZTZKMgAQhkXnIcjcxkJZw5L7ZIb5JPW3651fXRftRj3XaxaJyo6s4ANXo5V22f5AL8ncSzoXpVFVCdZqgeYZb+b/n6shXZojf8VvO/jf93z6hgZffw8oO6X5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 262ebd0a-3821-4a53-de16-08d79a146a88 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jan 2020 23:41:17.2863 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OnRsJc+jbYUSlIo6210BaQEeRKSaKElgG8c5qOze28RqbmebDxMOkyAvMjRRlzig+pjlQ4HK8EbqSjNj2S2+XVy8+Uo5QO6DfZ6gcTU1MaY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3376 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH v2] net/ixgbe: fix blocking system events X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > IXGBE link status task use rte alarm thread in old implementation. > Sometime ixgbe link status task takes up to 9 seconds. This will > severely affect the rte-alarm-thread-dependent a task in the > system, like interrupt or hotplug event. So replace with a > independent thread which has the same thread affinity settings > as rte interrupt. >=20 > Fixes: 0408f47b ("net/ixgbe: fix busy polling while fiber link update") > Cc: stable@dpdk.org >=20 > Signed-off-by: Zhu Tao > --- Acked-by: Konstantin Ananyev > 2.17.1