Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1506719ybl; Wed, 28 Aug 2019 16:07:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzG3WbkbXBVync2jMABSRzxbM9VhNYtfOaZ/KLl3W7GcufLRyV7IgusOWL68t9Z+91fWTJV X-Received: by 2002:a17:90a:1202:: with SMTP id f2mr6472392pja.39.1567033650145; Wed, 28 Aug 2019 16:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567033650; cv=none; d=google.com; s=arc-20160816; b=FwJEmZ6Zsq6fexKBZXnodYkH6MCoL8iaAmigHBKIBZkkI4sIcCL6lqMhRDsUkBaQlY /Wpf/xkmLgQk2OlThlZVZZB1wXwjAeInT/vDHWkMNxT9+NvYIhs8XV39KgQTfqhQSr4K TJdcmWRPKyI1+iv1CiImLV/gp7ve8fmC+/YgppKCvElWYjGcEdVIkHDCD35Xx8muUc+q tK62yWY4afljjhMsSv00N+N4y8aC88Hl2KX1H6adVO+qgQKZ4xiYgshSBaR2AgMkregu wlMuQje1V3O3R1BhlGl+gA9tCxRLq+zCQDhkwZlVLU8qxEeeZOL4EuRmACPmhiGecQ7w OAgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=Q7JSnutSKY6xFT4D0TS+NhWVJ0m3aop0mXkuXZwQ1WQ=; b=IUy3/xTkFdRbi4VoVfhY3Vi53nAcpbG1QvD+odb6gG8VC/pTTXfhMc0p/0gJ3xaWR7 MGfnABtNmT1ujCTMxrccttyvS/D2jzhmhc0Gd3bvgAyfbjkPXPwHlNOT5/q4GGEwJ9zg 0Cgx3PjDpMiUtdOGp96FU/vAIsy9Ymvh6pmEvFeHbcrTJrfn2y782D0E57EFsJx11BNv fmqTwGDb0WRypF/PzZ1FPDkoJLmLZnrkFGsnrsOvpUbyF/Erfmtx0KwfkCyGBXJ5gatq hj4nfH5piBrivhtE/bQRTEUdw2etFRx17tXFADOTW26tPpoHVrD3mk9bx1Uo+xVfLWom UqWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="qb/E47jX"; 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 y15si600778pfc.8.2019.08.28.16.07.14; Wed, 28 Aug 2019 16:07:30 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="qb/E47jX"; 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 S1726937AbfH1XEx (ORCPT + 99 others); Wed, 28 Aug 2019 19:04:53 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41221 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726839AbfH1XEw (ORCPT ); Wed, 28 Aug 2019 19:04:52 -0400 Received: by mail-ed1-f67.google.com with SMTP id w5so1801230edl.8 for ; Wed, 28 Aug 2019 16:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=Q7JSnutSKY6xFT4D0TS+NhWVJ0m3aop0mXkuXZwQ1WQ=; b=qb/E47jXOQPuSvEFEgQZ7e41y//cnPauFgA7N4iBWYIFh6wHQFWfYFLNNfbQ4A+sb/ /qnFd2EB8mWvqw4vz7E//rOpCQ3J8x7zvsV/DMFXEWxYoTU6ItNXRO0108vKV2kENDnm PpjkDlT2YtJbRTDKhSvJ3U0DqYWwfduFnp0wGBXxvtBMR3xuUQOEiJzP2XVES6qL+WVh ktXbUmgNkTA+t/6QApnEGFEQQq+PkfIKy5urWRJqmlEO+36R3IehsZ3pJ5Mq35rAFzFr vEgFYvHXzZhVXhP/w6b/yicN1Sju0q+zvBG02tORCEgOso/0Ijm9TXar209tRNN25BIs IZUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=Q7JSnutSKY6xFT4D0TS+NhWVJ0m3aop0mXkuXZwQ1WQ=; b=nX6ANc3mHI48Fo9JGNhuEzt3CZHrajx9bElmRHuhL2uIVbKRGZwab0K2OJAHW82djs yGeBV7L6nDE8hpAi2T8CqjH+HhsYeSWmbedpYUZ1QtonjqPPF1U7RvhyOVvRKQy+ykZR v7AhaMetiKV+QhHLIxN13IHlIZOHAr5iH5UaP4OAaB+eczieL2VVeii0/24EdWtSpD4a SbWFhUcmimwnpEK5RUGy4QC3YLZ6wMnr1gAvjyv9HMMKUa94mLXqWrk2gBSDL+DIcP4Q Rh52mEH6SX+NoCsbpRpx+/iIrGZ/Hd7BAmAbYUEWE+Nqak/IapTEs8L+Bq/SgfBoN2JX dOqA== X-Gm-Message-State: APjAAAW41aNyMzMm/LW0V8snDFOywjf+qsX3S2AiK9rvL7zfCla6kL+Y m/rlNX4PFmVdkxIILLDi/FBUFQ== X-Received: by 2002:a17:906:5391:: with SMTP id g17mr5530333ejo.61.1567033491155; Wed, 28 Aug 2019 16:04:51 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id d10sm102967ejd.86.2019.08.28.16.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 16:04:50 -0700 (PDT) Date: Wed, 28 Aug 2019 16:04:29 -0700 From: Jakub Kicinski To: Thomas Bogendoerfer Cc: Ralf Baechle , Paul Burton , James Hogan , "David S. Miller" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next 09/15] net: sgi: ioc3-eth: split ring cleaning/freeing and allocation Message-ID: <20190828160429.6f9abb4e@cakuba.netronome.com> In-Reply-To: <20190828140315.17048-10-tbogendoerfer@suse.de> References: <20190828140315.17048-1-tbogendoerfer@suse.de> <20190828140315.17048-10-tbogendoerfer@suse.de> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Aug 2019 16:03:08 +0200, Thomas Bogendoerfer wrote: > Do tx ring cleaning and freeing of rx buffers, when chip is shutdown and > allocate buffers before bringing chip up. > > Signed-off-by: Thomas Bogendoerfer Ah, so you are moving the alloc/free to open/close, that's good.