From patchwork Thu Aug 29 15:49:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Bogendoerfer X-Patchwork-Id: 1155332 Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46K6Wq69lfz9sBp for ; Fri, 30 Aug 2019 01:50:31 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728197AbfH2Pu2 (ORCPT ); Thu, 29 Aug 2019 11:50:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:60696 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727207AbfH2Pu1 (ORCPT ); Thu, 29 Aug 2019 11:50:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 649A3AF79; Thu, 29 Aug 2019 15:50:26 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , "David S. Miller" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v2 net-next 00/15] ioc3-eth improvements Date: Thu, 29 Aug 2019 17:49:58 +0200 Message-Id: <20190829155014.9229-1-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.13.7 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org In my patch series for splitting out the serial code from ioc3-eth by using a MFD device there was one big patch for ioc3-eth.c, which wasn't really usefull for reviews. This series contains the ioc3-eth changes splitted in smaller steps and few more cleanups. Only the conversion to MFD will be done later in a different series. Changes in v2: - use net_err_ratelimited for printing various ioc3 errors - added missing clearing of rx buf valid flags into ioc3_alloc_rings - use __func__ for printing out of memory messages Thomas Bogendoerfer (15): MIPS: SGI-IP27: remove ioc3 ethernet init MIPS: SGI-IP27: restructure ioc3 register access net: sgi: ioc3-eth: remove checkpatch errors/warning net: sgi: ioc3-eth: use defines for constants dealing with desc rings net: sgi: ioc3-eth: allocate space for desc rings only once net: sgi: ioc3-eth: get rid of ioc3_clean_rx_ring() net: sgi: ioc3-eth: separate tx and rx ring handling net: sgi: ioc3-eth: introduce chip start function net: sgi: ioc3-eth: split ring cleaning/freeing and allocation net: sgi: ioc3-eth: refactor rx buffer allocation net: sgi: ioc3-eth: use dma-direct for dma allocations net: sgi: ioc3-eth: use csum_fold net: sgi: ioc3-eth: Fix IPG settings net: sgi: ioc3-eth: protect emcr in all cases net: sgi: ioc3-eth: no need to stop queue set_multicast_list arch/mips/include/asm/sn/ioc3.h | 357 +++++------- arch/mips/sgi-ip27/ip27-console.c | 5 +- arch/mips/sgi-ip27/ip27-init.c | 13 - drivers/net/ethernet/sgi/ioc3-eth.c | 1039 ++++++++++++++++++----------------- 4 files changed, 667 insertions(+), 747 deletions(-)