Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2484434imu; Mon, 17 Dec 2018 02:47:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/WzG79Ww/mC1KNeVC6TSdXSBWtLJoyFsMmFd63NACbW0W4rBoM0v/eBERBoTbcIoox/Hrj3 X-Received: by 2002:a65:43c5:: with SMTP id n5mr130834pgp.250.1545043633983; Mon, 17 Dec 2018 02:47:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545043633; cv=none; d=google.com; s=arc-20160816; b=iNWVtFiHyVrFFSdcNlZz6WxYbFsbC+A4nNpmgm+0l9zxPNsVZiMz8qnxU7CWmMNX4+ UMu1RrgESCdc9tLnqR9b9bGsn5FDI5/4vI4PcGFS74S869JDol89Wwwp5V2AXSyey4R3 woR7J2edtjZ8ZN77pY+goBOvLF6W+1XaCX6L8wk7J/tZeEEcFelNcDjkkToJVsbLOwBO EhHpxWGCmXqMFx2aYq7Z3OKFTY/dYcp3j3avdEXdt3TcPdqLqsuk/vTx+J5zp0NdlbB8 qwsfnDA15kx1JcID13a5EefU+ddbjhRJ/hscJE638GdQlb6ZrtNsNrbGsFGlUk6mfx+B Z6Ig== 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=zxa15U0kp5pes+7ee8TlaW4+N2dt/4B0Verv+J+tLqw=; b=sxXgoEkVS4im/S03AzF49WCIzlCtL4YhbOppO/mSXvyWhVha+axnEzBt49rlWBTLlE zz2TBwEVGQvJ+Bt4EMKybgLeVXJfjN10fxp986nII2dShPLwFY39Q1qX0C3z6A6yvol4 F9XG4PpHc5wdN37V9J3NxpVreK+RNo84PygkPlRSiR6I7Yz3Or66dvECd2oivxPGxZkj O5hGUkDVPBRpkGoC+NE0CZ3/EWLnfe1QFUeZSqI83MjcPI6jBqPB3uXt44IrBfOMzA4k P5+G/0PPX5f3ynmCj31uw3gkqpgjleKb4cMbwUwM1kFik7P7UPXw2cF1C3KLyTxtM4NJ TZmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=2LjYG5aO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si10698499pgj.543.2018.12.17.02.46.58; Mon, 17 Dec 2018 02:47:13 -0800 (PST) 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=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=2LjYG5aO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731842AbeLQKOM (ORCPT + 99 others); Mon, 17 Dec 2018 05:14:12 -0500 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:6836 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726653AbeLQKOL (ORCPT ); Mon, 17 Dec 2018 05:14:11 -0500 X-IronPort-AV: E=Sophos;i="5.56,365,1539673200"; d="scan'208";a="24305539" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES128-SHA; 17 Dec 2018 03:14:10 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.37) with Microsoft SMTP Server (TLS) id 14.3.352.0; Mon, 17 Dec 2018 03:14:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zxa15U0kp5pes+7ee8TlaW4+N2dt/4B0Verv+J+tLqw=; b=2LjYG5aOk64GMcpPT56vz6Y1z0eNzOkirVBm97buDI9lp499TrFuB42l34n4sJ1JCaCGmSWUMWbhpMQUUJbYucRC+DUcx5icN/SrA7COfLR1CtRK8ljvZEOIJwAxipDN506svNN+HAh4o5jxJOekdf6otzGS1naKhWsAweKNqwg= Received: from MWHPR11MB1662.namprd11.prod.outlook.com (10.172.55.15) by MWHPR11MB2046.namprd11.prod.outlook.com (10.169.236.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.22; Mon, 17 Dec 2018 10:14:06 +0000 Received: from MWHPR11MB1662.namprd11.prod.outlook.com ([fe80::d4e0:49b4:1b0a:8ae6]) by MWHPR11MB1662.namprd11.prod.outlook.com ([fe80::d4e0:49b4:1b0a:8ae6%5]) with mapi id 15.20.1425.021; Mon, 17 Dec 2018 10:14:06 +0000 From: To: , CC: , Subject: Re: [PATCH v3] net: macb: restart tx after tx used bit read Thread-Topic: [PATCH v3] net: macb: restart tx after tx used bit read Thread-Index: AQHUle+mtil0X1BpLkuEXebjAikpjKWCtoQA Date: Mon, 17 Dec 2018 10:14:06 +0000 Message-ID: References: <1545040937-6583-1-git-send-email-claudiu.beznea@microchip.com> In-Reply-To: <1545040937-6583-1-git-send-email-claudiu.beznea@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: CWLP265CA0100.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:51::16) To MWHPR11MB1662.namprd11.prod.outlook.com (2603:10b6:301:e::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Nicolas.Ferre@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [195.6.168.232] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR11MB2046;6:gWfGq2huYnqNk/O2kBoH7rDRoSWL10fxXZfcyHMghgyRAVWQXuFmWWyTQ2PfbP3+MkJXxgiutblV3uCURTZNmUtVHXZPKtpta7IO8N0T/MrNjoARY8A9Ald32dh/pMWMRYO6w6B5FpNordJTgFcgbWMvMwA1y+jaYTpRjwiYPvC6iUqjxkVNNSm6IwYPuAfvbzzq940DithB9nh1QsKpOOrXDdrgHkdD3ZySnfStWwPByBFAgqsl1xeme/nIkznbDnHPkG6kMv62cw4jqf2mRSLaXfUtz8mng2M25dvp4nbPieUU0FI6BgAfGZgwhfkS92RG96/+fkCzEWR2xWIa0T6VfSu8lS80499bdk3xC/GWaANURjbFpdCnk8IixqKuFbIyhihU19V9350xxsvsNALAqfH2Ka3ACn9T1E8JnzpojkM4OfFGqVslBk6egPPrVlas171rd1s6WXe1MjUNgg==;5:G5E5FB8cXoAftXKwrJCOWr0sKlXZnOxYbd6VsVC0fLWPfLCCDVs7FMlslqPT5KxFiRrOXMb1QNlpM34miyCh1OLG6clEmJvo0yCkbSupBA3WZXt6OhqlnzqhMq5RRHO9Fe442o44H/slyuV8xtiY6LsnEn1NwsHVPTqemJoQTZY=;7:DC2bk8u/gqHdjgLTh/ktpomVREXh6bagV4AqlT38XhWmkJQNluBwu/Bir+PwP4R7F9t/9Nk6JboJRJS9va/T/OS2M1Nbh3cDoKzz5zwliUe4dZ47GLFMpy6IY9kus+BIGxwb80bD7FAIJWcD5VE5KA== x-ms-office365-filtering-correlation-id: 3fad1267-8a5e-4429-a550-08d6640860c0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:MWHPR11MB2046; x-ms-traffictypediagnostic: MWHPR11MB2046: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(3230021)(999002)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231475)(944501520)(52105112)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:MWHPR11MB2046;BCL:0;PCL:0;RULEID:;SRVR:MWHPR11MB2046; x-forefront-prvs: 08897B549D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(376002)(396003)(136003)(346002)(199004)(189003)(6506007)(4326008)(97736004)(26005)(3846002)(81166006)(53936002)(31686004)(31696002)(106356001)(36756003)(66066001)(256004)(478600001)(72206003)(229853002)(6486002)(2906002)(8936002)(7736002)(54906003)(99286004)(71190400001)(14454004)(486006)(110136005)(71200400001)(6436002)(105586002)(476003)(446003)(14444005)(81156014)(25786009)(11346002)(8676002)(2616005)(2501003)(68736007)(86362001)(6116002)(316002)(386003)(186003)(305945005)(52116002)(76176011)(6512007)(53546011)(102836004)(6246003)(5660300001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR11MB2046;H:MWHPR11MB1662.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: tGfivCzyQrbD/gR7+1rcyQaJ0s3hfzaF0dM6WPdssaVHvp3sOSFvQGGH9OQWW1huNj9FHYy2yhXdgkxdCPN3Xd7jXc/GGwKWXQ8fD8uCkzMZYD8xcZUaXZjurtoJ3yBAx+m1Jjp7YKAfByi4Lewb8tKnTwtvpy/sAFvN5SDwrO3GucP4pvfXHTVqVBaeqmrc+EQxWDHpylMO2pzW+fzhi6IBUj41oG3xjgZbc3/+KQTIB0M7spDNKpur9LvTJ60seS8kDE2LS8uxq+w0ePf6HzkNO6G52P5MODQrqjcFzw5A8nWfsjLVzCXemJSEaTqQ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <7ABF633E6F0EF84E89D98A90397AED5B@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3fad1267-8a5e-4429-a550-08d6640860c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2018 10:14:06.7289 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB2046 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTcvMTIvMjAxOCBhdCAxMTowMiwgQ2xhdWRpdSBCZXpuZWEgLSBNMTgwNjMgd3JvdGU6DQo+ IEZyb206IENsYXVkaXUgQmV6bmVhIDxjbGF1ZGl1LmJlem5lYUBtaWNyb2NoaXAuY29tPg0KPiAN Cj4gT24gc29tZSBwbGF0Zm9ybXMgKGN1cnJlbnRseSBkZXRlY3RlZCBvbmx5IG9uIFNBTUE1RDQp IFRYIG1pZ2h0IHN0dWNrDQo+IGV2ZW4gdGhlIHBhY2hldHMgYXJlIHN0aWxsIHByZXNlbnQgaW4g RE1BIG1lbW9yaWVzIGFuZCBUWCBzdGFydCB3YXMNCj4gaXNzdWVkIGZvciB0aGVtLiBUaGlzIGhh cHBlbnMgZHVlIHRvIHJhY2UgY29uZGl0aW9uIGJldHdlZW4gTUFDQiBkcml2ZXINCj4gdXBkYXRp bmcgbmV4dCBUWCBidWZmZXIgZGVzY3JpcHRvciB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